Re: [gdal-dev] wrong with clipping a tif file with a polygon

2023-05-30 Thread Ahmet Temiz
no errors, then I guess > that the pixels within your cutline are all nodata. > > Maybe printing the WKT out from “geom” could prove or disprove my guess. > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* gdal-dev *Puolesta *Ahmet > Temiz > *Lähetetty:* tiistai 30. t

Re: [gdal-dev] wrong with clipping a tif file with a polygon

2023-05-30 Thread Ahmet Temiz
May 30, 2023, at 8:12 AM, Ahmet Temiz wrote: > > > > Hi, > > I am trying to clip a tif file with a polygon. But resulting output.tif > file shows nothing. > > > > Where am I doing wrong ? > > > > " #include > > #include > > #include &

[gdal-dev] wrong with clipping a tif file with a polygon

2023-05-30 Thread Ahmet Temiz
LGetRasterYSize(hDstDS)); GDALDestroyGenImgProjTransformer(psWarpOptions->pTransformerArg); GDALDestroyWarpOptions(psWarpOptions); GDALClose(hDstDS); GDALClose(hSrcDS); } " -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı

[gdal-dev] problem in GDALRasterize

2023-05-28 Thread Ahmet Temiz
r, &options, nullptr, nullptr); // Cleanup GDALClose(vector_dataset); GDALClose(dataset); // Cleanup GDAL GDALDestroyDriverManager(); return 0; } Can you tell me what is wrong ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi B

Re: [gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Ahmet Temiz
e, minimal, self-contained example that > demonstrates the problem? > > > > Brad > > > > *From:* gdal-dev *On Behalf Of *Ahmet > Temiz > *Sent:* Sunday, 20 June 2021 5:56 PM > *To:* gdal-dev > *Subject:* [gdal-dev] I couldn't use OGRCreateCoordinateTransform

[gdal-dev] I couldn't use OGRCreateCoordinateTransformation

2021-06-20 Thread Ahmet Temiz
) ; // it generates this error. ERROR 6: No translation for an empty SRS to PROJ.4 format is known. I think, this occurs, because I could not assign any SRS value to polygon How can I solve this problem? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkan

[gdal-dev] (no subject)

2021-06-17 Thread Ahmet Temiz
Hi, How can I can create FeatureCollection from : ```OGRMultiPolygon * poOGRMultiPolygon= (OGRMultiPolygon * ) unionCascaded;``` kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng

Re: [gdal-dev] export to geometrycollection.

2021-06-17 Thread Ahmet Temiz
c5f > > Even > Le 13/06/2021 à 20:45, Ahmet Temiz a écrit : > > Hi, > I exported the geometry to geojson as: > > OGRMultiPolygon * poOGRMultiPolygon= (OGRMultiPolygon * ) unionCascaded; > // > char * pszJSon= poOGRMultiPolygon->exportToJson(); > > this generat

[gdal-dev] export to geometrycollection.

2021-06-13 Thread Ahmet Temiz
etrycollection. How can I do that? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ gdal-dev mail

[gdal-dev] Hi,

2021-04-01 Thread Ahmet Temiz
How can I create a mask using C++ GDAL_API? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency

[gdal-dev] Pushing OGRLineString * var to a vector problematic ??

2021-02-12 Thread Ahmet Temiz
poGeometry; v_faultLine.push_back(poLine); /// std::vector < OGRLineString * > v_faultLine; . ... } this->setFaultLine (v_faultLine); ---- kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem

[gdal-dev] Thank you all for "addRingDirectly is crashed"

2020-04-18 Thread Ahmet Temiz
-- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] addRingDirectly is crashed

2020-04-18 Thread Ahmet Temiz
bbox= new OGRPolygon({}); bbox-> addRingDirectly(poLinearRing ); ** crash occur Segmentation fault (core dumped) regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı ____

Re: [gdal-dev] extracting a raster data within a polygon?

2019-11-15 Thread Ahmet Temiz
input because the buffer distance is zero > but the GEOS API will attempt to correct the topology of the new geometry. > > > > Best regards, > > Martin Chapman > > > > > > > > *From:* gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] *On Behalf Of >

