Questions tagged [geodjango]

GeoDjango intends to be a world-class geographic Web framework. Its goal is to make it as easy as possible to build GIS Web applications and harness the power of spatially enabled data.

GeoDjango intends to be a world-class geographic Web framework. Its goal is to make it as easy as possible to build GIS Web applications and harness the power of spatially enabled data.

http://geodjango.org/

1020 questions
0
votes
1 answer

GeoDjango Query Issue

I am newbie in using geodjango, I need to check whether a point is present in a multipolygon layer. For trial I used x = '640744.97964' y = '2498614.18957' p = Point(float(x), float(y), srid=32645) pt=layer.objects.get(the_geom__contains=p) but…
Anju
  • 137
  • 2
  • 10
0
votes
1 answer

Incorrect string value when running GeoDjango tutorial: "Warning: Incorrect string value"

Note: Copying and elaborating upon this question and answer from: https://groups.google.com/forum/?fromgroups=#!topic/django-users/OW_uSWCoObs: Hi, I was trying to go through the GeoDjango tutorial and when I try to import data with LayerMapping I'm…
Dmitry Minkovsky
  • 36,185
  • 26
  • 116
  • 160
0
votes
0 answers

GeoDjango: Geographic query causes segmentation fault

On Django development server with SpatiaLite, I am trying to do a basic geographic query: Location.objects.filter(geom__within=loc.geom) This causes a Segmentation error and the server dies. loc is an instance of the Location model: from…
0
votes
3 answers

json to geoDjango model

I am building a database using Django, geodjango and postgresql of field data. The data includes lats and lons. One of the tasks I have is to ingest data that has already been collected. I would like to use .json file to define the metadata and…
Caustic
  • 940
  • 3
  • 12
  • 29
0
votes
1 answer

django-evolution doesn't work with django.contrib.gis.db.backends.postgis

I can't run "./manage.py evolve --hint --execute" for my GeoDjango project. It exits with error: File "/home/viktor/.virtualenvs/senv/lib/python2.6/site-packages/django_evolution-0.6.7-py2.6.egg/django_evolution/db/__init__.py", line 18, in …
duke_nukem
  • 647
  • 2
  • 9
  • 16
0
votes
1 answer

GeoDjango - How to present points on a map?

Simple 'Example' - have millions of points within specific geography. Have everything loaded and able to see in GeoAdmin the whole 9 yards. So. How do I show all points on a map - and base it on zoom level? Are there any simple examples out there?
Bo.
  • 3
  • 3
0
votes
1 answer

GeoDjango: Clustering of large number of markers

Hi Stackoverflow people, I started using GeoDjango and I was very happy when I came across the Google map v2 implementation django.contrib.gis.maps.google.overlays. Not the newest anymore, since v2 is depreciated, but still a very compact tools to…
neurix
  • 4,126
  • 6
  • 46
  • 71
0
votes
1 answer

GeoDjango: 'No such file or directory' when creating PostGIS spatial database template

I am working on MacOS Lion. I have successfully set up the KyngChaos libraries for Postgres and PostGIS, as per the official instructions with no problems. I've reached the section on creating a spatial database template, and now I'm hitting a…
flossfan
  • 10,554
  • 16
  • 42
  • 53
0
votes
1 answer

Unable to create spatial database for geodjango on Mac OS X

I am trying to install PostGIS for MacOS X and uptil now this is what i got PostGIS is now configured for x86_64-apple-darwin10.8.0 -------------- Compiler Info ------------- C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 …
Sam007
  • 8,397
  • 4
  • 24
  • 34
-1
votes
1 answer

Is there any python method that is able to extract value of key between [ ] sign in a long string?

I am using geodjango ,and i would extract the value of "EPSG" from the long string returned from a code as below: PROJCS["WGS_1984_UTM_Zone_42N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS…
Alae Tube
  • 1
  • 1
-1
votes
1 answer

GeoDjango Admin how to populate a GeometryField from a file upload?

I have a project that uses GeoDjango to store GPS routes. The geometry is stored in a GeometryField. This works great when data is imported with geospatial information, but it is frustrating when I have a model which needs user-supplied data. I…
Travis Prescott
  • 407
  • 2
  • 8
-1
votes
1 answer

I am unable to download the OSGEO4w installer from its official site

Every time I try to click on the link to download it on the page (this is the link I am trying to donwload it from.) But when I try to download it from the list of all the older versions I get a huge list of options and I dont know which to download…
-1
votes
1 answer

No idea what SpatiaLite is, and how to get it

I'm trying to get SpatiaLite, because I need it for this https://pythonrepo.com/repo/caioariede-django-location-field--python-django-utilities I have read this, but no idea what all that stuff means. How do I install SpatiaLite on MacOS?
AnonymousUser
  • 690
  • 7
  • 26
-1
votes
1 answer

Which Web-Mapping Tool to use to create Interactive Web-Gis

i am planning to create a web-gis application. Different raster and vector data will be displayed on a basemap (which will be stored in geoserver / postgis). The user will be able to define a time interval / scenario etc. (so query options will be…
-1
votes
1 answer

Pass a list to geodjango multipolygon lookup

I have a list of points like following: points_list = [, ] Now I want to use this list to filter on a MultipolygonField. I can't pass this whole list to the multipolygon lookup because…
Hasan
  • 57
  • 7
1 2 3
67
68