[udig-devel] WFS using an EPSG code unknown to uDig 1.1

Janis Viklis janis at kartes.lv
Wed Oct 3 11:40:59 PDT 2007


In this case, "100004" is just manually entered EPSG number in 
Geoserver's epsg.properties.
But that projection definition, which corresponds to 100004 in my case, 
was taken from the .prj file, I attached earlier.

In reality, the projection is LKS92. But I don't know, why uDig does not 
"understand it". So did also the geoserver, so I added it by the hand 
(with the help from Justin Deoliveira).

In uDIG, there is two types of LKS92 in the list.. but setting them, 
does not helps..

-- 
Janis Viklis
IT department director
"Jana seta map publishers"
http://www.kartes.lv
Tel.: +371 6 7317540
Fax.: +371 6 7317541
Mob.: +371 2 9127952
mailto:janis at kartes.lv
skype:janisviklis 



Jody Garnett wrote:
> Janis Viklis wrote:
>> hi!
>>
>> When I try to view a map in uDIG from WFS layer:
>> http://www.kartes.lv:8080/geoserver/wfs?service=WFS&request=GetCapabilities&VERSION=1.0.0#topp:jel_ielas_9shp 
>>
>>
>> it does not shows "the map picture". I think, it somehow related to 
>> our projection: LKS_92 (attached it the original .prj file)
>>
>> When I add it to the map from the same server's WMS service - it 
>> renders map picture well.
>> http://www.kartes.lv:8080/geoserver/wms?bbox=475856.22736936854,6271455.164520801,489478.51267282956,6284465.037334055&styles=&Format=application/openlayers&request=GetMap&layers=topp:jel_ielas_9shp&width=800&height=716&srs=EPSG:100004 
>>
>>
>> Can someone help to figure this out?
> Your capabilities document shows the following information for that 
> layer:
>> <FeatureType>
>>   <Name>topp:jel_ielas_9shp</Name>
>>   <Title>jel_ielas_9shp_Type</Title>
>>   <Abstract>Generated from jel_ielas_9shp</Abstract>
>>   <Keywords>jel_ielas_9shp</Keywords>
>>   <SRS>EPSG:100004</SRS>
>>   <LatLongBoundingBox minx="23.616926149022447" 
>> miny="56.59254764803861" maxx="23.818077125964635" 
>> maxy="56.69834701801073"/>
>> </FeatureType>
> The important part is EPSG:100004 - we better hope that maps to the 
> prj file you described in your email.
>
> Checking in uDig 100004 is not a supported projection; to get your map 
> to work we will need to add this projection to uDig. I tried changing 
> the map projection to the one you provided but did not get any joy.
>
> GeoServer is using a more recent version of the epsg database than uDig.
> Jody
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


More information about the udig-devel mailing list