[gdal-dev] GDAL Javascript

2011-10-13 Thread Mohammed Rashad
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, India

Re: [gdal-dev] PostgreSQL problems

2011-10-13 Thread Eli Adam
David, It probably is a configuration or simple error, however, you've not given much detail to let other people try to guess what it might be. Kyle asked for the output of your command. Also, the exact command (copied from terminal) may help too. I looked at the OGR PosrgreSQL/PostGIS for

Re: [gdal-dev] PostgreSQL problems

2011-10-13 Thread David J. Bakeman
Mateusz Łoskot wrote: On 13 October 2011 23:47, David J. Bakeman wrote: I'm on Fedora core 14 with gdal 1.7.3. I setup postgre and created a spatial enabled database with a table that includes geometry. I can connect using psql mydb. However when I try ogrinfo -ro PG:dbname=mydb it fails

Re: [gdal-dev] PostgreSQL problems

2011-10-13 Thread Mateusz Łoskot
On 13 October 2011 23:47, David J. Bakeman wrote: > I'm on Fedora core 14 with gdal 1.7.3. > > I setup postgre and created a spatial enabled database with a table that > includes geometry.  I can connect using psql mydb.  However when I try > ogrinfo -ro PG:dbname=mydb it fails saying no driver fo

RE: [gdal-dev] PostgreSQL problems

2011-10-13 Thread Kyle Shannon
Can you show us the output of the command? And also ogrinfo --formats From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of David J. Bakeman Sent: Thursday, October 13, 2011 4:47 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] PostgreSQL problems I'm s

Re: [gdal-dev] ogr2ogr problem with DECIMAL big int columns

2011-10-13 Thread Luca Sigfrido Percich
Even, thank you very much for you explanation, which is clear and complete as usual. I understand. The -fieldTypeToString workaround will be fine for me until further OGR development or implementation of the rfc. All the best Sig Il giorno gio, 13/10/2011 alle 21.36 +0200, Even Rouault ha scrit

[gdal-dev] PostgreSQL problems

2011-10-13 Thread David J. Bakeman
I'm sure I've done something stupid but I've googled for hours and haven't been able to figure this out.  Any help is greatly appreciated! I'm on Fedora core 14 with gdal 1.7.3. I setup postgre and created a spatial enabled database with a table that includes geometry.  I can connect using ps

Re: [gdal-dev] ogr2ogr problem with DECIMAL big int columns

2011-10-13 Thread Even Rouault
Le jeudi 13 octobre 2011 10:49:53, Luca Sigfrido Percich a écrit : > Hi all, > > I'm trying to convert with ogr2ogr a shapefile having a decimal(15,0) ID > column containig very long integer unique IDs (for example, > 113800200319004) > For whom it may concern, it is a TeleAtlas MultiNet file. >

[gdal-dev] Border problem with gdal2tiles

2011-10-13 Thread Jorge Arévalo
Hello, I'm executing gdal2tiles against 2 different TIFF files. Say 'image1.tiff' and 'image2.tiff'. Image1 size is 3.5 GB, and image2 size is 4.1 GB. Here, links to gdalinfo outputs applied to them: image1: http://dl.dropbox.com/u/6599273/gdal/gdalinfo_output_image1.txt image2: http://dl.dropbox

Re: [gdal-dev] gdal_fillnodata.py filling interior holes in RGB images

2011-10-13 Thread Travis Kirstine
Brian, Thanks for your help, I had to switch up some of the commands to get it to work. This is what I did: # merge all the tiles gdalwarp -co TILED=YES -dstnodata 0 1000m/*.tif merged.tif # create a mask file for nodata at the edge of the image nearblack -near 0 -nb 0 -setmask -setalpha merged

[gdal-dev] ogr2ogr problem with DECIMAL big int columns

2011-10-13 Thread Luca Sigfrido Percich
Hi all, I'm trying to convert with ogr2ogr a shapefile having a decimal(15,0) ID column containig very long integer unique IDs (for example, 113800200319004) For whom it may concern, it is a TeleAtlas MultiNet file. When converting to shapefile, I get the same column type in out.shp - decimal(15,