Re: [gdal-dev] angle of crossing two lines

2019-11-12 Thread Ahmet Temiz
double a2 = line2.point2.y - line2.point1.y; > > double b2 = line2.point1.x - line2.point2.x; > > double c2 = a2 * line2.point1.x + b2 * line2.point1.y; > > double determinant = a1 * b2 - a2 * b1; > > if (determinant == 0) return FALSE; > > > >

[gdal-dev] angle of crossing two lines

2019-11-11 Thread Ahmet Temiz
Hi, I need to know angle of crossing two lines. which function can I use? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and

[gdal-dev] extracting a raster data within a polygon?

2019-11-09 Thread Ahmet Temiz
Hi, how I can extract a raster data within a polygon (not a rectangle) using C++? i.e. dem within provincial boundary Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng

[gdal-dev] problem in creating a ogrlinestring.

2019-11-08 Thread Ahmet Temiz
// *** this says : *** error: invalid use of non-static member function ‘virtual int OGRSimpleCurve::getNumPoints() const’ std::cout << "\n NumberOfPoints 0 ** " << poLine->getNumPoints << std::endl ; *** vyol_oto_in_buffer.push_back( poLine );

[gdal-dev] Confusion on intersection

2019-10-31 Thread Ahmet Temiz
Hi, Please correct me if I am wrong. I want to get intersected part of a line that overlays a polygon. do I need to use firstly intersects , then intersection? Intersection part is like: line->intersection (polygon). // that returns linestring??? Is it correct ? Regards -- Ahmet Temiz Jeol

[gdal-dev] merge close linestrings

2019-09-17 Thread Ahmet Temiz
Hi, Which function can I use to in GDAL / C++ ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of

[gdal-dev] OGRLinestring from two vectors using GDAL C++

2019-09-12 Thread Ahmet Temiz
Hi, I have two vectors of vx-values and y_values like vx { 1.1,2.2 } and vy { 3.3,55...} How can I ogrLinestring from these two vectors using GDAL C++ ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu

[gdal-dev] Raster masking/clipping with c++

2019-08-01 Thread Ahmet Temiz
Hi, How can I do raster masking / clipping with c++. I will appreciate for any guidance. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group

[gdal-dev] (no subject)

2019-07-31 Thread Ahmet Temiz
Hi, I need example c++ code for raster masking and clipping. Do you have any? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and

[gdal-dev] from projection coordinates to pixel coords

2019-07-31 Thread Ahmet Temiz
Hi, How can we transform from projection coordinates to pixel coords with gdal c++ ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group

[gdal-dev] create a polygon from 4 point coordinates in C++

2019-07-10 Thread Ahmet Temiz
Hi, How can I create a polygon from 4 point coordinates in C++ ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency

Re: [gdal-dev] UnionCascaded operation failed

2019-06-30 Thread Ahmet Temiz
polyCollect geometry type of MultiPolygon instead of the list/vector, that > way you should be able to run the UnionCascaded method. > > > > /Casper > > > > *From:* gdal-dev *On Behalf Of *Ahmet > Temiz > *Sent:* 29. juni 2019 19:47 > *To:* gdal-dev > *

[gdal-dev] UnionCascaded operation failed

2019-06-29 Thread Ahmet Temiz
troyFeature( poFeature ); } OGRGeometry *result=polyCollect.UnionCascaded(); -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - G

Re: [gdal-dev] tiled vector map

2015-09-06 Thread Ahmet Temiz
Thank you Jukka for your interest. In my system, I intend to do that, specifically for our huge road map. regards On Sat, Sep 5, 2015 at 9:47 PM, Jukka Rahkonen < jukka.rahko...@maanmittauslaitos.fi> wrote: > Ahmet Temiz gmail.com> writes: > > > > > > > hello

[gdal-dev] tiled vector map

2015-09-05 Thread Ahmet Temiz
hello Is it possible to create tiled vector map with ogr ? kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency

[gdal-dev] to pick up certain colored areas

2015-02-10 Thread Ahmet Temiz
hello Is there any way to pick up certain colored areas from tif file and create a new ​tif file with this selected ​areas ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz

