Re: GeoDjango Hosting

2023-11-16 Thread 'ch...@routh.io' via Django users
Sorry but this sounds like a problem with the user. DO has dedicated node types if you look through the catalog. On Thursday, 16 November 2023 at 07:39:18 UTC-8 Sebastian Jung wrote: > No no please don't go to digital ocean.. > I know many people how have much problems... No dedicated cpu.. no

Re: GeoDjango Hosting

2023-11-16 Thread 'ch...@routh.io' via Django users
Linode or Digital Ocean or Vultr Deploy vanilla linux and get your hands dirty, or use a one click deploy of a familiar stack like Cpanel and then modify the host as you like. And once you're on one of these providers if you want to move to containers or leverage object storage or managed dat

Re: GeoDjango Hosting

2023-11-16 Thread Sebastian Jung
No no please don't go to digital ocean.. I know many people how have much problems... No dedicated cpu.. no fix ressources... No go... IKT Service schrieb am Do., 16. Nov. 2023, 16:35: > Try digital Ocean > > tor. 16. nov. 2023 kl. 15:17 skrev Ernest Okiya : > >> Hello. GCP will work best for y

Re: GeoDjango Hosting

2023-11-16 Thread IKT Service
Try digital Ocean tor. 16. nov. 2023 kl. 15:17 skrev Ernest Okiya : > Hello. GCP will work best for you. Try it out > > On Thu, 16 Nov 2023, 02:46 lone...@gmail.com, wrote: > >> Hello all, >> >> I am looking for a webhosting service that allows me to install qgis >> software packages on the

Re: GeoDjango Hosting

2023-11-16 Thread Ernest Okiya
Hello. GCP will work best for you. Try it out On Thu, 16 Nov 2023, 02:46 lone...@gmail.com, wrote: > Hello all, > > I am looking for a webhosting service that allows me to install qgis > software packages on the webhost. My preferred hosts are either Ubuntu or > Debian. Anyone know of any

Re: GeoDjango Hosting

2023-11-15 Thread Sebastian Jung
Hello, Take a VPS when you don't need hugh amount of ressources. We have in germany netcup atarts with 3,25€ with 40 GB ssd and you can install every OS what you want or when you need much more ressources then a root server with dedicate CPU. Starts from around 10€ per month with 4 high end cores,

Re: GeoDjango Hosting

2023-11-15 Thread OSP PRO
create account with https://osphosting.com On Thu, Nov 16, 2023 at 2:46 AM lone...@gmail.com wrote: > Hello all, > > I am looking for a webhosting service that allows me to install qgis > software packages on the webhost. My preferred hosts are either Ubuntu or > Debian. Anyone know of any

Re: GEODJANGO Problem/Question

2022-05-11 Thread Steve Watts
Update - I did manage to get the vast majority of the features to load - still missing 7,000/1,462,918 that showed errors during the LayerMapping process. I see a lot of "An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block." so I suspect t

Re: GeoDjango with SpatialLite on Windows 10

2021-08-15 Thread Tugg Speedman
OK, I got it. As it turns out, GDAL has everything you need, including the SQLite database. There is only one important fact, you have to load the DLL prior Django loads his SQLite. Because Django loads the one from Python it self. Therefore i did put the necessary code into the settings.py. Be

Re: GeoDjango with SpatialLite on Windows 10

2021-08-12 Thread Michael Ross
On Thu, 12 Aug 2021 04:15:57 -0700 (PDT) Tugg Speedman wrote: > > Hello everyone, > > I'm new to GeoDjango and therefore I tried to follow the tutorial > (https://docs.djangoproject.com/en/3.2/ref/contrib/gis/tutorial/) first. > But the problem is, it doesn't work with SQLite a.k.a SpatialLit

Re: GeoDjango with MySQL8

2020-05-25 Thread Tim Graham
Hi, you might have better luck getting an answer on the GeoDjango mailing list: https://groups.google.com/forum/#!forum/geodjango On Monday, May 25, 2020 at 11:06:26 AM UTC-4, Utkarsh Bansal wrote: > > I am facing problems while trying to use GeoDjango (v2.2) with MySQL 8.0.19 > > I created a new

Re: geodjango raster field get pixel value

2018-10-08 Thread Pradeep Singh
there is no effect...i am facing these problem many days On Mon, 8 Oct 2018 at 04:08, 'Vinod Kumar' via Django users < django-users@googlegroups.com> wrote: > replace below code in urls.py > > > from django.contrib import adminfrom django.urls import include, path > > from testapp import views >

Re: geodjango raster field get pixel value

