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
272 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 ...
0
votes
2answers
28 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 ...
1
vote
1answer
87 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 ...
1
vote
1answer
395 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
1answer
189 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
7 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 ...
4
votes
2answers
1k 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
1answer
207 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
35 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 = ...
0
votes
1answer
50 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 ...
6
votes
2answers
477 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
69 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. ...
48
votes
2answers
23k views

How to get “.GDB” (Esri File Geodatabase) support in Quantum GIS (osgeo4w - qgis)

Following questions: Open Source Tool capable of Reading .gdb? How to access file geodatabase in Qgis? How to get FGDB support in GDAL 1.9 without compiling? I have spent around 2 days to find the ...
1
vote
1answer
35 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
104 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
37 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 ...
0
votes
1answer
223 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 ...
3
votes
2answers
577 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
79 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
89 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 ...
2
votes
1answer
271 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
835 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 ...
43
votes
20answers
6k 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?
2
votes
3answers
430 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
84 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 ...
0
votes
0answers
92 views

pgrouting workshop PHP script

I'm following pgrouting workshop for implement web to display shortest path on map I did upto chapter 6 on that work shop (all outputs came as the given so i think i'm correctly done upto chapter 6 ...
0
votes
1answer
524 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 ...
1
vote
1answer
342 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
80 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
507 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
47 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 ...
1
vote
0answers
139 views

using GDAL/OGR (faster)

Eventually, I was able to get the GDAL installed and compiled correctly using Visual C++ 2010. I even tested some of its methods on some geo-referenced raster files, and it looks like that all is ...
1
vote
0answers
255 views

GRASS Plugin to QGIS error

I am installing QGIS and GRASS as part of an FOSS GIS class I'll be teaching this summer. I used the OsGeo4W installer. This installer has always worked flawlessly for me except on the machines at the ...
2
votes
1answer
146 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 ...
1
vote
0answers
96 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 ...
1
vote
1answer
69 views

A way to log the output from the Msys terminal in OSGEO4W?

Is there a way to log all the text output from commands in the Msys terminal to a text file when using OSGEO4W in Windows? I'm using GDAL commands and specifically wish to record any error messages ...
2
votes
1answer
322 views

Osgeo live - Geonetwork install issues

I have a machine running OSGEOLIVE 6 Geoserver and most packages work without any issues but I can't get Geonetwork to run. The ApplicationsGeoserversGeonetworkStart seems to work fine but then I ...
7
votes
4answers
840 views

What is the OSGeo4W-equivalent for Linux?

OSGeo4W is a windows based stack of GeoFOSS which is based upon cygwin. I know there is a package listing describing what is inside the OSGeo4W binary package and I could fetch and install every ...
6
votes
2answers
155 views

Advice in setting up foundational OSGeo enterprise GIS

First let me describe the task: My lab has approached me about setting up a simple GIS for a colleagues 'non-spatial' lab. There are a couple of key characteristics to the intended setup: Fully open ...
3
votes
1answer
184 views

How to run OSgo4W shell script on Windows?

I have a lot of DEMs that I want to use to create hillshades, slopes and color relief from and would like to automate the processes using a shell script within OSgeo4W shell. Here is the code I used ...
0
votes
2answers
197 views

How to install GDAL/OGR with GRASS vector support?

The GRASS 6.4.3Svn for Windows that i have in my machine does not have GDAL/OGR support. Is there any library (libgrass) for Windows to add into existing GRASS installation. If not, how to build or ...
10
votes
2answers
1k views

How to split shapefile per feature in Python using GDAL?

is it possible to split a shapefile per feature in python? (best would be a solution where i can temporarily save the resulting vector objects to the memory instead to disk). The reason: I want to ...
0
votes
0answers
157 views

How to embed an OpenLayers map in a blog post?

I have a map in GeoServer which I need to publish in a blog post. I'm pretty sure this is possible but I am not managing to make it work. I'm posting the html source code from the openlayers layer ...
10
votes
2answers
2k views

How to add custom Feature attributes to ESRI Shapefile with Python?

I am seeking a way to take an existing ESRI 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 ...
1
vote
0answers
95 views

VSIMalloc3() and UnifiedSrcDensity mask errors when running gdal_warp in OSGEO4w shell

This is related to gdal.py as part of bat script in windows 7 I am getting ERROR 2: VSIMalloc3(): Out of memory allocating 854522136 bytes. ERROR 2: Out of memory allocating 119813400 bytes ...
6
votes
2answers
250 views

What are my options for Server side clustering using open source GIS tools?

I need to make a webapp that will show over 40K Points on a map. These points are all across the globe. Using WFS Service and OpenLayers, it is possible to do clustering on small set of points, but ...
1
vote
1answer
345 views

Converting arcpy based python script to OGR for semi-automated Metadata creation

I have created a script to automatically generate base ANZLIC standard metadata using arcpy based coding. Can anyone help me convert it to OGR/GDAL python? This is so that it can be run in QGIS and ...
6
votes
3answers
404 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
361 views

Why do I get different results with gdal_calc within the osgeo4w shell and QGIS' raster calculator?

I'm just wanting to make a simple map algebra operation in the osgeo4w shell using gdal_calc but I get wrong results when I divide one raster with the other. When I use the same rasters in QGIS and ...
6
votes
3answers
234 views

Do OSGeo4W and ArcGIS 10.0 use the same Python installation?

This question was asked several years ago at: Can ArcGIS and OSGeo4W share the same python install?, but it seems that versions have changed since then. I currently have ArcGIS 10.0 installed (not ...