[gdal-dev] C# Bindings warp image using gcp

2011-08-10 Thread Edi.Karadumi
Hello im trying to warp an image using 4 or more gcp points. I have already done it in c++, but my project is in c# so im trying to convert it. I got the following example from the GDAL warp API tutorial and adjusted it for my needs. I have done most of the other parts but i cant convert the follow

[gdal-dev] Re: C# Binding ForceToMultiPolygon

2010-12-30 Thread Edi.Karadumi
i have resolved the problem. I had a constrain in postgre to check if the geometry was multipolygon now i added (or polygon) check and the import works fine. Best Regards Edi Karadumi -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/C-Binding-ForceToMultiPolygon-tp5869504

[gdal-dev] C# Binding ForceToMultiPolygon

2010-12-27 Thread Edi.Karadumi
Hi everyone, im a new user to ogr and i have used c# binding and then converted them to use to my application in vb.net. Im making an application to import shape files to postgres. I have made the connection, imported the data, but i need to know the progress so i have used a loop to transfer the

[gdal-dev] Re: Creating new mosaic overview

2010-08-19 Thread Edi.Karadumi
] and then build an external overview using "gdaladdo -ro" specifying the level of overview. On Thu, Aug 19, 2010 at 5:59 PM, Edi.Karadumi <[hidden email]> wrote: i have 3T of images and there are more than 12000 tiles. I want to create a new mosaic overview. Im using the gdal_mer

[gdal-dev] Creating new mosaic overview

2010-08-19 Thread Edi.Karadumi
i have 3T of images and there are more than 12000 tiles. I want to create a new mosaic overview. Im using the gdal_merge.py command. I cant use gdal_merge for every 2 images. Is there any other way to merge the tiles for the new layer? if my pixel size of the original tile are 0.08meters, how many

[gdal-dev] Re: Raster Strategies Examples

2010-08-17 Thread Edi.Karadumi
Thanks, i have read one of your posts: >Glen, > > As Frank has pointed out in his reply (and Ed has said for several > years), >the answer is to pyramid your data. This means constructing layers at >different resolutions, then setting MINSCALE MAXSCALE for each of the layers >in the map fil

[gdal-dev] Re: Raster Strategies Examples

2010-08-05 Thread Edi.Karadumi
Edi, its not like that, you provide shp2img a map file, bounding box, height and width of output file, and it produces a image made of all the tiles that land in that bounding box brian - Hide quoted text - On Wed, 2010-08-04 at 16:09 +0200, Edi KARADUMI wrote: > oh yeah. thnx > But do you know

[gdal-dev] Re: SPHEROID["unretrievable - using WGS84"...

2010-08-05 Thread Edi.Karadumi
Thnx, that dids the job. Actually i was trying with gdal_translate -a_srs "+proj=tmerc +lat_0=0 +lon_0=21 +k=1 +x_0=450 +y_0=0 +ellps=krass +units=m +no_defs" input.tif output.tif and it worked too. Another thing if i execute this command after i have created the overview they are not in the n

[gdal-dev] SPHEROID["unretrievable - using WGS84"...

2010-08-05 Thread Edi.Karadumi
when i use gdalwarp -t_srs EPSG:2199 source.tif dest.tif i get an ok but when i use gdalinfo i get the following result: Driver: GTiff/GeoTIFF Files: dest.tif dest.tfw Size is 9375, 6250 Coordinate System is: PROJCS["unnamed", GEOGCS[, DATUM["unknown", SPHEROIK["unretrievab