The Open Source Geospatial Foundation (http://www.osgeo.org), or OSGeo, is a not-for-profit organization whose mission is to support and promote the collaborative development of open geospatial technologies and data.

learn more… | top users | synonyms

0
votes
1answer
11 views

Run OTB commands in OSGeo4W Shell scripts

I am trying to run shell scripts with Orfeo-toolbox commands, and I'm new to all this.... (I'm working in Windows 7). I can type otbcli_ComputeImagesStatistics -il Imagery/P1_10cm1.tif ...
30
votes
5answers
9k views

Comparison of the different open source GIS servers

I currently know the following open source GIS servers: Geoserver: java based, vector and bitmap support, also supports. Is now on par with mapserver (performance-wise). mapserver: c/c++, used to be ...
3
votes
1answer
37 views

Determine if shapefile and raster overlap in python

I am building a script in python using osgeo/gdal. I have a set of shapefiles and a set of GeoTiff raster files. I would like to have my script ignore shapefiles if they do not intersect with the ...
0
votes
1answer
281 views

How to install MapServer on IIS 7.5 with windows 7 OS

I want to use the map server in my asp.net application. For that one, I need to install mapserver on IIS. I am using windows 7 with 64 bit os. I have IIS 7.5 installed on my PC. Can any one help me ...
4
votes
2answers
564 views

Issues with osgeo - qgis.core and arcpy modules

Is it possible to have the python shell from either qgis or argis to load (import) both qgis.core and arcpy? I am developing a metadata creation tool and have completed the core functionality using ...
1
vote
3answers
474 views

How to use gdal module in python

I am trying to import gdal modules from osgeo installed in my win64x machine but I get the following error: Traceback (most recent call last): File "", line 1, in from osgeo import ogr ...
0
votes
0answers
11 views

Where is documentation for OSGeo FDO API?

Can anybody help me to find the documentation for OSGeo FDO API for .net and for NetTopologySuite API ?
0
votes
1answer
397 views

How to install gdal_merge to run with osgeo?

