Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Projection WGS 84 as default

> This should be caught at several levels:
> 
>         1) the catalog should warn users during import and flag the
>         catalog entry (the latter will not happen until we improve the
>         catalog)
>         
>         2) On dragging the layer into the map we should perhaps have a
>         warning although this might start getting annoying so maybe we
>         pick one place to have the warnings and stick with that.
>         
>         3) The map should *not* display the map 'projection' as
>         EPSG:4??? It's not going to anyhow. The map will simply be in
>         cartesian coordinates using the values in the shapefile---you
>         wouldn't know what else to do. So it's really the map
> projection descriptor which should show "Cartesian" or "unprojected"
> or something similar.

I completely agree on this with you Adrian, I also went for this once.
The fact seems to be a WFS or some other service problem that forces
this default setting.

Couldn't this be asked at startup or something similar? 
Or could that be set at least as some passed variable or in the
*.ini file? That would be fine to solve with a script or something
alike.

Andrea



> 
> Part of being user-friendly...
> 
> --adrian
> 
> On Wed, 2007-11-07 at 19:10 +0100, Silvia Franceschi wrote:
> > > HIs shapefile does not have a projection file (.prj) so changing
> > > the default map projection to -1 will not help him in this case.
> > Ok, that's right! :-)
> > I didn't understand the he had no prj file.
> > 
> > Usually when I do not have a prj file I create it just copying the 
> > information of the CRS preference for my projection system in a new
> > prj file referred to the shape.
> > 
> > Maybe it will help...
> > 
> > Silvia
> > 
> > 
> > >>>
> > >>> Usually this happens only when the shapefile does not have a 
> > >>> projection file associated with it.
> > >> This is true only if you have selected the -1 value for the
> > >> standard EPSG code in the map preferences, default for uDig is
> > >> the code of the lat-long WGS84 so the all maps with or without
> > >> prj file will be reprojected in this CRS.
> > >>
> > >>> You should be able to view the layer's properties and change
> > >>> the projection on the layer.  Then it should behave correctly.
> > >>> Once you have told uDig what the correct projection for the
> > >>> layer is you can then change the projection for the map.
> > >> Change the map preference projection to -1 and then reimport the 
> > >> shape, it will be redrawn in the correct CRS and all the others 
> > >> shapes you will import will be reprojected in the CRS of the
> > >> first map.
> > >>
> > >>
> > >> Cheers
> > >>
> > >> Silvia
> > _______________________________________________
> > 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


Back to the top