Creating database in windows

32 views
Skip to first unread message

Nicholas Perez

unread,
Feb 14, 2014, 12:50:09 PM2/14/14
to django...@googlegroups.com
Hello. I am currently using Django version 1.6.2 trying to learn to use Geodjango on a windows machine.
My issue is that i have followed Geodjango installation for windows to the letter(everything is installed in the default directory). my geodjango folder is on my desktop

As i follow the tutorial it tells me to run this command in my terminal:
createdb -T template_postgis geodjango

how it says that createdb command is not recognized

i skip that downloaded my zip to my world\data folder in my geodjango folder(and by skip i mean continuing to the next instruction)
and run this command: ogrinfo world/data/TM_WORLD_BORDERS-0.3.shp

and it says ogrinfo command is not recognized

Please help out. I would be appreciate it.

Camilo Torres

unread,
Feb 15, 2014, 3:45:30 PM2/15/14
to django...@googlegroups.com
1. createdb is a Postgres utility for the command line. May be you don't have Postgres propertly installed or configured in your system.
2. ogrinfo is an utility from the GDAL project:
may be you don't have it properly installed or configured
Reply all
Reply to author
Forward
Message has been deleted
0 new messages