OGRLinearRing oSpatialFilter;
oSpatialFilter.setNumPoints(5);
oSpatialFilter.setPoint(0, rect.minx, rect.miny);
oSpatialFilter.setPoint(1, rect.maxx, rect.miny);
oSpatialFilter.setPoint(2, rect.maxx, rect.maxy);
oSpatialFilter.setPoint(3, rect.minx, rect.maxy);
oSpatialFilter.setPoin
All,
How to build gdal with only OGR support?
I need to disable raster things from gdal
Is it possible?
I tried ./configure --help but no sucess
--
Regards,
Mohammed Rashad K M
M.S. (By Research) student
Lab for Spatial Informatics
Department of CSE
International Institute of
Hi All,
how can I use OGR to read shapefile using JavaScript
Is this possible?
If yes please tell me how.
--
Regards,
Mohammed Rashad K M
M.S. (By Research) student
Lab for Spatial Informatics
Department of CSE
International Institute of Information Technology
Hyderabad
.c:143: undefined
reference to `inflateReset'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPSetupDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:108: undefined
reference to `inflateInit_'
/home/rashad/android/
Is there any library which provide tiled vector rendering using GDAL/OGR ?
how to build a tiled vector renderer.?? (big question expect any answer)
Anyone please throw some light
--
Thanks && Regards
Rashad
___
gdal-dev mailing list
gdal-dev@list
t 10:39 PM, Frank Warmerdam wrote:
> On 11-02-24 11:56 AM, Mohammed Rashad wrote:
>
>> my code
>> field - fieldname is of string type and 0th field
>>
>> poFeature->SetField("fieldname","value");
>>
>>
>> poFeature->GetFieldAs
my code
field - fieldname is of string type and 0th field
poFeature->SetField("fieldname","value");
poFeature->GetFieldAsString(0);
returns v instead of value;
I dont know is it bug or my problem
but I opened the shapefile in OpenJUMP and QGIS both shows field names as
only v instead of value
How to convert mutipolygon to polygon
my code
string geometry = "MULTIPOLYGON (((76.742484035494002
9.949536084104899,76.783465713734998 9.8207365239198,76.818592866512006
9.8773302700617,76.842010968363994 9.931972507716001,76.742484035494002
9.949536084104899)))";
char *geom = (char *) geom
How can I open a shapefile and read the coordinates from it without
downloading into client.
just as mywebsite.com/shapefiles/myshape.shp and pass this to function as
poDS = OGRSFDriverRegistrar::Open("
http://mywebsite.com/shapefiles/myshape.shp";, FALSE );
Is it possible in gdal/ogr?
I dont kn
m a écrit :
> > On 11-02-17 06:00 AM, Mohammed Rashad wrote:
> > > here is my new error log
> > > cpl_strtod.cpp: In function 'void CPLReplacePointByLocalePoint(char*,
> > > char)': cpl_strtod.cpp:200: error: 'struct lconv' has no member named
Install error; console log
bin/sh /home/rashadkm/gdal-1.5.0/libtool --mode=compile --tag=CXX
arm-linux-androideabi-g++ -g -O2 -Wall -I/home/rashadkm/gdal-1.5.0/port
-I/home/rashadkm/gdal-1.5.0/gcore -I/home/rashadkm/gdal-1.5.0/alg
-I/home/rashadkm/gdal-1.5.0/ogr -I/home/rashadkm/gdal-1.5.0/ogr/o
mal_point'
cpl_strtod.cpp:204: error: 'struct lconv' has no member named
'decimal_point'
make[1]: *** [cpl_strtod.lo] Error 1
make[1]: Leaving directory `/home/rashadkm/gdal-1.8.0/port'
make: *** [port-target] Error 2
Which gdal version to use for Android
On Thu, Fe
I am using android-ndk-r4-crystax. gdal is building proprerly but I am
getting error when linking gdal with my application
here is my error log
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/ra
How to convert shapefile to a raster image using gdal
I tried
gdal_rasterize -burn 255 -burn 0 -burn 0 -ts 100 100 -l ernakulam
ernakulam.shp ekm.tif
gdal_rasterize -A DIST -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
gdal_rasterize -A AREA -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
but s
How to convert shapefile to raster using gdal or gdal_rasterize
--
Thanks && Regards
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi,
Sorry if my post doesnt belong this ML. I am posting because gis users may
find this application useful.
here is an online shapefile viewer which reads shapefile using OGR and
rendered on webpage.
http://lsi.iiit.ac.in/lsi/shpviewer/
Here the shapefile is directly rendered without mapserver, ge
is there any function in ogr to export the projection string to proj4.
there is a function called importFromProj4 but nothing like export from
proj4. i have the wkt of projection read from .prj file
I need to convert it to proj4 string.
On Sat, Jan 29, 2011 at 10:58 AM, Mohammed Rashad
How to reproject a shapefile to geographic coordinates by code? using OGR
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
OGRPolygon *polygon = (OGRPolygon *) poGeometry;
OGRLinearRing *extring = polygon->getExteriorRing();
for(int i=0;igetNumPoints();i++)
{
cout << extring->getX(i) << ":" <<
extring->getY(i) << endl;
}
t
How to get the extent of an ogr data (shapefile). I need to read the xMin,
yMin, xMax,yMax
how to do that
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
this works
poDS = OGRSFDriverRegistrar::Open( "point_out.xml", FALSE );
if( poDS == NULL )
{
printf( "Open failed.\n" );
}
but the following is not working
poDS = OGRSFDriverRegistrar::Open( "point_out.xml", TRUE );
if( poDS == NULL )
{
printf( "Open failed.\n" )
How can I add features to a shapefile using OGR?
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
#include "ogrsf_frmts.h"
#include
int main()
{
const char *pszDriverName = "ESRI Shapefile";
OGRSFDriver *poDriver;
OGRRegisterAll();
OGRDataSource *poDS;
poDS = OGRSFDriverRegistrar::Open( "point_out.shp", FALSE );
if( poDS == NULL )
{
cout << "Open fail
thanks Frank. i mailed without looking the api tutorial. sorry
On Fri, Jan 21, 2011 at 8:31 PM, Frank Warmerdam wrote:
> On 11-01-21 09:49 AM, Mohammed Rashad wrote:
>
>> how to create attribute table for vector using ogr?
>>
>>
> Mohammed,
>
> New attribute fie
how to create attribute table for vector using ogr?
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
u can use the wkb format for more clarity, but at the cost of more
> computation.
>
> On Sun, Jan 16, 2011 at 11:56 AM, Mohammed Rashad <
> mohammedrasha...@gmail.com> wrote:
>
>> how to read a polygon from wkbPolygon geome
how to read a polygon from wkbPolygon geometry type. how read its set of
points or points that make up the polygon
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
On Thu, Jan 6, 2011 at 11:09 PM, Christopher Barker
wrote:
> On 1/6/11 9:19 AM, Mohammed Rashad wrote:
>
>>Instead of looking for code, I'd rather suggest to sit down and think
>>what you need. I assure you, all you need you have in OGR tutorial
>>on gdal
On Thu, Jan 6, 2011 at 10:45 PM, Mateusz Loskot wrote:
>
> On 06/01/11 17:06, Mohammed Rashad wrote:
>
>> when the window resize the size of shapefile is also changed. by "not
>> working" I mean its not displaying shapefile correctly.
>>
>
> This is
i checked it. Its not working properly and uses openGL
On Thu, Jan 6, 2011 at 10:31 PM, Mateusz Loskot wrote:
> On 06/01/11 16:53, Mohammed Rashad wrote:
>
>>
>> Anyone plea se provide a source code of just a simple shapefile viewer
>> in C/C++ or python
>>
>
Anyone plea se provide a source code of just a simple shapefile viewer in
C/C++ or python
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
31 matches
Mail list logo