[gdal-dev] a postgis table to another

2014-11-16 Thread Ahmet Temiz
Hello Is it possible to export (CREATE )a postgis table to another in different projection? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS

[gdal-dev] (no subject)

2013-09-10 Thread Ahmet Temiz
hello can you tell me what is wrong with following expression: (most likely regular expression) ogr2ogr -where "DETAY!='YRD_MUNHANI' or DETAY!='PAFTA_KENARI' or DETAY!='KIYI'" dene.shp h22a1top.shp regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Dur

[gdal-dev] problem in where clause

2013-08-12 Thread Ahmet Temiz
VATERNER%\')" mode=2' regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaste

[gdal-dev] intersection map of two maps

2013-07-16 Thread Ahmet Temiz
hello I have two raster map which have different extents. I want to create intersection map of two maps. what expression should I use ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet

[gdal-dev] to categorize(reclass) a raster map

2013-07-12 Thread Ahmet Temiz
hello Is there any way to categorize(reclass) a raster map ? for example a slope map as: 0-5,5-10,10-20 regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information

[gdal-dev] dem values bigger than 0

2013-07-10 Thread Ahmet Temiz
hello In a DEM file(tif) , how can I extract values bigger than 0 ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and

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

2013-07-08 Thread Ahmet Temiz
hello Is there any way to fix this problem: " tiles with different size, and irregular blocking" regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı ____ Ahmet Temiz Geological Eng. Informati

[gdal-dev] weird slope map

2013-05-20 Thread Ahmet Temiz
Hello I obtained steplike slope map from elevation iso lines. What are the likely problems ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS

[gdal-dev] creating bounding box map of a contour map

2013-01-24 Thread Ahmet Temiz
hello I have a contour elevation (line) map. I create bounding box map ( as a rectangular polygon ) of this contour map using extend. how can I do that ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı

Re: [gdal-dev] divide a big shape file using ogr2ogr

2012-02-21 Thread ahmet temiz
of > features, use the -where option. Restrict the features copied to the new > shapefile by specifying the range of FIDs. > Ex: ogr2ogr -where "FID >= 0 and FID < 1000" dst.shp src.shp > > 2012/2/18 ahmet temiz >> >> hello >> >> how can I divi

[gdal-dev] divide a big shape file using ogr2ogr

2012-02-17 Thread ahmet temiz
hello how can I divide a big shape file into 5 equal pieces using ogr2ogr ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535

[gdal-dev] Getting field values after obtaining FID

2011-10-31 Thread ahmet temiz
lar record ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Grou

[gdal-dev] to create a rectangle polygon

2011-07-08 Thread ahmet temiz
hello Is it possible to create a rectangle polygon shp file from known minx, miny, maxx, maxy values using ogr2ogr ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu

[gdal-dev] SetAttributeFilter has no effect ?

2011-07-07 Thread ahmet temiz
ldAsString("lkod")); out.print(f.GetFID()); out.print(" " + f.GetFieldAsString("il")); out.println(" " + f.GetFieldAsString("koy"));

[gdal-dev] DEM with java and gdal*.jar

2011-07-02 Thread ahmet temiz
hello Is it possible to create a DEM from contour maps (shp) using java and gdal*.jar ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680

[gdal-dev] changing data type of a shapefile

2011-06-15 Thread ahmet temiz
hello how can I change data type of a shapefile by ogr2ogr ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535

[gdal-dev] regular expression in ogr2ogr

2011-04-08 Thread ahmet temiz
hello how can I use regular expression in ogr2ogr -sql " " something like : ogr2ogr -sql "select il,ilce,koy,etkili_nak from kd_nakil where il ???~ ??? 'kastamonu'" kasta2_kd_nakil.shp kd_nakil.shp regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Y

[gdal-dev] compilation problem

