Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Geodjango: ogrinspect on a Postgis layer? [RSS Feed]

#1 Jan. 28, 2011 11:46:45

Ryan C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Geodjango: ogrinspect on a Postgis layer?


I'm interested in using the ogrinspect command to help build a load.py
file for bringing data from one PostGIS table (in a legacy db) into my
Django project's db. What I can't seem to figure out is how to write the
data source location for a PostGIS layer. Can it be done?

I tried the following:
ogrinspect PG:"dbname=xxx host=xxx port=xxx user=xxx password=xxx"
modelname --mapping
... but that doesn't really make sense since it is pointing to a
database and not just a single layer.

Any advice?

Thanks,
Ryan



--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Geodjango: ogrinspect on a Postgis layer? [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support