[Geoserver-users] How to apply different projections to data?

Hi all,

I would like to use EPSG:900913 with my data (NavTeq .shp files, which have
been loaded in PostGIS). Geoserver defaults to using EPSG:4326 with the data.

The output images always look the same, despite everything I have tried
(&srs=EPSG:900913, different srs numbers in the FeatureTypes
configuration panel, loading .shp files directly, trying other data sets, etc.).

I need to output .png files.

I am using GeoServer 1.6.5-beta, although I have the same problem
with earlier versions as well. Is this a settings issue? A data config issue?

I am completely new to using Geoserver and GIS. Any help would be appreciated.
Thanks!

Hi Cynthia,

A common problem is that the srid is not set properly in the geometry column of your postgis database (ie, it is equal to -1). If you do a describe on the table does it report back -1 or 4326?

-Justin

Cynthia Kuo wrote:

Hi all,

I would like to use EPSG:900913 with my data (NavTeq .shp files, which have
been loaded in PostGIS). Geoserver defaults to using EPSG:4326 with the data.

The output images always look the same, despite everything I have tried
(&srs=EPSG:900913, different srs numbers in the FeatureTypes
configuration panel, loading .shp files directly, trying other data sets, etc.).

I need to output .png files.

I am using GeoServer 1.6.5-beta, although I have the same problem
with earlier versions as well. Is this a settings issue? A data config issue?

I am completely new to using Geoserver and GIS. Any help would be appreciated.
Thanks!

!DSPAM:4007,4887b467310475219720167!

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

!DSPAM:4007,4887b467310475219720167!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4887b467310475219720167!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin and Daniel,

Thanks for your help last week.

The srid values in the geometry_columns table of my postgis database were set to -1. So, I created a new database and reloaded the .shp files, making sure to set the srid field to 4326. The projections work beautifully.

Thanks again!
Cynthia

On Thu, Jul 24, 2008 at 7:18 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Cynthia,

A common problem is that the srid is not set properly in the geometry column of your postgis database (ie, it is equal to -1). If you do a describe on the table does it report back -1 or 4326?

-Justin

Cynthia Kuo wrote:

Hi all,

I would like to use EPSG:900913 with my data (NavTeq .shp files, which have
been loaded in PostGIS). Geoserver defaults to using EPSG:4326 with the data.

The output images always look the same, despite everything I have tried
(&srs=EPSG:900913, different srs numbers in the FeatureTypes
configuration panel, loading .shp files directly, trying other data sets, etc.).

I need to output .png files.
I am using GeoServer 1.6.5-beta, although I have the same problem
with earlier versions as well. Is this a settings issue? A data config issue?

I am completely new to using Geoserver and GIS. Any help would be appreciated.
Thanks!

!DSPAM:4007,4887b467310475219720167!



This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

!DSPAM:4007,4887b467310475219720167!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4887b467310475219720167!

–
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com