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

Pēteris Brūns peteris.bruns at gmail.com
Wed Oct 10 03:40:16 PDT 2007


You ned to define custom projection where y_0=0 not y_0=-6000000. That is
Latvian local distinction call two projections as lks-92 (epsg:3059)   where
diff is in  y_0 value.


pb

On 09/10/2007, Janis Viklis <janis at kartes.lv> wrote:
>
> I don't know the "right" EPSG code. Our projection is EPSG:3059, but
> with only difference in
> "PARAMETER["false_northing", -6000000.0]"
>
> ours is:  "PARAMETER["false_northing", 0.0]"
>
> the point is , that theoretically the correct representation is without
> those -6000000 meters
> (which means pretending, that equator is moved 6000000 meters away from
> real location)
>
>
> --
> 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
>
>
>
> Jesse Eichar wrote:
> > I will update the epsg authority with this information so that the
> > next version will be able to handle this case correctly.  What was the
> > EPSG code again?
> >
> > Jesse
> >
> > On Oct 6, 2007, at 1:33 AM, Janis Viklis wrote:
> >
> >> so, is there some solution, to set the right projection for WFS, if I
> >> have this .prj file?
> >> Or to open "jel_ielas_9shp" directly from PostGIS? (the same results
> >> for now..)
> >>
> >> But if I import the "jel_ielas_9.shp" shapefile directly in uDIG - it
> >> renders the picture..
> >>
> >> Projection data shown at Custom projection tab in uDIG is such:
> >>
> >> PROJCS["LKS_92",
> >>  GEOGCS["GCS_GRS_1980",
> >>    DATUM["D_GRS_1980",
> >>      SPHEROID["GRS_1980", 6378137.0, 298.257222101]],
> >>    PRIMEM["Greenwich", 0.0],
> >>    UNIT["degree", 0.017453292519943295],
> >>    AXIS["Lon", EAST],
> >>    AXIS["Lat", NORTH]],
> >>  PROJECTION["Transverse_Mercator"],
> >>  PARAMETER["central_meridian", 24.0],
> >>  PARAMETER["latitude_of_origin", 0.0],
> >>  PARAMETER["scale_factor", 0.9996],
> >>  PARAMETER["false_easting", 500000.0],
> >>  PARAMETER["false_northing", 0.0],
> >>  UNIT["m", 1.0],
> >>  AXIS["x", EAST],
> >>  AXIS["y", NORTH]]
> >>
> >> --
> >> 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
> >>
> >>
> >> Janis Viklis wrote:
> >>> 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..
> >>>
> >> _______________________________________________
> >> User-friendly Desktop Internet GIS (uDig)
> >> http://udig.refractions.net
> >> http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>



-- 
pb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20071010/fe28c4d5/attachment-0001.html


More information about the udig-devel mailing list