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

31
votes
5answers
15k 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 ...
0
votes
1answer
476 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 ...
0
votes
1answer
344 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 ...
0
votes
0answers
3 views

Setting Up Lamp on my OSGEO ubuntu

I recently installed the latest OSGEO Lubuntu OS. As a plus it comes preinstalled with may tools and softwares. On windows it was easy to access WAMP SERVER but I am having trouble setting up and ...
11
votes
2answers
3k views

How to add custom Feature attributes to Shapefile using Python?

I am seeking a way to take an existing Shapefile that has a Feature set of 200 countries. Each country Feature has an attribute of "NAME." My objective is to create a Python script that adds an ...
0
votes
0answers
38 views

ogr2ogr re-projection produces empty shapefile

I use the following to re-project a shapefile to EPSG 4326 using ogr2ogr: ogr2ogr -s_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" -t_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" ...
0
votes
0answers
29 views

What driver should I use when trying to open a Geospatial PDF with OSGEO and Python?

My code is as follows: from osgeo import ogr from osgeo import gdal dso = ogr.Open('myfile.pdf') print dso dsg = gdal.Open('myfile.pdf') print dsg driverGeoPDFogr = ogr.GetDriverByName('PDF') ...
2
votes
3answers
107 views

GetRasterBand() method for gdal in Python

I was going through a tutorial book called Python Geospatial Development. On the chapter on using working with geospatial data in python there is an example of a script meant to handle and analysis ...
2
votes
1answer
567 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
75 views

Converting JSON to GeoJSON MultiPoint using `ogr.CreateGeometryFromJSON`

I am trying to convert a JSON array to a geom in Python, by first converting it to a GeoJSON. I have point coordinates in a JSON array, [{'lat':100.0, 'lng':0.0},{'lat':101.0, 'lng':1.0'}] that ...
2
votes
0answers
124 views

How do I install the GDAL bindings for C#/.NET 4.5.1?

I'm trying to use the C# gdal bindings but I get an error in my C# code which says "Unable to load DLL 'gdal_wrap': The specified module could not be found. (Exception from HRESULT: 0x8007007E)". ...
3
votes
2answers
73 views

How do a transform a geotiff image to use the projection of another image?

I have two sets of glib2 data from different sources which I would like to process together. Each image has a different projection and resolution (I don't know if resolution is the correct word to ...
2
votes
2answers
110 views

Find unit of EPSG-Code

I need a way to find out the unit of an EPSG-Code (e.g: meter) from java (ogr, gdal, osgeo?) but any other approach would be fine as well. I want to do something like: if(epsg.unit==meter){ do ...
49
votes
19answers
22k 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?
0
votes
0answers
54 views

OSGEO/GDAL and Rotated Pole Grids

I have a netCDF containing a raster in a rotated pole grid. I have a script for converting the desired information to GeoTiff, however it requires projection information in the form of WKT string. ...
0
votes
1answer
168 views

Using gdal-java of OSGeo4W

I would like to use gdal_polygonize and gdalinfo in java. This site says: "Note that OSGeo4W includes a gdal-java package and a Java runtime making it fairly easily to build local Java applications ...
0
votes
0answers
51 views

Copying Feature from shapefile to new shapefile in c#?

I am Creating new shapefile from shapefile such as (Parcels.shp to Parc.shp) and i am success to copy one feature at a time but getting error when copying multiple feature suggest me. done:copy one ...
0
votes
1answer
695 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 ...
2
votes
1answer
144 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 ...
4
votes
1answer
202 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 ...
4
votes
2answers
591 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
790 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
50 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 ?
1
vote
1answer
45 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
722 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 ...
1
vote
1answer
354 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
208 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
114 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 ...
2
votes
1answer
335 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
614 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
1k 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
78 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
2k 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
635 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
60 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
270 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 ...
65
votes
3answers
44k 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 ...
2
votes
1answer
166 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 ...
0
votes
1answer
2k 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
990 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
39 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
377 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
432 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 ...
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 ...
2
votes
0answers
139 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
969 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
94 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
170 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
73 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 ...