[mapserver-users] RE: mapserver-users Digest, Vol 49, Issue 34

Bistrais, Bob Bob.Bistrais at maine.gov
Mon Feb 13 14:05:23 PST 2012


I've been using the shapefile loader utility, and it also defaults to an
srs of -1.  I'm not sure of the command line syntax for this command,
after the shapefile name, so I was using the utility.  But entering an
SRS in that box, I still get the same thing in the error message with
the blank parameter.


-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com] 
Sent: Monday, February 13, 2012 4:42 PM
To: Bistrais, Bob
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] RE: mapserver-users Digest, Vol 49, Issue
34

Maybe.  I was just doing a load of a table to test TinyOWS and noticed 
the default is "-1" for shp2pgsql.  So I used the -s option:

shp2pgsql -s 4269 tl_2010_27_place10.shp  public.CensusCities > 
CensusCities.sql

Can you reload the table using an SRID on the commandline?

Best Regards,
Brent Fraser


On 2/13/2012 2:38 PM, Bistrais, Bob wrote:
> Is this a clue?  Looking at the debug, I see the following:
>
> find_srid('','Metwp100Poly','the_geom') )
>
> Notice the first parameter is blank.  What should be there?
>
>
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
> mapserver-users-request at lists.osgeo.org
> Sent: Monday, February 13, 2012 4:35 PM
> To: mapserver-users at lists.osgeo.org
> Subject: mapserver-users Digest, Vol 49, Issue 34
>
> Send mapserver-users mailing list submissions to
> 	mapserver-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.osgeo.org/mailman/listinfo/mapserver-users
> or, via email, send a message with subject or body 'help' to
> 	mapserver-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
> 	mapserver-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapserver-users digest..."
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list