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

2017-04-10 Thread Peter Baumann
Hi Andrea, On 04/10/2017 03:06 PM, Andrea Aime wrote: > Hi, > sorry I lost track of the subject. So, to close up, and approach where the > envelope is reported as "lat lon" and the "i j" raster space > axis would map pairwise, so i pointing north-wards and j east-wards, would be > considered valid

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

2017-04-10 Thread Peter Baumann
Hi all, why not simply check against the compliance tests of WCS 2 and maybe a reference implementation? Might be the easiest for answering all such questions. cheers, Peter On 04/10/2017 04:23 PM, Even Rouault wrote: > > On lundi 10 avril 2017 15:57:03 CEST Andrea Aime wrote: > > > Hi Even, >

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

2017-04-10 Thread Rahkonen Jukka (MML)
eo.org' (gdal-...@lists.osgeo.org) ; Peter Baumann Aihe: Re: [Geoserver-devel] [gdal-dev] GML lat-lon coverages and interoperability Hi Even, in CIS 1.1 they state: Coverages are assumed to have a 1:1 correlation between the axis names given in axis-Labels and gridLabels, i.e.: they sha

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

2017-04-10 Thread Even Rouault
On lundi 10 avril 2017 15:57:03 CEST Andrea Aime wrote: > Hi Even, > in CIS 1.1 they state: > > Coverages are assumed to have a 1:1 correlation between the axis names > given in axis-Labels and gridLabels, i.e.: they shall relate pairwise, > given by their sequence position. For example, axisLabel

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

2017-04-10 Thread Andrea Aime
Hi Even, in CIS 1.1 they state: Coverages are assumed to have a 1:1 correlation between the axis names given in axis-Labels and gridLabels, i.e.: they shall relate pairwise, given by their sequence position. For example, axisLabels=“Lat Long h date” and gridLabels={i j k l} implies a correspondenc

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

2017-04-10 Thread Even Rouault
On lundi 10 avril 2017 15:06:55 CEST Andrea Aime wrote: > Hi, > sorry I lost track of the subject. So, to close up, and approach where the > envelope is reported as "lat lon" and the "i j" raster space > axis would map pairwise, so i pointing north-wards and j east-wards, would > be considered vali

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

2017-04-10 Thread Andrea Aime
Hi, sorry I lost track of the subject. So, to close up, and approach where the envelope is reported as "lat lon" and the "i j" raster space axis would map pairwise, so i pointing north-wards and j east-wards, would be considered valid? E.g., if one rescaling says "i is going to be 200 pixels" it re

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

2017-04-05 Thread Peter Baumann
On 04/05/2017 02:16 PM, Andrea Aime wrote: > On Tue, Apr 4, 2017 at 12:24 PM, Peter Baumann > wrote: > > To avoid the problems that other standards have with axis order, coverages > contain the axis order explicitly, in the axisLabels attribute. Her

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

2017-04-05 Thread Andrea Aime
On Tue, Apr 4, 2017 at 12:24 PM, Peter Baumann < p.baum...@jacobs-university.de> wrote: > To avoid the problems that other standards have with axis order, coverages > contain the axis order explicitly, in the axisLabels attribute. Here an > example: > > http://www.opengis.net/def/crs/EPSG/

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

2017-04-04 Thread Peter Baumann
Hi all, introducing (outing) myself as the coverage standard / WCS editor. To avoid the problems that other standards have with axis order, coverages contain the axis order explicitly, in the axisLabels attribute. Here an example: http://www.opengis.net/def/crs/EPSG/0/4326"; *axisLabels=

Re: [Geoserver-devel] [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-...@list

Re: [Geoserver-devel] [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

Re: [Geoserver-devel] [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: [Geoserver-devel] [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: [Geoserver-devel] [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: [Geoserver-devel] [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