Tagged Questions
8
votes
1answer
152 views
Python with GDAL and PostGIS as a replacement of ArcGIS
Few times ago, I worked with daily land surface temperature satellite images of an area with the size of Alaska.
I had to process around one thousand images. I downloaded them, mosaiced, projected, ...
2
votes
1answer
269 views
How to debug 'Layer is not valid error' from Python plugin?
I'm trying to understand what goes wrong with a QGIS python plugin.
Basically I'm trying to render a series of POINT.
The query works fine, at least giving it by hand from inside PostGIS DB:
"SELECT ...
9
votes
4answers
212 views
How to use PostGIS to handle complex geoprocessing workflows?
Our organization is considering moving our geoprocessing workflow to PostGIS. We are currently using ArcGIS, with a plethora of custom Python tools used in ModelBuilder. We're moving most of our data ...
0
votes
0answers
64 views
Loop though records in PostGIS (using PL/PYTHON or PGSQL)
I've seen many example of loops, but I can't get that one to work.
I work for a regional transit agency and each year, we conduct several surveys. I geocode everything to the house level for internal ...
3
votes
1answer
148 views
Need help assigning values to field using OGR in python
I've got a similar question to this one How to programatically populate a shapefile field with polygon areas in OGR?, but the solution doesn't seem to be working for me. I am trying to import a ...
2
votes
0answers
55 views
3D features (Polyline, Polygon) intersection library
For my research I am looking for a (python) library to get the intersection of some 3D features. The features can be Polygons or Polylines. Mostly I need to intersect a plane with my features and get ...
0
votes
0answers
25 views
QGIS Gazetteer Plugin connection to internal database
A few posts on here mention that the Astun QGIS-Gazetteer-Plugin could be adapted to reference a PostGIS database. Has anyone done this adaptation and could share it? I want to use a gazetteer stored ...
0
votes
0answers
23 views
using Field PyCulator to input data in PostGIS layer
I'm triyng to input data in a prymary key field of a PostGIS layer, using the GID, a string field for codification (), and a text ("NH").
But I don't know how to make it works under Python! (Q GIS ...
1
vote
1answer
42 views
Can I append to different tables using ogr2ogr?
I have been through many related questions and links but I am still confused as to how/if this is achievable. So, I have defined tables in my postgis database and I would like my ogr2ogr commnand to ...
0
votes
1answer
72 views
Anyone recognize this (reference-system related?) pattern of distortion?
I'm new to GIS and was making some progress until getting rather stumped on this one. I've imported what I believe to be lat/lon data based on US FIPS county codes in weather alerts (NOAA SPC). When ...
0
votes
1answer
100 views
How can i select many rows from a table?
I want to create an action that select many rows from PostGIS table to show many lines in QGIS.
How can i select many rows from table with python to add these rows in a layer?
Thank you
0
votes
0answers
77 views
Python OGR, psycopg, postgis - geometry is null when updating
I'm attempting a python script that takes data from a file and updates only the geometry and a key field in a post gis table. But no matter what I try the geometry always seems to be updated null.
...
14
votes
6answers
4k views
Nearest neighbor between a point layer and a line layer
I've asked this question several times on stackoverflow and irc between #qgis and #postgis and I also tried to code it or implement it my self in postgis with no real answer.
Using programming (most ...
2
votes
1answer
241 views
RT Sql Layer plugin giving an error [closed]
I am trying to use the aforementioned plugin with QGIS 1.7 and Postgres 9.0/PostGIS 1.5.
Added a PostGIS spatial layer w/out a problem and then clicked on the RT Sql layer button which displayed the ...
-2
votes
1answer
125 views
QGIS and Python - create line with multiple points in postgis [closed]
How can I create a line, with Python functions, with many points that are records in Postgis?
Thank you