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:[email protected]] 
Sent: Monday, February 13, 2012 4:42 PM
To: Bistrais, Bob
Cc: [email protected]
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: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: Monday, February 13, 2012 4:35 PM
> To: [email protected]
> Subject: mapserver-users Digest, Vol 49, Issue 34
>
> Send mapserver-users mailing list submissions to
>       [email protected]
>
> 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
>       [email protected]
>
> You can reach the person managing the list at
>       [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapserver-users digest..."
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to