[gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Rahkonen Jukka (MML)
Cross posting intentionally. TL;DR I wonder if all projects under the OSGeo umbrella, starting from GDAL and Geoserver, could make a common agreement on not to use GridFunctions in GML coverages if they are not strictly needed. The other alternative would be to make all projects to support GML

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Andrea Aime
On Mon, Apr 3, 2017 at 2:32 PM, Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi> wrote: > With orthophoto coverages I believe that all cases could be handled with > the default gridFunctions: startPoint at gml:Low, axisOrder +1 +2, sequence > rule “Linear”. As far as I have understood G

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Rahkonen Jukka (MML)
Great, first hit from Andrea. I am awaiting if Even strikes back. His creation (GDAL JP2OpenJPEG driver) writes out EPSG:4326 coverage into GML JP2 this way, without having gridFunction. http://www.opengis.net/gml"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Andrea Aime
On Mon, Apr 3, 2017 at 3:19 PM, Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi> wrote: > > > 61.7282236395245 24.7248340978191 > > 61.7838827490233 24.8422668729657 > Can you clarify which one is longitude and which one is latitude? :-) It's one thing that really get

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Rahkonen Jukka (MML)
Hi, Gdalinfo about my test image “4326.jp2”: Size is 15518, 7355 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Even Rouault
On lundi 3 avril 2017 13:19:18 CEST Rahkonen Jukka (MML) wrote: > Great, first hit from Andrea. I am awaiting if Even strikes back. I don't really have an opinion on this. I haven't read the relevant part of the GML or GMLCOV spec and I'm afraid I wouldn't understand it well. The GDAL GMLJP2 co

[gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread Stephen Woodbridge
Hi All, I have a shapefile(s) and I want to read the features, generate some metrics about each feature and then add them to the that feature. I'm using python and one obvious way to to in effect create a new shapefile with the columns I need to add, then copy the existing shapefile to the ne

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread jratike80
Stephen Woodbridge wrote > Hi All, > > I have a shapefile(s) and I want to read the features, generate some > metrics about each feature and then add them to the that feature. I'm > using python and one obvious way to to in effect create a new shapefile > with the columns I need to add, then co

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread Stephen Woodbridge
On 4/3/2017 11:37 PM, jratike80 wrote: Stephen Woodbridge wrote Hi All, I have a shapefile(s) and I want to read the features, generate some metrics about each feature and then add them to the that feature. I'm using python and one obvious way to to in effect create a new shapefile with the col

Re: [gdal-dev] GML lat-lon coverages and interoperability

2017-04-03 Thread Rahkonen Jukka (MML)
Hi, Adding mapserver-dev to recipients in hope that Stephan Meissl notices and could share his opinion. Mapserver WCS 2.0.1 does not generate axisOrder. -Jukka Rahkonen- Lähettäjä: Even Rouault Lähetetty: 3. huhtikuuta 2017 23:03 Vastaanottaja: gdal-dev@list