2011-04-04 Thread ahmet temiz
d references to `__stack_chk_fail_local' follow what can I do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel :

[gdal-dev] gdal python binding problem

2011-04-01 Thread ahmet temiz
Hello I got this error message in postgis configuration with gdal ( nightly source code): GDAL Python bindings with NumPy array support required by raster2pgsql.py loader. In gdal side what I did wrong. What do I have to do in swig/python directory ? regards -- Ahmet Temiz Jeoloji Müh

[gdal-dev] failing in making transparency

2011-02-05 Thread ahmet temiz
70"E, 42d 0'1.87"N) Lower Right ( 530751.831, 4539420.611) ( 33d21'56.38"E, 41d 0'16.87"N) Center ( 483972.383, 4594701.775) ( 32d48'28.68"E, 41d30'10.99"N) Band 1 Block=4677x1 Type=UInt16, ColorInterp=Palette Computed Min/Max=0.000,65

[gdal-dev] to make black areas transparent

2011-01-27 Thread ahmet temiz
I want to make black areas transparent, and used: gdalwarp -overwrite -dstnodata 0 -dstalpha geobk_jeo.tif geobk_jeo2.png it didn't make them transparent. regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lo

[gdal-dev] confused about using gdal_rasterize

2011-01-26 Thread ahmet temiz
hello I am confused about using gdal_rasterize I want to rasterize a geological map (vector polygons) and having one attributes and making nodata areas as transparent. how can I do that ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu

[gdal-dev] to create "transparent" image

2011-01-07 Thread ahmet temiz
hello Could you possibly give me an idea to create a "transparent" image from a shape file ? how can I do that ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872

[gdal-dev] to get postgis-polygon object using resultset in Java

2010-12-28 Thread ahmet temiz
hello how can I get postgis-polygon object using Resultset in Java ? like this way : ResultSet rs = stmt.executeQuery(qstr); while (rs.next()) { gdal.Geometry geo= } regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu

[gdal-dev] couldn't find "gdallocationinfo"

2010-12-04 Thread ahmet temiz
hello I have compiled version of GDAL 1.8dev, released 2010/01/19 But I couldn't find "gdallocationinfo" utility. Could you tell me why ? Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel

[gdal-dev] EPSG value

2010-11-05 Thread ahmet temiz
hello how can I get EPSG value of a shp file with OGR ( or gdal) ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ gdal-dev

[gdal-dev] smoothing lines

2010-10-31 Thread ahmet temiz
hello Is there any way to smooth lines (contours) in gdal ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ gdal-dev mailing

[gdal-dev] Kanun tasarısı ile ilgili not

2010-10-17 Thread ahmet temiz
lur diye düşünüyorum. Mesala Bayındırlık Bakanlığı kanun maddesine CBS ibaresini koydurmuş bu sayede CBS konu olduğu zaman ağırlık koyuyor. iyi çalışmalar -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel :

[gdal-dev] overlaying a map on another

2010-10-08 Thread ahmet temiz
hello how can I overlay one map on another ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] to get rgb and elevation values together

2010-09-24 Thread ahmet temiz
hello I am confused. when I used gdaldem color-relief, I lost elevation values. I only get rgb values. Is there any way to get rgb and elevation values together. gdaldem color-relief dem21.tif ramp22.txt dem_colored21.tif regards ___ gdal-dev mailin

Re: [gdal-dev] legend of the dem ?

2010-09-23 Thread ahmet temiz
le > which is given as the argument color_text_file. If you did create a map > using gdaldem color-relief, you should already have the file. Use the > entries from it. > > On Wed, Sep 22, 2010 at 1:12 AM, ahmet temiz wrote: >> >> So, what are they ? >> >> 2

[gdal-dev] trimming the map is out of mask

2010-09-23 Thread ahmet temiz
hello I have two tif maps. One is mask, the other is DEM. as usual, I want to trim the part of DEM which is out of this mask. how can I do that ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-

Re: [gdal-dev] gdal_fillnodata.py doesn't work

2010-09-22 Thread ahmet temiz
oat64, ColorInterp=Gray NoData Value=0 regards 2010/9/22 Chaitanya kumar CH : > ahmet, > > This error is reported by the grass library. > Is "work1.tif" in TIFF format? Can you post the output of gdalinfo on > work1.tif for more info? > > On Wed, Sep 22, 2010 at 1:50

[gdal-dev] gdal_fillnodata.py doesn't work

2010-09-22 Thread ahmet temiz
hello can you tell me what this problem is ? or...@orkun-desktop:~/data/pro1001/yuk$ python gdal_fillnodata.py -md 100 work1.tif dem1.tif ERROR 1: libgrass: MAPSET is not set Aborted regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lis

Re: [gdal-dev] legend of the dem ?

2010-09-21 Thread ahmet temiz
So, what are they ? 2010/9/21 Chaitanya kumar CH : > ahmet, > You have to create a legend of the dem from the color configuration file > using some other tool. > > On Wed, Sep 22, 2010 at 12:32 AM, ahmet temiz > wrote: >> >> I used gdaldem color-relief and  created

[gdal-dev] legend of the dem ?

2010-09-21 Thread ahmet temiz
I used gdaldem color-relief and created the map. Now, how can I generate the legend of the dem ? kind regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] problem in gdal_fillnodata.py

2010-09-21 Thread ahmet temiz
hello Could you tell me what the problem was ? or...@orkun-desktop:~/data/pro1001/yuk$ python gdal_fillnodata.py -md 100 work1.tif dem1.tif Traceback (most recent call last): File "/usr/local/gdal/swig/python/scripts/gdal_fillnodata.py", line 34, in import gdal File "/usr/local/lib/pyth

Re: [gdal-dev] gdal_grid from contour

2010-09-17 Thread ahmet temiz
thank you I am sorry but I am not clear. how shall we integrate elevation data if we burn vectors to all nodata ? regards 2010/9/17 Frank Warmerdam > ahmet temiz wrote: > >> hello >> >> Does gdal_grid have a capability of generating dem from elevation contour

[gdal-dev] gdal_grid from contour

2010-09-17 Thread ahmet temiz
hello Does gdal_grid have a capability of generating dem from elevation contour lines ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] nonspatial column with ogr.

2010-08-28 Thread ahmet temiz
thank you I think I need one more clarification. Doesn't "field" have same meaning with column ? or what does "field" correspond to in sql jargon ? I will appreciate if you make me clear 2010/8/24 Frank Warmerdam : > ahmet temiz wrote: >> >> hello >&g

[gdal-dev] nonspatial column with ogr.

2010-08-24 Thread ahmet temiz
hello I can create spatial column. But I don't know how I can create nonspatial column with ogr in gdal-java. something like column "name" and its value "" how can I do that ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

[gdal-dev] OVERWRITING a Layer

2010-08-23 Thread ahmet temiz
hello in gdal-java application. I encountered this problem. ERROR 1: Layer postlayer12 already exists, CreateLayer failed. Use the layer creation option OVERWRITE=YES to replace it. how can I solve this problem ? regards ___ gdal-dev mailing list gda

[gdal-dev] Making Createlayer overwritable

2010-08-22 Thread ahmet temiz
hello Layer player12 = dspost2.CreateLayer("postlayer12", sr, ogr.wkbLineString, null); How can I make createlayer overwritable in java ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] problem in PostgreSQL layer

2010-08-15 Thread ahmet temiz
hello I am trying to build a java application. I received this error message: ERROR 1: AddGeometryColumn failed for layer postlayer12, layer creation has failed. when I changed, String name="PG:dbname='bzk2' host='localhost' port='5432' user='postgres' password='22'";//super user DataS

[gdal-dev] to get length of LINESTRING

2010-08-12 Thread ahmet temiz
hello which function should I use to get length of LINESTRING in gdal-java ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] wrong in LINESTRING

2010-08-08 Thread ahmet temiz
hello I was wondering what I did wrong in the following code ? Geometry line2=new Geometry(1,"LINESTRING((33.0 41.0 0,33.5 42.5 0, 33.9 41.9 0,33.0 41.0 0))", null, null); Feature feature = new Feature(layerDefinition); feature.SetFID(0);

Re: [gdal-dev] gdal compilation problem

2010-07-15 Thread ahmet temiz
hello and thank you Tamas, I am using linux ubuntu. I tried to use gdal-1.7.2. regards 2010/7/15 Tamas Szekeres : > > > 2010/7/15 ahmet temiz >> >> hello >> >> I urgently need to have gdal-java. >> > > > If you work on Windows, you can obtain

[gdal-dev] gdal compilation problem

2010-07-14 Thread ahmet temiz
hello I urgently need to have gdal-java. But an error arose at compilation in swig-java like this gdal_wrap.cpp:4381: error: ‘sProgressInfo’ was not declared in this scope what might be the wrong ? regards ___ gdal-dev mailing list gdal-dev@lists.o

[gdal-dev] problem in gdal-java compilation

2010-07-14 Thread ahmet temiz
hello as I tried to compile gdal-java, I received error message. va-6-sun/include/linux -c gdal_wrap.cpp cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ gdal_wrap.cpp: In function ‘_jstring* Java_org_gdal_gdal_gdalJNI_get_1Driver_1ShortNa

[gdal-dev] Linestring that are within Polygon

2010-07-12 Thread ahmet temiz
hello have two "shp" files. One is in linestring geometry, the other is in polygon. I want to create a new shp file as in linestring that are within polygon. how can I do that with ogr2ogr ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] projection transformation

2010-07-09 Thread ahmet temiz
hello I want to do projection transformation in gdal-java. from epsg:32636 (UTM) to epsg:4326 which commands should I use ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Exception -- gdalJNI.AllRegister()

2010-07-04 Thread ahmet temiz
rjni.dll > (or the equivalent .so if you're on Linux) in the PATH. > > Le Sunday 04 July 2010 18:30:58 ahmet temiz, vous avez écrit : >> UnsatisfiedLinkError > > > ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Exception -- gdalJNI.AllRegister()

2010-07-04 Thread ahmet temiz
hello in gdal-java application I received this error message: java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.AllRegister() I checked whether gdal-1.6.jar in library build path. It looks ok. --what are the possible reason of this problem ? --where can I find gdal.jar ? regards ___

[gdal-dev] in gdal-java - initialize the driver manager

2010-07-02 Thread ahmet temiz
hello as a new gdal-java user I am wondering how we can initialize the driver manager? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] first time gdal-java exception

2010-06-29 Thread ahmet temiz
2010/6/29 Ivan Lucena : > Hi there. > > Did you initialize the driver manager? > > Example: > http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/GDALGrid.java#L521 > > Regards, > > Ivan > > >> ---Original Message--- >> From: ahmet t

[gdal-dev] first time gdal-java exception

2010-06-29 Thread ahmet temiz
hello when I tried gdal-java in first time, I got this exception: "Exception in thread "main" java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.wkb25Bit_get()I" here is the code fragment that gives the exception: Geometry lr1 = new Geometry(ogr.wkbLinearRing, null, null, null);

[gdal-dev] couldn't create vrt file

2010-06-27 Thread ahmet temiz
4800590.44,501569.85 4800522,501471.61 4800521.63,501453.34 4800585.97')) ~~~ polygon1.csv wkbPolygon Record_Id EPSG:32636 I couldn't understand the problem. regards

[gdal-dev] where gdal-java package

2010-05-20 Thread ahmet temiz
hello where can I find gdal-lava package for ubuntu ? or what might be the alternatives regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] coordinate transformation with java library

2010-05-19 Thread ahmet temiz
rac.osgeo.org/osgeo4w/ > [2] http://geotools.org/ > [3] http://www.vividsolutions.com/jts/jtshome.htm > > >>  ---Original Message--- >>  From: ahmet temiz >>  To: gdal-dev@lists.osgeo.org >>  Subject: [gdal-dev] coordinate transformation with java library >>  Sent: May 1

[gdal-dev] coordinate transformation with java library

2010-05-19 Thread ahmet temiz
hello I need to do coordinate transformation in my java application from UTM to geographic coordinates. Does gdal have any jar library that can do this transformation ? if there is whare can I find it ? What might be the other alternatives ? regards Ahmet Temiz Turkey

[gdal-dev] displaying data in browse mode

2010-01-06 Thread ahmet temiz
hello how can I get the data with ogrinfo in browse mode ? regards Ahmet Temiz ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev