Questions tagged [fwtools]

FWTools is a set of Open Source GIS binaries for Windows (win32) and Linux (x86 32bit) systems produced Frank Warmerdam. Note: the FWTools binaries are not currently updated and more recent versions for Windows are available from OSGeo4W or GIS Internals.

Filter by
Sorted by
Tagged with
1 vote
0 answers
708 views

Insert shp into existing Postgis table with python

I'm creating a Qgis python plugin that allows inserting shp into existing Postgis table, i've tried using ogr2ogr and it's workin when I run the command in FWTools Shell but when I try to run it in ...
ayar anasse's user avatar
2 votes
0 answers
125 views

NITF Metadata not displaying properly in OSGeo Shell. Works in FWTools

I'm using gdalinfo in the OSGeo Shell to display information on a directory of NITF's. For the majority of the NITF's, gdalinfo is saying the all the corner coordinates are 0, which is incorrect. ...
franchyze923's user avatar
1 vote
1 answer
3k views

Export shapefile From PostGIS

I've a website where I'm giving the functionality of creating and editing line features. I'm using Leaflet-Draw plugin for drawing, PostGIS for storing the data and GeoJSON to display it on map. My ...
muzaffar's user avatar
  • 1,063
0 votes
0 answers
631 views

FWTools Python ImportError: DLL load failed:parameter is incorrect [duplicate]

Please, can anyone help me solve this issue? Please find the attached snapshot for your reference. I am working on a Windows 7 Professional, Service Pack 1, 32-bit laptop.
Devendra Tamrakar's user avatar
1 vote
2 answers
7k views

Import error:No module named _gdal

I have installed python 2.5.1 and FWTools2.4.7 in my laptop(Windows 7) when i run my pythonscript in FWTools i get following error Import error:No module named _gdal can any one suggest how to solve ...
Devendra Tamrakar's user avatar
3 votes
1 answer
206 views

Python Geospatial development book error?

I am currently reading Python Geospatial Development by Erik Westra but I am stuck at the first hurdle where the book suggests that the easiest way to install gdal onto a windows machine is using ...
Banger's user avatar
  • 909
0 votes
1 answer
3k views

How to resolve a 'Received NULL pointer' ArgumentOutOfRangeException for OSGeo.OGR.Geometry.TransformTo?

I am attempting to project a geometry using the GDAL c# bindings and I'm getting a ArgumentOutOfRangeException ('Received NULL pointer') exception on the Transform methods of Geometry. I'm also ...
Jay Cummins's user avatar
  • 14.6k
1 vote
1 answer
133 views

Fw tools using error

I am using Fw tools. And I am writting cmd screen: ogr2ogr -f \"GeoJSON\" -t_srs WGS84 D:\\electric_Data1\\direk.json D:\\electric_Data1\\ag_direk.TAB tried. And I have a error. error code: ...
Osman Villi's user avatar
0 votes
1 answer
685 views

gdallocationinfo is not recognized

I tried to run gdallocationinfo from my FWTools shell and got a message saying: "gdallocationinfo is not recognized as an internal or external command, operable program or batch file". So I checked ...
jestima's user avatar
  • 33
1 vote
2 answers
761 views

FWTools ogr2ogr command does not seem to recognise dim parameter

I am trying to convert a 3D shapefile to 2D via FWTools shell. This is the command I am trying ogr2ogr REGC2013_GV_Clipped_lonlat_2d.shp REGC2013_GV_Clipped_lonlat.shp -dim 2 Which returns the ...
cabbagetreecustard's user avatar
32 votes
1 answer
29k views

Converting GeoJSON to Shapefile using ogr2ogr?

I have a GeoJson file that I want to convert to ESRI Shapefile using ogr2ogr in FWTools. I tried using ogr2ogr -F "ESRI Shapefile" filename.shp geojsonfile.json OGRGeoJSON I got output ERROR 6:...
sidd.k's user avatar
  • 431
2 votes
3 answers
2k views

Extrude Shapefile to KML based on field value

I would like to extrude shapefile polygons to a KML based on a value stored in the attribute table. I am hoping to do this using open source software (QGIS, FWTools, GDAL, etc.). I looked at ogr2ogr ...
Ryan Garnett's user avatar
  • 9,461
1 vote
1 answer
64 views

Michigan Projection with GDAL or FWTools

Has anyone come across a specific projection for Michigan, specifically: NAD_1983_CORS96_StatePlane_Michigan_South_FIPS_2113_Ft_Intl When I look at spatialreference.org I do not find any instance of ...
Ryan Garnett's user avatar
  • 9,461
5 votes
2 answers
2k views

Permanent Histogram Stretch with QGIS or FWTools

Is there a way to permanently stretch a histogram of a raster within QGIS or gdal? I would like to stretch a satellite image with a Standard Deviation 2.5 stretch. I would prefer to use QGIS or ...
Ryan Garnett's user avatar
  • 9,461
1 vote
1 answer
2k views

Ogr_wrap problem

I'm having problems with my csharp project in developing a console application.I've added references of ogr_csharp.dll & osr_csharp.dll & gdal_csharp.dll. In the line Ogr.RegisterAll(); ...
Myra's user avatar
  • 1,012
5 votes
2 answers
3k views

Can't export a polygon shapefile to MySQL using ogr2ogr?

I am having problems with ogr2ogr and keep getting different versions of the error: ERROR 1: MySQL error message: The used table type doesn't support SPATIAL indexes. Description: ALTER TABLE '...
user14696's user avatar
  • 487
7 votes
2 answers
4k views

FWTools ogr2ogr in Python

I am trying to convert MapINFO tabs to ESRI Shapefiles using FW Tools. I downloaded the tools and can run the FW Tools Shell and convert no problem: ogr2ogr -f "ESRI Shapefile" E:\CABWorking\...
Cody Brown's user avatar
  • 4,387
1 vote
1 answer
196 views

Creating JP2 rasters with FWTools

I have been trying to make JP2 raster files with FWTools with limited success. FWTools will not allow for the creation of a JP2 file at a specific file size. However, I am able to make a JP2 with ...
Ryan Garnett's user avatar
  • 9,461
5 votes
1 answer
1k views

ogr2ogr when importing from file geodatabase and using in Python?

I want import data from my GDB to PostGIS. It works fine on some datasets (all records -data- is imported or nothing is imported) from a gdb but just doesn't import others. I can't find any ...
GeorgeC's user avatar
  • 8,006