Re: python and post gis question

2017-06-18 Thread Xristos Xristoou
Τη Παρασκευή, 16 Ιουνίου 2017 - 10:59:10 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > I have create a python script where use post gis queries to automate some > intersection tasks using postgis database. > > in my database I have polygons,points and lines. > > here my

Re: python and post gis question

2017-06-17 Thread Xristos Xristoou
Τη Παρασκευή, 16 Ιουνίου 2017 - 10:59:10 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > I have create a python script where use post gis queries to automate some > intersection tasks using postgis database. > > in my database I have polygons,points and lines. > > here my

python and post gis question

2017-06-16 Thread Xristos Xristoou
I have create a python script where use post gis queries to automate some intersection tasks using postgis database. in my database I have polygons,points and lines. here my snippet code of my script : try: if str(geomtype) == 'point': geomtype = 1

Re: [GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread Heck Lennon
On Monday, May 8, 2017 at 3:45:43 PM UTC+2, Fabien wrote: > Yes, you could also have a look at the excellent libraries: > - Geopandas: http://geopandas.org/ > - Shapely: http://toblerity.org/shapely/manual.html Thank you. I'll see if I can figure out how to do this. -- https://mail.python.org/mai

Re: [GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread Fabien
t;gpxpy" Python module is available, I assume this can be done just with a script instead of an expert application like QGIS… but I know nothing about GIS. Can the above be done with a Python script? Yes, you could also have a look at the excellent libraries: - Geopandas: http://geopandas.

Re: [GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread Heck Lennon
On Monday, May 8, 2017 at 3:06:44 PM UTC+2, Lutz Horn wrote: > > Problem is, files are only country-size, so the number of waypoints is > > overwhelming (Here's the UK for instance**). > > How many is 'overwhelming'? If you click on the screenshot I posted, it looks like thousands of POIs, while

Re: [GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread Lutz Horn
Problem is, files are only country-size, so the number of waypoints is overwhelming (Here's the UK for instance**). How many is 'overwhelming'? Lutz -- https://mail.python.org/mailman/listinfo/python-list

[GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread Heck Lennon
ie's list for a given country, 3) filter that list to only keep campsites that are 5 kms from the route, and 4) export the output to a GPX file. Since a "gpxpy" Python module is available, I assume this can be done just with a script instead of an expert application like QGIS… but I

[GIS] Keeping only POIs X kms from a trace?

2017-05-08 Thread frdtheman
ie's list for a given country, 3) filter that list to only keep campsites that are 5 kms from the route, and 4) export the output to a GPX file. Since a "gpxpy" Python module is available, I assume this can be done just with a script instead of an expert application like QGIS… but I

Re: Unofficial Python GIS SIG

2009-10-08 Thread Aahz
In article <07bd0443-5e60-4661-b03d-1db1b5de6...@k4g2000yqb.googlegroups.com>, seang wrote: >On Oct 1, 9:49=A0pm, a...@pythoncraft.com (Aahz) wrote: >> >> Any particular reason you didn't create a list @python.org? > >Only that I am not entirely sure this will take off and don't want to >leave p

Re: Unofficial Python GIS SIG

2009-10-01 Thread seang
On Oct 1, 9:49 pm, a...@pythoncraft.com (Aahz) wrote: > In article > <2edb4c08-5853-4d21-9bcc-5895c4312...@l13g2000yqb.googlegroups.com>, > > sean.gill...@gmail.com wrote: > > >There's growing interest among GIS users of Python for a discussion > >group, so

Re: Unofficial Python GIS SIG

2009-10-01 Thread Aahz
In article <2edb4c08-5853-4d21-9bcc-5895c4312...@l13g2000yqb.googlegroups.com>, sean.gill...@gmail.com wrote: > >There's growing interest among GIS users of Python for a discussion >group, so I've started an unofficial Python GIS SIG at: >http://groups.google.com/group

Unofficial Python GIS SIG

2009-10-01 Thread sean.gill...@gmail.com
There's growing interest among GIS users of Python for a discussion group, so I've started an unofficial Python GIS SIG at: http://groups.google.com/group/python-gis-sig. Please join if you're interested in improving Python's GIS story. At any rate, the group should (hopefull

Python Instructor Needed for GIS Symposium in April 2008

2007-10-30 Thread Eric . Foster
I am involved with MAGIC http://www.magicgis.org/ an organization to encourage GIS development, sharing, cooperation, etc. and educate practitioners in GIS. We hold a symposium every two years in April (next is April 2008) and provide speakers and workshops in relevant GIS subjects. ESRI&#

Re: Help: GIS

2007-08-04 Thread momobear
On Aug 3, 11:46 am, zxo102 <[EMAIL PROTECTED]> wrote: > Hi, > I am new in GIS area and need your suggestions for where I can > start from. I have a python based web application with a database. > Now I would like to add a GIS map into my application. When a user > clicks

Re: Help: GIS

2007-08-03 Thread zxo102
On 8 3 , 9 34 , [EMAIL PROTECTED] wrote: > On Aug 2, 10:46 pm, zxo102 <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am new in GIS area and need your suggestions for where I can > > start from. I have a python based web application with a database. > > Now I

Re: Help: GIS

2007-08-03 Thread kyosohma
On Aug 2, 10:46 pm, zxo102 <[EMAIL PROTECTED]> wrote: > Hi, > I am new in GIS area and need your suggestions for where I can > start from. I have a python based web application with a database. > Now I would like to add a GIS map into my application. When a user > clicks

Help: GIS

2007-08-02 Thread zxo102
Hi, I am new in GIS area and need your suggestions for where I can start from. I have a python based web application with a database. Now I would like to add a GIS map into my application. When a user clicks a certain area in the GIS map, it can grab the data from the database via my python

Re: shutil.copyfile problem for GIS data

2007-07-23 Thread supercooper
import shutil import os src = "c:\mydata\test\mygeo.mdb" dst = "v:\updated\data\mygeo.mdb" shutil.copyfile(src,dst) This should totally work, do it all the time, but no one can be connected to the database, ie have ArcMap or ArcCatalog open at the time of copy, or the .ldb lock will kill it. I d

Re: shutil.copyfile problem for GIS data

2007-07-18 Thread Larry Bates
ver the updated personal geodatabase to the working > location and overwrite it, though the file is opened by ArcGIS users > (Local Installation of Arc GIS on the users computers). > > > 2.But problem is that I can't copy over if the same updated > personal geodataba

Re: shutil.copyfile problem for GIS data

2007-07-16 Thread Gabriel Genellina
En Mon, 16 Jul 2007 14:47:30 -0300, Ahmed, Shakir <[EMAIL PROTECTED]> escribió: > 2.But problem is that I can't copy over if the same updated > personal geodatabase to the working location, if users uses that same > geodatabase through CITRIX - ArcGIS ( user does not have permission to >

shutil.copyfile problem for GIS data

2007-07-16 Thread Ahmed, Shakir
and overwrite it, though the file is opened by ArcGIS users (Local Installation of Arc GIS on the users computers). 2. But problem is that I can't copy over if the same updated personal geodatabase to the working location, if users uses that same geodatabase through CITRIX - ArcGIS (

Re: GIS Shape file upload to FTP server

2007-03-01 Thread Jean-Paul Calderone
h is working fine to upload files to the ftp >server but the problem is it is reducing the actual size after >transferring. I need to upload a GIS Shape file to the ftp server but >want to keep the same size and format. Any idea or help is highly >appreciated. > > > [snip] >

GIS Shape file upload to FTP server

2007-03-01 Thread Ahmed, Shakir
need to upload a GIS Shape file to the ftp server but want to keep the same size and format. Any idea or help is highly appreciated. Thanks Shakir Staff Geographer Sfwmd.gov The code is as follows: === # Import system modules import os import sys import

GIS Shape file upload FTP server

2007-03-01 Thread Ahmed, Shakir
transferring. I need to upload a GIS Shape file to the ftp server but want to keep the same size and format. Any idea or help is highly appreciated. Thanks Shakir Staff Geographer Sfwmd.gov The code is as follows: # Import system modules import os import sys import win32com.client

Re: GIS

2006-04-03 Thread Diez B. Roggisch
I need to create a sphere with a certain size. I have x and y > coordinates which I then need to calculated the distances between. > I use postgresql, that is why I am looking at postgis. > > If anybody knows of any documentation (except for what is on the postgis > homepage) please let me know a

Re: GIS

2006-04-03 Thread Albert Leibbrandt
Cyril Bazin wrote: > Postgis is only an extension of Postgres which add new classes and new > operations specialised for GIS. > All you should know, is how to build SQL requests for postgres... > > If you want to be familiarised with the GIS, you should try to make > your

Re: GIS

2006-04-03 Thread Cyril Bazin
Postgis is only an extension of Postgres which add new classes and new operations specialised for GIS. All you should know, is how to build SQL requests for postgres... If you want to be familiarised with the GIS, you should try to make your own little project. So you will be able to ask more

GIS

2006-04-03 Thread Albert Leibbrandt
Hi I need to get myself familiarised with GIS, specifically postgis for postgres. Can anyone give some advice, or some docs that start at the beginning. I've tried the postgis mailing list but it does not seem as if that list is very active. Perhaps you guys know of gis packages for p

Re: python and ARCView GIS desktop

2005-09-09 Thread Andrew MacIntyre
GISDude wrote: > hi all. I am a newbie, so be kind. > I am using ARCView GIS 9.1 and python win. I am trying to develop a > module using the GZIP module in my ARCView map session. What I am > attempting to do (I think) is use the zip mod to zip up all the files > in a .mxd documen

python and ARCView GIS desktop

2005-09-07 Thread GISDude
hi all. I am a newbie, so be kind. I am using ARCView GIS 9.1 and python win. I am trying to develop a module using the GZIP module in my ARCView map session. What I am attempting to do (I think) is use the zip mod to zip up all the files in a .mxd document into one neat little zipped file, ready

Re: GIS Related Scripting Issue

2005-08-19 Thread Dan Patterson
you might want to try http://forums.esri.com/forums.asp?c=93 and post in the geoprocessing section with code details "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mike Rose wrote: > >> I am currently using ArcGIS 9.1 and was referred to this list to ask my >> questi

Re: GIS Related Scripting Issue

2005-08-18 Thread Fredrik Lundh
Mike Rose wrote: > I am currently using ArcGIS 9.1 and was referred to this list to ask my > question. I am using a python script to loop through a series of > features, select all polygons that are within 5 miles, run statistics on > those selected polygons, then append the values to a new datab

GIS Related Scripting Issue

2005-08-17 Thread Mike Rose
grps_data, exported_data1_dbf, "AGE_PERC MEAN;home_perc MEAN", "")   # Process: Append...     gp.Append_management("C:\\temp\data2.dbf", exported_data_dbf__2_, "TEST")     #Move to the next fc in the list     fc = fcs.Next()