Re: [gdal-dev] Unexpected results with GDALDEM

2013-07-09 Thread Even Rouault
Le mardi 09 juillet 2013 23:30:19, William Hudspeth, Ph.D. a écrit : > Hello all, > > I am using gdaldem that came with the GDAL 1.7.3 version on Ubuntu > 12.04. I am trying to create slope maps with a command something like this: > > gdaldem slope -s scale=20 source_DEM.tif target_SLOPE.tif

[gdal-dev] Unexpected results with GDALDEM

2013-07-09 Thread William Hudspeth, Ph.D.
Hello all, I am using gdaldem that came with the GDAL 1.7.3 version on Ubuntu 12.04. I am trying to create slope maps with a command something like this: gdaldem slope -s scale=20 source_DEM.tif target_SLOPE.tif the source DEM geotiff was created with gdalwarp, re-projecting a National E

Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON

2013-07-09 Thread Even Rouault
Le mardi 09 juillet 2013 21:07:45, Baker, Anthony W a écrit : > Seems that when I include the code from say OGR_G_ExportToJSon in my own > code, I end up with lots of unresolved link errors. I guess that the > GDAL_i.lib does not expose the functions that I need to use > OGRGeoJSONWriteFeature. M

Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON

2013-07-09 Thread Baker, Anthony W
Seems that when I include the code from say OGR_G_ExportToJSon in my own code, I end up with lots of unresolved link errors. I guess that the GDAL_i.lib does not expose the functions that I need to use OGRGeoJSONWriteFeature. Maybe I am just missing something simple??? Anthony -Origin

Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON

2013-07-09 Thread Mateusz Loskot
On 9 July 2013 18:58, Baker, Anthony W wrote: > Thank you for your response! > > Is it possible to use the json_object directly with something like >json_object *json = OGRGeoJSONWriteFeature(poFeature); > Then just convert that to string? I'm sure it is. You've got the source, you can in

Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON

2013-07-09 Thread Baker, Anthony W
Thank you for your response! Is it possible to use the json_object directly with something like json_object *json = OGRGeoJSONWriteFeature(poFeature); Then just convert that to string? I seem to get an error in json_object.h when I try this method with "boolean redefinition". Anthony _

Re: [gdal-dev] tiles with different size, and irregular blocking

2013-07-09 Thread Even Rouault
Selon Ahmet Temiz : > hello > > Is there any way to fix this problem: > > " tiles with different size, and irregular blocking" Hi, Please give more context when you ask a question : at least the GDAL version used, and the action you did when you got this message... I had a hard time to figure o

Re: [gdal-dev] tiles with different size, and irregular blocking

2013-07-09 Thread Jean-Claude Repetto
Le 09/07/2013 08:44, Ahmet Temiz a écrit : hello Is there any way to fix this problem: " tiles with different size, and irregular blocking" regards Please read this page carefully : http://www.chiark.greenend.org.uk/~sgtatham/bugs.html Regards