9,554 reputation
11241
bio website code.google.com/p/…
location -35.302125, 149.13491
age
visits member for 3 years, 9 months
seen 9 hours ago

GIS jack of all trades, master of none...


13h
comment Using gdal-java of OSGeo4W
Java needs to be able to find the native binaries, not just the jar. Here are some linux instructions, replace references to "export LD_LIBRARY_PATH etc..." with "SET PATH=etc...;%PATH%" from the command line, or set via the Windows environment variables GUI. Not sure about Eclipse, I don't use it, but you should be able to set up a run configuration with the appropriate variables.
22h
comment Using gdal-java of OSGeo4W
Have you set the appropriate environment variables? Add the dir containing the gdal dlls to PATH. You may also need to set GDAL_DATA, GEOTIFF_CSV, GDAL_DRIVER_PATH and PROJ_LIB env vars.
1d
answered Using gdal-java of OSGeo4W
1d
comment How to subtract rasters using the gdal_calculate command
Yes. But if you know python it's probably easier to use the API code.google.com/p/gdal-calculations/wiki/CalculationsLibrary
1d
comment How to join point and polygon layers but retain polygon geometry for choropleth in ArcMap?
which "join" tool did you try?
Jan
26
revised GeoTiff to ndarray
row major, so switch X & Y to Y & X
Jan
26
revised GeoTiff to ndarray
added 391 characters in body
Jan
26
revised GeoTiff to ndarray
added 5 characters in body
Jan
26
revised GeoTiff to ndarray
added 230 characters in body
Jan
26
answered GeoTiff to ndarray
Jan
23
comment How do I convert a GeoTiff's neatline metadata from vector format to pixels using GDAL?
@SamAtcheson No, outfn is the output tif. The polygon dataset is stored in memory. I had an outshape variable as I originally tested using a shapefile, then changed to the in memory driver. I must've deleted the variable definition when changing working code so it matched your data. Answer edited to correct.
Jan
22
revised How do I convert a GeoTiff's neatline metadata from vector format to pixels using GDAL?
added 23 characters in body
Jan
22
comment Creating land water mask for *.vrt file in ArcGIS for Desktop?
Can you edit your question and provide more info about the data please. What bands do you have? Does the data include a near infrared band?
Jan
22
comment Batch Re-projection script syntax error
Please edit your question and post your code as code instead of as an image (hint: use the {} button above the question when it's in edit mode).
Jan
22
revised How to subtract rasters using the gdal_calculate command
added 252 characters in body
Jan
21
answered How do I convert a GeoTiff's neatline metadata from vector format to pixels using GDAL?
Jan
21
revised How to convert float raster to vector with python GDAL
Clarify I'm referring to the GDAL python bindings specifically, not python generally.
Jan
21
revised How to convert float raster to vector with python GDAL
added 5 characters in body
Jan
21
comment Why the order of imports matters in a standalone PyQGIS processing script?
Just wanted to say, excellent question with a short reproducible example and evidence of research and analysis of that research.
Jan
20
comment gdal_polygonize floating values
GDALFPolygonize is not available in the Python bindings - see gis.stackexchange.com/q/128139/2856