-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass srid to postgis #36
Conversation
…ow a param to ST_MakeEnvelope. The docs speicify that SRID must be passed: http://postgis.org/docs/ST_MakeEnvelope.html
@yuletide Can you take a look at this? |
I'll look into this, might be due to different postgres versions |
I did the research: Version 1.0 Version 1.5 Version 2.0 The difference between version 1.5 and version 2.0 is that in version 2.0 this sentence is added: If no SRID is specified the unknown spatial reference system is assumed. |
Hmmm, if that were the case, then the old code should have worked fine in PostGIS 2.0. Isn't that the version where this was throwing errors on you, though, @eddietejeda? Seems odd. |
+1 On Tuesday, February 12, 2013 at 5:28 PM, Rob Brackett wrote:
|
I am using PostGIS 2.0. I was using EPSG:4326 for my database projection. It might be that certain projection types are not automatically detected. |
|
No description provided.