2018-10-08 Thread 'Vinod Kumar' via Django users
replace below code in urls.py from django.contrib import adminfrom django.urls import include, path from testapp import views urlpatterns = [ path('hello/', views.welcome), path('admin/', admin.site.urls),] On Mon, Oct 8, 2018 at 4:33 PM Vinod Kumar wrote: > replace url(welcome.view

Re: geodjango raster field get pixel value

2018-10-08 Thread 'Vinod Kumar' via Django users
replace url(welcome.views ) into your-app-name.views.funtion in your case replace url path *welcome.views* into *testapp.views.welcome* On Mon, Oct 8, 2018 at 4:25 PM Pradeep Singh wrote: > brother please help why i am getting django 404. > > On Mon, 8 Oct 2018 at 16:24, Pradeep Singh

Re: geodjango raster field get pixel value

2018-10-08 Thread Pradeep Singh
brother please help why i am getting django 404. On Mon, 8 Oct 2018 at 16:24, Pradeep Singh wrote: > > > On Mon, 8 Oct 2018 at 16:23, Pradeep Singh wrote: > >> >> >> On Mon, 8 Oct 2018 at 16:23, Pradeep Singh wrote: >> >>> >>> >>> On Sun, 7 Oct 2018 at 04:11, Majid Hojati wrote: >>> >

Re: geodjango raster field get pixel value

2018-10-07 Thread Majid Hojati
try to config your urls.py correctly On Saturday, October 6, 2018 at 9:14:33 PM UTC+3:30, Pradeep Singh wrote: > > when i sendind request always m getting django 404 error can you help me > ..nd please tell me how to fix it > > On Sat, 6 Oct 2018 at 10:42, Pradeep Singh > wrote: > >> i don't k

Re: geodjango raster field get pixel value

2018-10-06 Thread Pradeep Singh
when i sendind request always m getting django 404 error can you help me ..nd please tell me how to fix it On Sat, 6 Oct 2018 at 10:42, Pradeep Singh wrote: > i don't know, i hava a problem can you solve this . > > On Sat, 6 Oct 2018 at 10:09, Majid Hojati wrote: > >> [image: Boxbe]

Re: geodjango raster field get pixel value

2018-10-06 Thread Pradeep Singh
i don't know, i hava a problem can you solve this . On Sat, 6 Oct 2018 at 10:09, Majid Hojati wrote: > [image: Boxbe] This message is eligible > for Automatic Cleanup! (asd5...@gmail.com) Add cleanup rule >

Re: Geodjango Error

2018-10-03 Thread VAIBHAV GUPTA
Still I am not able to get what path should I set so that GDAL could run. On Wednesday, October 3, 2018, heriberto ochoa wrote: > In the path of Anaconda3 where stay python, or in el path default in case > of use the traditional installation of python > > El martes, 2 de octubre de 2018, 13:53:4

Re: Geodjango Error

2018-10-02 Thread heriberto ochoa
In the path of Anaconda3 where stay python, or in el path default in case of use the traditional installation of python El martes, 2 de octubre de 2018, 13:53:41 (UTC-6), VAIBHAV GUPTA escribió: > > It is installed automatically at that location. I didn't specified any > location. > So accordin

Re: Geodjango Error

2018-10-02 Thread VAIBHAV GUPTA
It is installed automatically at that location. I didn't specified any location. So according to you, where should I install this GDAL? On Wed, Oct 3, 2018 at 12:48 AM heriberto ochoa wrote: > The problem can be with Anaconda3, you installed GDAL in the path of > Anaconda3 or in the path de oth

Re: Geodjango Error

2018-10-02 Thread heriberto ochoa
The problem can be with Anaconda3, you installed GDAL in the path of Anaconda3 or in the path de other path of python?, the path of GDAL have all .dll file required El martes, 2 de octubre de 2018, 5:26:16 (UTC-6), VAIBHAV GUPTA escribió: > > Yaa I got the error as what you (Michal Petrucha) sta

Re: Geodjango Error

2018-10-02 Thread VAIBHAV GUPTA
Yaa I got the error as what you (Michal Petrucha) stated about that the path of GDAL_LIBRARY_PATH that I had given was of Linux. Now I changed the path (given below) according to the windows OS , still the problem is not resolved. GDAL_LIBRARY_PATH = 'C:\\Users\\gaurav\\Anaconda3\\Lib\\site-pack

Re: Geodjango Error

2018-10-01 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Oct 01, 2018 at 03:02:18PM -0700, vaibhav.gupta_c...@gla.ac.in wrote: > I have installed PROJ4, GDAL and GEOS libraries using OSGeo4W installer > . But the problem is with GDAL library. > Earlier there was a

Re: Geodjango Error

2018-10-01 Thread heriberto ochoa
try this installation https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows or this http://www.sigdeletras.com/2016/instalacion-de-python-y-gdal-en-windows/ El lun., 1 de oct. de 2018 4:02 p. m., escribió: > I have installed PROJ4, GDAL and GEOS libraries using OSGeo4W ins

Re: Geodjango Error

2018-10-01 Thread vaibhav . gupta_cs16
On Tuesday, October 2, 2018 at 3:32:18 AM UTC+5:30, vaibhav.g...@gla.ac.in wrote: > > I have installed PROJ4, GDAL and GEOS libraries using OSGeo4W installer > . But the problem is with GDAL library. > Earlier there was an error showing :- > django.core.excepti

Re: Geodjango Error

2018-10-01 Thread vaibhav . gupta_cs16
I have installed PROJ4, GDAL and GEOS libraries using OSGeo4W installer . But the problem is with GDAL library. Earlier there was an error showing :- django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal202", "gdal201", "gdal20

Re: Geodjango Error

2018-10-01 Thread heriberto ochoa
Could it be that it does not find a .dll file, what libraries do you use? El lun., 1 de oct. de 2018 11:17 a. m., escribió: > Currently, I am working on Geodjango. I have gone through all the > procedures written in > https://docs.djangoproject.com/en/2.1/ref/contrib/gis/install/#requirements >

Re: geodjango wrong srid when it saves feature

2018-05-23 Thread Majid Hojati
in fact I tried this and problem solved I have no idea why this happened geom_t = feat.geom.transform(wgs84, clone=True) geom= GEOSGeometry(geom_t.wkt,4326) On Wednesday, May 23, 2018 at 7:54:46 PM UTC+4:30, Daniel Germano Travieso wrote: > > Hello! > > You should probably use the LineString fr

Re: geodjango wrong srid when it saves feature

2018-05-23 Thread Daniel Germano Travieso
Hello! You should probably use the LineString from django.contrib.gis.geos to store Geo objects on the database Hope it helps. *[]'s* *Daniel Germano Travieso* *Engenharia da Computação Turma: 013* *Unicamp* On Wed, May 23, 2018 at 11:54 AM, Majid Hojati wrote: > Hi, > I tried to read data fr

Re: GeoDjango GDAL Slice Error in layer.py

2018-01-13 Thread Jason
Are you able to access any features in the layer? eg, the snippet above the one that gives you the error >>> for feat in lyr: ...print(feat.get('NAME'), feat.geom.num_points) On Friday, January 12, 2018 at 5:37:10 PM UTC-5, Justin Johnson wrote: > > > > I'm completely new to GeoDjang

Re: GeoDjango GIS Model Fieldset Usage

2018-01-10 Thread Jani Tiainen
Hi, Apparently you have mistaken what GeoDjango is. GeoDjango is a GIS framework, that is it deals with (usually) real world coordinates. And in most cases coordinates are 3D. Two well known coordinate systems are WGS84 (GPS uses this) and second one is Google Transverse Mercator. GIS is u

Re: GeoDjango GIS Model Fieldset Usage

2018-01-10 Thread Shazia Nusrat
For Instance...lets say I need to let customer calculate Azimuth for the home roof with ModelForm. Its not a simple one single direction. If you can do it let me know with example. Regards, Shazia. On Wed, Jan 10, 2018 at 11:30 PM, Jani Tiainen wrote: > Hi. > > So what is your actual problem? >

Re: GeoDjango GIS Model Fieldset Usage

2018-01-10 Thread Jani Tiainen
Hi. So what is your actual problem? 11.1.2018 3.04 "Shazia Nusrat" kirjoitti: > Hi, > > I need quick help about using the fields in the following model: > > class Size(models.Model): >azimuth = models.CharField(max_length=200, blank=True, null=True) >tilt = models.CharField(max_length=2

Re: GeoDjango: strip z dimension; force 2D

2017-08-25 Thread Rukaya Johaadien
I did the following: from django.contrib.gis.geos import GEOSGeometry, WKTWriter wkt_w = WKTWriter() wkt_w.outdim = 2 # This sets the writer to output 2D WKT polygon = GEOSGeometry(json.dumps(item['geometry'])) # The 3D geometry temp = wkt_w.write(polygon) polygon = GEOSGeometry(temp) # The 3D ge

Re: GeoDjango

2017-03-26 Thread Alex Mandel
I'll add that you could also use Geonode http://geonode.org/ which is a Django front-end to a Geoserver instance. I've also run Tilestache directly on GeoDjango tables stored in Postgis to generate TMS style services. Enjoy, Alex PS: GeoDjango has it's own mailing list. On 03/20/2017 01:05 AM,

Re: GeoDjango

2017-03-25 Thread Derek
GeoServer allows you to serve multiple formats for a WFS (not just GeoJSON) - see http://docs.geoserver.org/latest/en/user/services/wfs/outputformats.html You also can't generalise about a WFS vs a WMS in terms of time - there are many instances where its much more efficient to serve vector dat

Re: GeoDjango

2017-03-25 Thread Suresh Nimbalkar
In this example, the author is simply using GeoServer to serve WFS layer (i.e. GeoJSON layer) to Leaflet. You can serve GeoJSON layers without the need of GeoServer. Any map based on GeoJSON data takes considerable time to load as against map based on WMS (i.e. image). Hence, this example is of

Re: GeoDjango

2017-03-20 Thread Jani Tiainen
Hi, There are several options how to actually server maps. Few simplest options are running seperate server that serves maps like MapServer, GeoServer or Mapnik. Of course if you want to serve maps from Django directly that maybe tricky. That django-wms package seems to leverage MapServer ma

Re: GeoDjango

2017-03-20 Thread Derek
One option is to use Geoserver on the backend to manage your spatial data (in files or databases), and then to serve this via Django. See: https://www.youtube.com/watch?v=rU_Jh6RcY24 On Saturday, 18 March 2017 15:21:55 UTC+2, sbrunel62 wrote: > > Hello, > > I’m new on GeoDjango, I need to know

Re: GeoDjango

2017-03-18 Thread Samuel Brunel
Thanks a lot, WMS is Web Map Server like MapServer (http://www.mapserver.org). I think django-wms provides the service I need. > On 18 Mar 2017, at 14:35, Tim Graham wrote: > > What's WMS? Is this package relevant https://django-wms.readthedocs.io/ ? > (found with a web search for "geodjang

Re: GeoDjango

2017-03-18 Thread Tim Graham
What's WMS? Is this package relevant https://django-wms.readthedocs.io/ ? (found with a web search for "geodjango wms") p.s. There's a geodjango mailing list that might be more useful for future questions: https://groups.google.com/forum/#!forum/geodjango On Saturday, March 18, 2017 at 9:21:55

Re: Geodjango layermapping utility

2017-01-23 Thread jbanting
Replacing lines 92-96 in layermapping.py with if isinstance(data[0], six.string_types): self.ds = DataSource(data[0], encoding=encoding) else: self.ds = data self.layer = self.ds[layer] worked for me. -- You received this message because you are subscribed to the Google Groups "Django

Re: Geodjango layermapping utility

2017-01-23 Thread jbanting
It seems like layermapping.py is not seeing the data as an instance of six.string_types and therefore doesn't build a GDAL Datasource from it. Line 92-96 of contrib\gis\utils\layermaping.py if isinstance(data, six.string_types): self.ds = DataSource(data, encoding=encoding) else: self.ds = d

Re: GeoDjango: Filter by Area

2016-12-22 Thread Sanjay Bhangar
On Wed, Dec 21, 2016 at 10:08 PM, Tim Graham wrote: > If you don't get an answer here, you can also ask on the geodjango list: > https://groups.google.com/forum/#!forum/geodjango. > > Will do. Thanks Tim, you're the best! -- You received this message because you are subscribed to the Google Gro

Re: GeoDjango: Filter by Area

2016-12-21 Thread Tim Graham
If you don't get an answer here, you can also ask on the geodjango list: https://groups.google.com/forum/#!forum/geodjango. On Monday, December 19, 2016 at 6:59:43 AM UTC-5, Sanjay Bhangar wrote: > > Hey folks, > > I am trying to use the 'Area' function documented here: > https://docs.djangoproj

Re: GeoDjango: strip z dimension; force 2D

2016-12-19 Thread a . grandi
Hi, not sure if I did the right thing or not, but I just altered the table in this way https://github.com/alphagov/land-availability-api/pull/20/files#diff-f8cf5fd1898b907b7e7cc07dcc455602R15 (yes, the code is opensource!) because I've also noticed that GeoDjango doesn't have an equivalent of

Re: GeoDjango: strip z dimension; force 2D

2016-12-19 Thread George Silva
There is a way to coerce the input to 2d. It's not pretty, but it works. from django.contrib.gis.geos.prototypes.io import wkt_w wkt = wkt_w(dim=2).write(input_geom).decode() geom = GEOSGeometry(wkt, srid=4674) Imagine that you get input_geom from somewhere. In our case it was coming from a KML u

Re: GeoDjango: strip z dimension; force 2D

2016-12-19 Thread a . grandi
Jason: when you say create 2 geometry types one with 2 dimensions etc... how do you specify how many dimensions to have? Because I created the field in this way: geom = models.MultiPolygonField(geography=True, spatial_index=True) and let the Django migration do the job, but I don't know how to

Re: GeoDjango with Docker

2016-12-01 Thread Tadeo C
Wow! Your posts looks amazingly detailed and comprehensive. I'm going to follow them careful. I can use Ubuntu for the meanwhile, no problem. Thank you very much for sharing this worthy material! On Thursday, December 1, 2016 at 12:52:52 PM UTC-3, hunter...@gmail.com wrote: > > Hi Tadeo, I've r

Re: GeoDjango + PostGIS Docker Stack

2016-12-01 Thread Tadeo C
I'm sorry I reposted this question because I could not find the previous one. Thanks for the answers! On Thursday, December 1, 2016 at 2:41:06 PM UTC-3, Tadeo C wrote: > > Hi, I'm trying to setup a stack of Docker containers (GeoDjango + PostGIS > + Nginx) to develop a GeoDjango application, pre

Re: GeoDjango with Docker

2016-12-01 Thread Dan Tagg
Cookie cutter is pretty awesome. Don't know whether it works with GeoDjango though. https://github.com/pydanny/cookiecutter-django Dan On 1 December 2016 at 13:32, hunter.cur...@gmail.com < hunter.cur...@gmail.com> wrote: > Hi Tadeo, I've recently gone through this exercise myself, and document

Re: GeoDjango with Docker

2016-12-01 Thread hunter.cur...@gmail.com
Hi Tadeo, I've recently gone through this exercise myself, and documented my progress in three posts: https://geoanalytic.github.io/a-production-ready-web-mapping-toolkit-part-1/ https://geoanalytic.github.io/a-production-ready-web-mapping-toolkit-part-2/ https://geoanalytic.github.io/a-production

Re: GeoDjango with Docker

2016-12-01 Thread Jani Tiainen
Hi, Basically what you need is to pick base distro you want to use. Installing PostGIS package usually brings in all the spatial libs Django expects so you're covered by that part. The rest is just putting Django served from your container. So there is not much stuff involved. On 30.11.201

Re: GeoDjango with Docker

2016-12-01 Thread Reza Shalbafzadeh
Hi Tadeo GeoDjango is very similar to Django and you can modify existing Django dockerfiles to build your own images have a look at this links realpython django docker example postgis django dockerfile (outdated

Re: GeoDjango has few problems on Django 1.11-dev version

2016-09-13 Thread Satish
Thanks Tim! Will note your suggestion for future posts. On Tuesday, 13 September 2016 20:53:31 UTC+5:30, Tim Graham wrote: > > Thanks, I accepted the ticket you created. Next time, please don't reach > out for help in multiple channels since it increases the chance that > multiple people will d

Re: GeoDjango has few problems on Django 1.11-dev version

2016-09-13 Thread Tim Graham
Thanks, I accepted the ticket you created. Next time, please don't reach out for help in multiple channels since it increases the chance that multiple people will duplicate effort investigating the issue. https://code.djangoproject.com/ticket/27217 On Tuesday, September 13, 2016 at 11:00:15 AM

Re: GeoDjango has few problems on Django 1.11-dev version

2016-09-13 Thread Tim Graham
I'm not aware of any bugs or regressions. Could you provide a sample project that we can use to reproduce that issue? Does you have the same issue with older versions of Django? On Tuesday, September 13, 2016 at 9:23:38 AM UTC-4, Satish wrote: > > Hi, > > Am a starting a new Django project, I ch

Re: GeoDjango and Google Maps

2016-07-02 Thread Sergiy Khohlov
Hello, Django Geo API does not have MapWidget. And this error is expected. List of supported widget is place here : https://docs.djangoproject.com/ja/1.9/ref/contrib/gis/forms-api/ One of the simplest way of the adding map to the page is using leaflet library which is nice supported. I'm usi

Re: geodjango error

2016-06-16 Thread Xristos Xristoou
Τη Πέμπτη, 16 Ιουνίου 2016 - 11:52:55 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > > hello i want to use geos for one project. > i have install successful gdal and leaflet and djgeojson. > i try to open manage.py and show me that error : > > point import sqlite3_create_function_v2 not > find

Re: GeoDjango: strip z dimension; force 2D

2016-03-08 Thread Jason
I had a similar issue when uploading a kml to geojson conversion to postgis using geodjango. There is no efficient way to do it in Django, so I ended up doing a workaround - Create two geometry types, one with dims=2 and other with dims=3. Allow both to be null and set default to null

Re: GeoDjango: strip z dimension; force 2D

2016-03-07 Thread Alex Mandel
1. There a GeoDjango sublist, better place to ask. 2. Strip out the Z when doing the database import, you don't say which db backend your're using. 2a. If you can't do it on import than do it with an update query. http://gis.stackexchange.com/questions/78142/how-can-i-strip-out-z-values-in-postgis

Re: geodjango application in rhel 6

2014-11-12 Thread Collin Anderson
Hello, It could help to post a traceback if you are still running into the problem. Thanks, Collin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users

Re: GeoDjango/PostGIS installation issues

2014-06-27 Thread Alex Mandel
On 06/27/2014 02:13 PM, Alex Mandel wrote: > On 06/27/2014 01:47 PM, Ben Dean wrote: >> I'm stymied on installing GeoDjango with Postgres9.3 on Ubuntu. I've posted >> the details here >> , >> >> so any help

Re: GeoDjango/PostGIS installation issues

2014-06-27 Thread Alex Mandel
On 06/27/2014 01:47 PM, Ben Dean wrote: > I'm stymied on installing GeoDjango with Postgres9.3 on Ubuntu. I've posted > the details here > , > > so any help would be appreciated and I can promise you all th

Re: Geodjango and Python 3.3

2014-03-27 Thread Sam Lai
Hmm, you might be right Alex. I set up the virtualenv with all that a while ago and I've just been copying the geo-related DLLs for new environments. On 27 March 2014 11:27, Alex Mandel wrote: > You might get more responses on the GeoDjango mailing list: > geodja...@googlegroups.com > > I agree t

Re: Geodjango and Python 3.3

2014-03-26 Thread Alex Mandel
You might get more responses on the GeoDjango mailing list: geodja...@googlegroups.com I agree the basic libraries probably all work. Are you sure you used OSGeo4w with Python3? OSGeo4w ships 2.7.x, so unless the GDAL and GEOS wrappers also work with Python3 that sounds odd. pypi page makes it lo

Re: Geodjango and Python 3.3

2014-03-25 Thread Sam Lai
I'm developing a site using Python 3.3, Django, Geodjango and PostgreSQL. It is a bit tricky getting all the libraries to work, but the stack does work. I installed GEOS using OSGeo4W, but I had to explicitly specify the GEOS_LIBRARY_PATH and GDAL_LIBRARY_PATH in settings.py. On 25 March 2014 23:2

Re: [GeoDjango] Re: "Beginning Geo Django: Rich Gis Web Applications With Python" Where can I get the book?

2014-03-19 Thread Michael Savarese
That's a good book for all things GIS/Python as well as a GeoDjango example. These links may help out also. They use Leaflet instead of the GeoDjango built-in OpenLayers https://github.com/makinacorpus/django-leaflet http://blog.mathieu-leplatre.info/geodjango-maps-with-le

Re: Geodjango and Kriging

2013-09-09 Thread Derek
As Stefano said - "not really". GeoDjango is more designed around data storage and display, and not processing. There is an interesting discussion here: https://groups.google.com/forum/#!topic/scipy-user/3wrplHcl9YY and a potential library here: http://hpgl.aoizora.org/ Derek On Saturday, 7 Se

Re: Geodjango and Kriging

2013-09-07 Thread Alex Mandel
On 09/06/2013 03:51 PM, Matthew Scotch wrote: > Hi, > > I am new to geodjango and was wondering if it has an API for kriging? > So far I have not been able to find anything. > Thanks, > Matthew > Not really, but you can tie into plenty of backends that give you kriging ability (Pass data from ge

Re: Geodjango on Windows issue

2013-05-27 Thread Angel Vittorio Lopez Robles
Hi Danny, I'm having the same issue, I tried with virtual environments and didn't work, did you find something to fix it? appreciate it. On Tuesday, August 7, 2012 11:23:55 AM UTC-6, Danny Im wrote: > > Hello all, > > I'm hoping to get some assistance on this. > > Issue: > A user can upload a sh

Re: GeoDjango annotate distance

2012-12-14 Thread Chris Cogdon
Just did a cursory read of the geodjango documentation for the first time...the querysets being returned from "all()" (or really, just objects) need to be GeoQuerySets which have a default "position" as part of their specification (I think), also such modules need to inherit from the geo versio

Re: Geodjango Tutorial: SRID problem when loading data from shapefile to PostGIS table

2012-09-27 Thread David Gomez
I'm having the same issue. I see that you say that you change the postgress manually. Can you tell me where can I find that file. I'm new with django. Thanks On Monday, October 17, 2011 5:06:39 PM UTC-4, Pauline Emery wrote: > > Dear all, > > I'm having a problem doing the section "LayerMapping"

Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
but what u sayin is possible seems to be exactly what i want to do -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/43S6ZQ_viHkJ. To post to this group, send

Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
I think the problem is how do i do this whr do i get infor on how to do it, thsi server -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/akOd33EuxG8J. T

Re: GeoDjango and shapefiles

2012-09-25 Thread Jani Tiainen
25.9.2012 11:53, Coulson Thabo Kgathi kirjoitti: can geoDjango produce maps offline though, because i am trying to have an app that shows locations of places using markers on the map. OFFLINE WITHOUT INTERNET -- You received this message because you are subscribed to the Google Groups "Django us

Re: GeoDjango and shapefiles

2012-09-25 Thread Coulson Thabo Kgathi
can geoDjango produce maps offline though, because i am trying to have an app that shows locations of places using markers on the map. OFFLINE WITHOUT INTERNET -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: GeoDjango and shapefiles

2012-09-20 Thread Jani Tiainen
20.9.2012 17:36, Coulson Thabo Kgathi kirjoitti: Hi guys i want to use geodjango for an application that gives map locations but offline using shapefiles and geodjango, any information that i can be refered to would be appreciated. I dont want to use google maps because its wil be used offline t

Re: GeoDjango and shapefiles

2012-09-20 Thread George Silva
Hi Coulson, GeoDjango is just Django. You can write an application that checks upon initialization which type of environment it's located and then you can set the DATABASES property on settings.py. Using the technique I've told you above, you can store GIS data in two databases (for web applicati

Re: GeoDjango on Bitnami DjangoStack problems

2012-06-12 Thread victoria
On Sat, Jun 9, 2012 at 12:14 AM, jstratm wrote: > I posted this over at bitnami too, but perhaps the issue is not with > the stack and is simply a general user error (highly likely!) > > I have been struggling now for about two days to get a GeoDjango/ > PostGIS project started.  Sorry to say, I a

Re: GeoDjango distance queryset filter with distance value stored within model

2012-03-04 Thread Jani Tiainen
I think you can only achieve that currently by using queryset extra() method. You should open a ticket and preferably create a standard geodjango testcase for that. It could be also possible that not all gis backends support that kind of a behavior. On Sat, Mar 3, 2012 at 6:47 PM, Daniel Gerzo w

Re: GeoDjango - Error while importing data

2012-01-27 Thread Jeff Heard
you are using Postgres 9.1 There is a bug in the adapter for 9.1. It is addressed and fixed with this patch: https://code.djangoproject.com/ticket/16778 On Mon, Jan 16, 2012 at 2:52 AM, Serge RABEVOHITRA < serge.rabevohi...@gmail.com> wrote: > Hi, > > I've just begun to learn GeoDjango. So I f

Re: GeoDjango Use

2011-08-17 Thread Ovnicraft
On Wed, Aug 17, 2011 at 1:06 PM, Dan H wrote: > how would I use geodjango to store geographic data in just one table > of my database? can you import it as another app in a django project? > or how would that work? > Geodjango is active by default, you just need inherit from correct class and yo

Re: GeoDjango Use

2011-08-17 Thread Andre Terra
http://geodjango.org/presentations/ On Wed, Aug 17, 2011 at 3:06 PM, Dan H wrote: > how would I use geodjango to store geographic data in just one table > of my database? can you import it as another app in a django project? > or how would that work? > > -- > You received this message because yo

Re: GeoDjango admin and data reprojection

2011-01-22 Thread ckar...@googlemail.com
Why you quote your SRID? AFAIK it should be an integer. Post your questing in the GeoDjango mailing list again. On 21 Jan., 13:06, Luca Casagrande wrote: > Hello everybody, > I have simple model defined like this: > class point(models.Model): >     geom = models.PointField(srid='3004') >     obje

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-09-01 Thread Reinout van Rees
On 08/30/2010 04:14 PM, kyleduncan wrote: Hi, thanks for the tips! to answer your questions: 1. our model doesnt specify a coordinate system, it just saves the lat and lng that are returned from google maps. 2. i thought transforming had to be done to make a lat/lng point "spatial" before dista

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-30 Thread kyleduncan
Hi, thanks for the tips! to answer your questions: 1. our model doesnt specify a coordinate system, it just saves the lat and lng that are returned from google maps. 2. i thought transforming had to be done to make a lat/lng point "spatial" before distance was calculated. have i got that wrong? 3

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-30 Thread Reinout van Rees
On 08/29/2010 07:45 PM, kyleduncan wrote: Hi all, I am trying to do obtain the distance between two users on my site, using code I found in this group. We already have geoDjango installed, though i'm wondering if my problem comes from being on an old version (i dont know which version we're usin

Re: GeoDjango: default 4326 SRID doesn't work for transform()

2010-08-29 Thread kyleduncan
Sorry, i forgot to mention that this is the model field I am retrieving user's locations from: location = geomodels.PointField(null=True, blank=True) which comes back as: POINT(longitude, latitude) and we are using a PostGreSQL database. On Aug 29, 6:45 pm, kyleduncan wrote: > Hi all, > > I a

Re: geodjango: windows installer for geos dependency?

2010-08-18 Thread Reinout van Rees
On 08/18/2010 08:16 AM, Sam Lai wrote: Quick Google tells me that PostGIS contains GEOS 3.2.0. I know you're not using PostgreSQL, but installing that might do the trick, or if you don't want to pollute your server, you can probably extract it from the setup somehow. http://postgis.refractions.n

Re: geodjango: windows installer for geos dependency?

2010-08-17 Thread Sam Lai
Quick Google tells me that PostGIS contains GEOS 3.2.0. I know you're not using PostgreSQL, but installing that might do the trick, or if you don't want to pollute your server, you can probably extract it from the setup somehow. http://postgis.refractions.net/download/windows/#windbinaries On 18

Re: GeoDjango: Measure distance between two points.

2010-06-13 Thread Tyler Andersen
On Jun 13, 9:56 am, Daniel Hilton wrote: > On 13 June 2010 06:24, Tyler Andersen wrote: > > > I'm trying to figure out how to take two Point objects and determine > > the distance between them. > > > It seems that it is trivial to search the DB (well, provided that I'm > > not using mySQL, which

Re: GeoDjango: Measure distance between two points.

2010-06-13 Thread Daniel Hilton
On 13 June 2010 06:24, Tyler Andersen wrote: > I'm trying to figure out how to take two Point objects and determine > the distance between them. > > It seems that it is trivial to search the DB (well, provided that I'm > not using mySQL, which I am) to filter by distance, however, that's > not wha

Re: Geodjango tutorials?

2010-04-04 Thread Nabil Servais
Le 3 avr. 2010 à 04:16, Benjamin Welton a écrit : > Hey All, > > Im wondering if anyone has some good links to geodjango tutorials (outside > of the main one featured on geodjango.org)? Specifically any related to > Google Map integration (since that subsection appears to be missing in the

Re: Geodjango tutorials?

2010-04-04 Thread Tyler Erickson
Another tutorial: http://linfiniti.com/2009/11/geodjango-tutorial/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+un

Re: Geodjango tutorials?

2010-04-03 Thread Benjamin Welton
Awesome thanks alot derek. Ben derek wrote: On Apr 3, 7:54 pm, derek wrote: On Apr 3, 4:16 am, Benjamin Welton wrote: Hey All, Im wondering if anyone has some good links to geodjango tutorials (outside of the main one featured on geodjango.org)? Specifically any related

Re: Geodjango tutorials?

2010-04-03 Thread derek
On Apr 3, 7:54 pm, derek wrote: > On Apr 3, 4:16 am, Benjamin Welton > wrote: > > > Hey All, > > >     Im wondering if anyone has some good links to geodjango tutorials > > (outside of the main one featured on geodjango.org)? Specifically any > > related to Google Map integration (since that subs

Re: Geodjango tutorials?

2010-04-03 Thread derek
On Apr 3, 4:16 am, Benjamin Welton wrote: > Hey All, > >     Im wondering if anyone has some good links to geodjango tutorials > (outside of the main one featured on geodjango.org)? Specifically any > related to Google Map integration (since that subsection appears to be > missing in the current d

Re: geodjango Point distance

2010-02-07 Thread theiklabs
http://code.google.com/apis/maps/articles/phpsqlsearch.html I know this is php but it does a good job of explaining make sure to test the distance from one point to itself the geometric functions have upper and lower limits Sent from my Verizon Wireless BlackBerry -Original Message- Fro

  1   2   3   >