Geodjango documentation improvement
|Reported by:||jose||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I am just starting with Geodjango, so reading the documentation and learning how to set up a GIS environment in PostgreSQL.
In the 'Geodjango installation' page, in the 'Debian' section, you kindly add a shell script to set up everything in the Post-installation notes. Script is 'create_template_postgis-debian.sh'
In line 41 of the script, the if ((GEOGRAPHY)) is failing and returns the next error:
create_template_postgis-debian.sh: 41: create_template_postgis-debian.sh: GEOGRAPHY: not found
I think it will be a good idea to change this line for a more explicit comparison, in order to prevent this error:
if [ $GEOGRAPHY -eq 1 ]
That works better, and is more exact, I guess.
Hope this little tip to be useful. Thanks for your time!
Change History (3)
comment:1 Changed 4 years ago by claudep
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 follow-up: ↓ 3 Changed 4 years ago by claudep
- Keywords gis added
- Resolution set to fixed
- Status changed from new to closed