Re: [gdal-dev] Generating Lat, long Cordinates with bearing line and angle

2013-12-16 Thread Phil Scadden
I have a *lat, lon* coordinate with a known projection system I assume it a initial point. I want to generate a next Position with the an *angle* with (horizontal/vertical) and *bearing length* in lat,lon coordinates and complete it with angles and bearing lengths to form a polygon Try ht

Re: [gdal-dev] Vector geospatial data format for massive quantities of (poly)lines

2013-12-09 Thread Phil Scadden
There is also the Contouring WPS in geoserver. Beyond that I would look at storage in PostGIS. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. __

Re: [gdal-dev] Combining quantized png files in gdal2tiles

2013-06-15 Thread Phil Scadden
Thanks for that Andre. I have been looking over code in cpt2rbg.py and that gives my more insight into what is going on. I think I will try to build that cpt2rbga directly into gdal2tiles.py. Notice: This email and any attachments are confidential. If received in error please destroy and immedia

Re: [gdal-dev] Combining quantized png files in gdal2tiles

2013-06-13 Thread Phil Scadden
Okay, but how is the best way to fix it? Since pnqnq runs on individual tiles, I would not expect tiles to have the same palette. What is needed is to read the nq tiles into memory, convert to RGBA raster, then put that into overview tile. How tricky is this to do? Any pointers into the API th

Re: [gdal-dev] Combining quantized png files in gdal2tiles

2013-06-13 Thread Phil Scadden
>Not sure to completely follow you ... Okay, what goes on in gdal2tiles.py, is that after creating the base tiles, (and in my version, they are quantised) the base tiles are taken in groups of 4, read into a new MEM driver raster to make a one tile, then resampled down to size of base tile to

[gdal-dev] Combining quantized png files in gdal2tiles

2013-06-12 Thread Phil Scadden
those png files and in the output, then colour palette is more of grayscale (actually a readscale). Does GDAL read quantized PNG properly but some intermediary processing needed (what??) or is there a problem with the driver? -- Phil Scadden, GNS Science Ltd 764 Cumberland St, Private Bag 1930

Re: [gdal-dev] geographic vs projected coordinate system

2013-06-10 Thread Phil Scadden
- Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64

[gdal-dev] Belay that comment gdal2tiles.

2013-06-09 Thread Phil Scadden
Found it was working in the 1.9.3 okay, if I ignored all the instructions about using 16. Merging my stuff. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. _

[gdal-dev] What has happened with gdal2tiles?

2013-06-09 Thread Phil Scadden
gdal2tiles seems to have become something of an orphan. I install Osgeo with gdal-16, Go Gdal-16 on command line, but gdal2tiles doesnt work. I used to have to going no problem in an older osgeo version. This is with the stock version of gdal2tiles Traceback (most recent call last): File "

[gdal-dev] Unable to open datasource SDE - but I have plugin all installed etc etc. What I am I missing.

2013-04-07 Thread Phil Scadden
I have gdal 1.9.2. I have copied in the 3 SDE dlls. I have copied OGR_SDE and GDAL_SDE dlls in the plugins 1.9 area and I have got around the requests for debug MS dlls. At the end of all that, I still get: Unable to open datasource `SDE: etc' with the following drivers. -> ESRI Shapefile

Re: [gdal-dev] Odd behavior with OGR2OGR and arcSDE - tries to copy multiple layers.

2012-09-05 Thread Phil Scadden
> > Try the same command with the ArcSDE layer name specified at the end > for ogr2ogr. You mean? ogr2ogr -f "PostgreSQL" PG:"host=myhost user=myuser dbname=mydb password=** port=5432" -nln postgis_name SDE:SDE,5151,,***,,sde_name sde_name I wonder why "layer" in the SDE f

[gdal-dev] Odd behavior with OGR2OGR and arcSDE - tries to copy multiple layers.

2012-09-05 Thread Phil Scadden
es the postgis layer with each (I discovered by interrupting the process or looking at data in postgis). I am using GDAL from stable version of MS4W, with the sde dlls for arcSDE 9.3 -- Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand P