[gdal-dev] Overlay shapefile onto Geotiff image
Hi, I have been working on this issue for quite a while. I currently have a GeoTiff image and a shapefile. I would like to overlay the shapefile on the Geotiff, is this possible with Gdal? I looked into gdal_rasterize but I just don't know how to incorporate it with what I need. A code to start with would be great if possible. Or maybe point me into the right direction of probably other libraries that could do this. Thanks for the help ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] Ascii Grid and Shapefile
Hello, I already asked a similar question but I will be more exact on what I am looking for. Is it possible with Gdal to read ascii grid file (.asc)? If yes, I would like to read this ascii grid file and produce and display a map out this. Moreover, after having this map I would like to put a shapefile (or many shapefiles) on top of it and also display it. Is this something that can be done with Gdal? I've been looking around and can't seem to find the right answer. Please help. Thank You ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] Is it possible?
Hello Gdal users, I have a question. I have been working here for quite a while on how to map a shapefile into a GeoTiff image. First of all, is this possible with Gdal? Right now I am able to map a shapefile using Basemap, which it isn't Gdal of course. However, I would like to map this same shapefile into Geotiff file that I already have instead of doing it in a big Map like I am doing now. I have been looking around and can't find an example of this being done. If this is not possible with Gdal, do any of you know any available libraries that would do this for me? probably with some examples? Any help would be greatly appreciated. Thank you ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] ImportError: numpy.core.multiarray failed to import
Hello, So I am trying to run the example called Clip a Geotiff with Shapefile from this website https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html. However, I get an error about numpy although I do have numpy installed. I believe is something with GDAL. Here is my output error: ImportError: numpy.core.multiarray failed to import Traceback (most recent call last): File C:\Users\r294505\Desktop\pythonTesting.py, line 1, in module from osgeo import gdal, gdalnumeric, ogr, osr File C:\Python27\lib\site-packages\osgeo\gdalnumeric.py, line 1, in module from gdal_array import * File C:\Python27\lib\site-packages\osgeo\gdal_array.py, line 26, in module _gdal_array = swig_import_helper() File C:\Python27\lib\site-packages\osgeo\gdal_array.py, line 22, in swig_import_helper _mod = imp.load_module('_gdal_array', fp, pathname, description) ImportError: numpy.core.multiarray failed to import By the way, I am running 64 bit windows 7 in case that is of any help. Any help as to what could be this error would be appreciated. Thank You ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] Read Ascii Grid and produce GeoTiff
Hello everyone, I have been looking around for a while now. I want to create a python script that can read an AsciiGrid file and be able to produce a GeoTiff out of it. I know it is possible with Gdal, I just don't seem to get it. There are some references out there about this but nothing exact. Someone please help we accomplish this or maybe link me to anything out there that can help me with this task. Any help would be appreciated! Thank You ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev