Skip to content
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

Add srs autodetection to node-srs for sqlite files #638

Open
willwhite opened this issue Aug 18, 2011 · 2 comments
Open

Add srs autodetection to node-srs for sqlite files #638

willwhite opened this issue Aug 18, 2011 · 2 comments
Labels

Comments

@willwhite
Copy link
Contributor

No description provided.

@ghost ghost assigned willwhite Aug 21, 2011
@willwhite
Copy link
Contributor Author

I was working on this in millstone. It's easy to query for the SRID when the user has provided a basic table name, but it's going to be very difficult to determine the geometry table and SRID if the user has entered a complex SQL statement.

Deferring for now.

@springmeyer
Copy link
Member

I think ideally mapnik datasources could provide a function to call like ds.keys() or something which would allow you to gather all the internal data that the plugin has figured out (specific to that datasource). So, in this case, after the ds has been created you could ask it for its geometry table name and its key field, etc to be able to get all the right info to then query for the srs in the geometry_columns table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants