Hi,
I have downloaded the latest shapefiles from US Census Bureau TIGER
Shapefiles containaing the ZipCode Tabulation Area (2010) information. I am
reading the shapefile to retrieve the zip code for a given point having
latitude/longitude. I open the shapefile to get the data source, get the
zipco
Hi,
I am writing an application in Java with gdal's java bindings that reads a
zipcode layer shapefile.
I set a spatial filter of a point on the layer and get the zipcode by
reading from the layer.
...
DataSource ds = ogr.Open("path/to/shapefile");
Layer layer = ds.GetLayer(0);
...
public void get
Thanks Paolo,
I tried building it with minimal options as you suggested. The source builds
successfully, but when I try to use the library by making a call, I am
getting an error in libgdal.so file saying some symbol not found. I am using
swig java bindings.
I get the following error:
Unsatisfied
Hi,
I am trying to build from source with Java bindings. I compiled the regular
source with configure, make and make install first and then ran the GNUmake
file from the gdal/swig/java directory. Now, I have created a small cmdline
application in Java and I am trying to run it. It gets compiled. B
Hi,
I am trying to build the source with the swig bindings
I am running it on RHEL5 64 bit.
I ran the 'configure', 'make' and 'make install' from the gdal
directory.This runs successfully and creates ligdal.so files
For java, I go into gdal/swig/java and run the 'make' command. I am getting
the fo
Thanks Even,
You were right. I was using the 32 bit JVM. Now I have avoided that error.
But now I am getting another weird unsatisfied linker error as :
java.lang.UnsatisfiedLinkError: .../gdal/build/.libs/libgdal.so.1: undefined
symbol: _ZTVN6PCIDSK15PCIDSKExceptionE
Any idea why I am getting t
Hi,
I am trying to build the gdal from source on a 64 bit RHEL5. I am also using
the swig bindings for Java.
But I am getting UnsatisfiedLinkError with the error cause as :
.../libogrjni.so: wrong ELF class: ELFCLASS64* (Possible cause: architecture
word width mismatch)*
Where can I set this opti
Hi,
I am trying to build the gdal-1.9.1 from source code using simple make
command. I am creating a small application that does not involve any
graphics or any maps/visual output. Therefore I wanted to *exclude* some of
the packages/directories while building the source such as raster formats
supp
Thanks dbnakuru,
quote author="dbnakuru">
Otherwise what you can do is test to see if your point is in any of the
polygons returned by OGR. So let OGR do the initial checks then grab
the vertices yourself and run a point in polygon t
Frank,
Thank you very much for the reply.
I am still really curious about what could be the reason that it returns
multiple features for a single point.
The code for filtering which I have written is like this :
...
OGRDataSource *ds = OGRSFDriverRegistrar::Open("shapefile_path", FALSE);
OGRLaye
Frank Warmerdam wrote
>
> There is no externally defined ordering, though the implementation in
> each driver will presumably have some implicit ordering.
>
I am reading a TIGER shapefile provided by US Census Bureau:
...
ogr.RegisterAll();
DataSource ds = ogr.open("path/to/shapefil");
if(ds ==
11 matches
Mail list logo