I recently installed OSGEO (http://download.osgeo.org/) which included python and gdal. I just realised however that there are many gdal libraries that were not included in this package for example ...
0
votes
1answer
293 views

missing tables vertices_tmp and vertices_tmp_id_seq pgrouting workshop

I'm using OSgeo 6.5 dvd and studing pgrouting workshop for get shortest path. I created database call "routing" and used "template_routing" for create tables but only 3 tables created. So then I ...
1
vote
1answer
23 views

Invoke OSGeo4W commands with Java

I want to use the command gdal_polygonize image.png bla in a Java for-loop, where image.png and bla changes in every iteration. How can I do this? I searched for it on google and stackexchange and I ...
6
votes
3answers
570 views

How can I use py2exe with the OSGeo4W Python installation?

I have a default Python installation in c:\Python27. I have also installed Python through the OSGeo4W installer, which has created a "sandboxed" Python installation with all the geospatial bindings I ...
45
votes
20answers
12k views

What are some Free and Open Source GIS Desktop packages

Can someone please give me a list of free and open source GIS desktop packages?
1
vote
1answer
183 views

How to have PostGIS 2.1 and the Python osgeo library installed together without compiling from source?

My python application makes heavy use of the osgeo library. We're looking to upgrade from PostGIS 1.5 to PostGIS 2.1, and I'm having issues. I'm installing packages from the Ubuntu GIS PPA. Before, ...
2
votes
1answer
74 views

problem transforming CRS coordinates EPSG:4269 to EPSG:3857 in python

source_srs = get_srs(shp_abs_path) source_epsg = source_srs.GetAttrValue("PROJCS|GEOGCS|AUTHORITY", 1) print source_epsg #prints 4269 target_epsg = 3857 # because these are headed to leafletjs ...
1
vote
1answer
48 views

gdalwarp '-tps' equilvalent in C# wrapper?

I am attempting to do the following from code: gdal_translate.exe --config GDAL_DATA "D:\gdal\bin\gdal-data" -of GTiff -a_srs EPSG:4326 -gcp 0 0 -108.724530873811 40.1376029956585 ...
0
votes
0answers
18 views

DeleteFeature work very slowly with a MemoLayer

I have a python custom geoproccess wich use osgeo.ogr with a 'Memory' datasource. It work pretty fast except in one point where I need to delete feature known by id in a list. duplicated.sort() #list ...
2
votes
1answer
231 views

OGR CreateLayer returns TypeError

I'm trying to create a shapefile layer based on the spatial projection of an already existing raster. (Ultimately, this will be used in gdal.Polygonize to get a shape from my raster data.) However, I ...
0
votes
1answer
505 views

SELECT assign_vertex_id('ways', 0.00001, 'the_geom', 'gid'); not work

I'm using using OSgeo 6.5 dvd and studing pgrouting workshop (link) for get shortest path. I created network topology call "pgrouting - workshop". There are three commands to execute in section 5.2 ...
2
votes
1answer
855 views

GDAL loads in Python, but not IPython (Linux)

I am trying my hardest to utilize the work of the good folks at the GeoDa center, but I cannot seem to get all of the components to load. GDAL, in particular, has been giving me some difficulty. The ...
0
votes
0answers
37 views

Importing OGR from OSGEO Issues

I am trying to run: from osgeo import ogr and I get: Traceback (most recent call last): File "", line 1, in from osgeo import ogr File ...
3
votes
3answers
1k views

How to transform data points from WGS84 to NAD27?

Preface: I have a set of lat and long data points from Google Maps, which I believe are in WGS84. My project data is in NAD27(BLM14). These points are in West Texas, where NAD27 differs from WGS84 by ...
1
vote
2answers
530 views

OSX 10.9 + QGIS 2.0.1 - Missing osgeo module

Running the following: QGIS 2.0.1 (via Kyngchaos) OSX 10.9 GDAL/OGR 1.10.1 (via Homebrew). Recently, I've become unable to use the OpenLayers plugin, which is complaining that I'm missing the ...
0
votes
1answer
47 views

How can I efficiently use a list comprehension on an ogr.layer inside a loop in Python?

Problem statement I'm using python 2.7 and ogr 1.11.0 on Windows 7. I have two shapefiles: one for streets and one for junctions. The streets shapefile has fields listing the IDs of the start and ...
1
vote
1answer
166 views

SetColorInterpretation() for a GeoTiff using GDAL not working

I have a single band image which I would like to copy to a 3 bands of a new image and set the ColorInterpretation to red, green and blue respectively. I have tried two approaches, one using the GTiff ...
60
votes
3answers
35k views

File Geodatabase (*.gdb) support in QGIS?

Following questions: Open Source Tool capable of reading Esri File Geodatabase (.gdb)? How to access file geodatabase in Qgis? How to get FGDB support in GDAL 1.9 without compiling? I have spent ...
1
vote
1answer
140 views

Can not import qgis.core in python

I installed OSGeo4W. I have no other Python version on my computer. I can import osgeo. But when I try to import qgis.core I am getting the error: >>> import qgis.core Traceback (most ...
3
votes
0answers
247 views

arcgis server performance comparison

Are there any recent comparisons/studies of arcgis server vs. open source gis servers in common tasks like providing a wms/wfs, filtering data/search performance, and so on? We received a lot of ...
0
votes
1answer
1k views

Display a georeferenced DEM surface in 3D matplotlib

I want to use a DEM file to generate a simulated terrain surface using matplotlib. But I do not know how to georeference the raster coordinates to a given CRS. Nor do I know how to express the ...
0
votes
1answer
519 views

Missing QGIS raster menu tools - '“osgeo [python-gdal]” module is missing'

I recently had to reinstall QGIS (version 2.2.0-9) and the raster menu is missing its tools. I understand that the GdalTools plugin must be installed and enabled. I have already installed the GDal ...
0
votes
1answer
25 views

cannot install phpPgAdmin - postgis and osgeo apache issues

i installed mapserver from osgeo and all went smooth then, i wanted to install postgis, and the easiest way is with EnterpriseDB installation ...
3
votes
1answer
232 views

Are the functions in OGRPolygon accessible through the python bindings?

I'm currently trying to use the OGR python bindings to process some shapefiles. I want to obtain the number of interior rings in a polygon feature. Unfortunately I'm unable to use the documented ...
0
votes
2answers
218 views

Get srid from a shapefile using ogr

I'm writing a script to import shp to postgis, using python, osgeo and psycopg2 ( see my previous question: Import shp to Postgis using Python and ogr ) I'd know if there is a way to get by osgeo ...
0
votes
0answers
61 views

How to get array of points from C# OSGeo.Geometry object

I'm using the C# OSGeo tools and have created several geometry objects from WKT. Now that I have these geometry objects (Points, Lines, or Polygons), I want to get an array of the points that are ...
5
votes
2answers
2k views

Does OSGeo4W install a 32 bit or 64 bit version of QGIS?

I just want to know if you are installing Qgis via OSGeo installer on a windows 64 bits OS (XP, vista or 7) Does it install a 32 bits or 64 bits version of QGIS? Usually the stand alone installer ...
1
vote
0answers
96 views

Getting “Segmentation fault: 11” with ogr in Python

This is the code I'm trying to run: In [1]: from osgeo import ogr In [2]: datasource = ogr.Open('testdata.shp') In [3]: datasource.GetLayerCount() Out[3]: 1 In [4]: layer = ...
7
votes
2answers
768 views

What Open Source (command line/API) method is there to orthorectify and georeference an aerial image given telemetry data?

How can I take an image and orthorectify it automatically with open source software? The information associated with each image is: camera specs latitude, longitude, elevation of the camera ...
1
vote
1answer
87 views

How to import a postgis database in ubuntu (osgeo live 7)

How does one import a postgis database in the ubuntu/osgeo live environment? In windows I would copy the backed up database file into the postgres bin folder and then use cmd to restore the databse. ...
1
vote
1answer
39 views

Osgeo Welcome window

Is it possible to disable OsGeo Live 7.0 Welcome window? It annoys me a bit appearing each time I Run the system. Solved by: menu->settings->settings manager->session and startup->"Application ...
2
votes
2answers
136 views

Converting Mapserver default URL to a more user friendly version

I use the default MapServer URL to view the map in browser. http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all ...
1
vote
0answers
65 views

Error while retrieving a WCS coverage with GDAL

I'm currently using the OSGeo-Live 7.0 (Link) image to write a PyWPS process. Part of this process is to retrieve a WCS layer with GDAL (from a GeoServer instance). Since GDAL supports WCS out of the ...
1
vote
2answers
113 views

why is there a difference between using EPSG and using basic code

I have the OSgeo4w installed on my PC and I am trying to upload ITM(israel transverse mercator) landmarks to google earth. To do this I am using the cs2cs command.I noticed that i get a deviation ...
1
vote
1answer
163 views

Writing array to vrt

I would like to write an array from a single band image to a 3 band vrt where each band has the ColorInterpretation() tag of red, green, blue respectively. My code below; from osgeo import gdal ...
3
votes
1answer
406 views

Clip and copy files to same directory structure using OGR/GDAL with Python

We need to clip all our data (many TB) by a new boundary and save it while maintaining the same data structure. I want to use OGR/GDAL as the data is in shp/tab/kml/geoTif/ecw etc. I can find the ...
3
votes
3answers
1k views

OSGeo4W and QGIS 2.0

I just ran the OSGeo4W installer to update my previous installation and I noticed that it was updating my QGIS installation from 1.8 to 2.0. I haven't been able to find any information on the web ...
2
votes
3answers
553 views

Has anyone compiled QGis for 64-bit Windows 7?

It seems to me that a 64-bit build would be a much desired version. Has it been done or are there Qt 64-bit compiler issues blocking the way?
1
vote
1answer
146 views

Gdal2tiles with tif projection failure

I downloaded this .tif image of the world (small version) from Natureal Earth and tried to convert it to tiles using Gdal2tiles in OSGeo4W. In the terminal, I used the following commmand: gdal2tiles ...
1
vote
1answer
566 views

importing osgeo module in ubuntu 10.04

I have problem with importing "osgeo" module in ubuntu 10.04; I have installed GDAL 1.7 from source ( 1)./configure 2)make) however, still in python I cant import osgeo module. I appreciate any hints. ...
0
votes
3answers
92 views

How to separate and get geographic area info from planetosm

I have planetosm data file which is nearly 18GB now i need to seperate and get only my country details. Is there any way to seperate that data from osm file? I'm using OSGEO 6.05
3
votes
1answer
773 views

How to uninstall standalone QGIS & reinstall in OSgeo4w on Win7?

I need to apply a patch to QGis but installed as standalone instead of OSGeo4w: foolish. I'd like to uninstall then reinstall via OSGeo4w so as to have linux-like updating support, but before I do ...
1
vote
0answers
59 views

How to identify grid shift file used by osgeo in Python?

I wrote a Python script reprojecting points from a source coordinate reference system (SCRS) to a target one (TCRS) both identified by an EPSG code. I would like my python script to retrieve details ...