Re: [mapserver-users] 7.2.1 html [shpxy] formating (templating)

2019-05-09 Thread Lime, Steve D (MNIT)
I think cs is coordinate separator so it only comes into play if you have 
multiple points. Try xf=“&” where xf means “x footer”.

From: mapserver-users  on behalf of 
pe_lord 
Sent: Tuesday, May 7, 2019 11:41:44 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] 7.2.1 html [shpxy] formating (templating)

I try to format my html getfeatureinfo response with my geometry coordinate
(point).

In my html.html response, I want [shpxy] with a "&" separator.

Here what I set into my html template:
[shpxy xh="x=" yh="y=" cs="&"]

and I get this response:
x=701467,y=305958

I need to concatenate my x an y with a & to build an url. Something I'm
doing wrong?




--
Sent from: 
https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FMapserver-User-f4226646.htmldata=02%7C01%7Csteve.lime%40state.mn.us%7C518d2ae99b60442b0d2c08d6d30ae651%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636928441098283309sdata=ylBKFHAzd9lQj7fqZSvr9%2FtxsTfBJajah0FayYoBOHw%3Dreserved=0
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-usersdata=02%7C01%7Csteve.lime%40state.mn.us%7C518d2ae99b60442b0d2c08d6d30ae651%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636928441098283309sdata=YRDYd7RQTNsXjfKRT99mSCeYAib8RuV3BXSwjbZ1zNc%3Dreserved=0
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] WCS 2.0.1 sends multipart response for ascii grid format

2019-05-09 Thread Rahkonen Jukka (MML)
Hi,

I thought I could resolve the problem by setting
CONFIG "GDAL_PAM_ENABLED" "NO"

Unfortunately nothing changed.

-Jukka Rahkonen-


Lähettäjä: Rahkonen Jukka (MML)
Lähetetty: keskiviikko 8. toukokuuta 2019 18.53
Vastaanottaja: Mapserver-Users (mapserver-users@lists.osgeo.org) 

Aihe: WCS 2.0.1 sends multipart response for ascii grid format

Hi,

I have Mapserver 7.2.1 and outputformat defined as

OUTPUTFORMAT
NAME AAIGRID
DRIVER "GDAL/AAIGRID"
MIMETYPE "application/x-ascii-grid"
IMAGEMODE FLOAT32
EXTENSION "grd"
FORMATOPTION "SIGNIFICANT_DIGITS=5"
END

The WCS 2.0.1 GetCoverage request is sending the response as multipart.  The 
first part is the ASCII grid and it is followed by these two parts

--wcs
Content-Type: application/octet-stream
Content-Description: coverage data
Content-Transfer-Encoding: binary
Content-ID: coverage/out.grd.aux.xml
Content-Disposition: INLINE; filename=out.grd.aux.xml


  
2
72.00
72.00
  


--wcs
Content-Type: application/octet-stream
Content-Description: coverage data
Content-Transfer-Encoding: binary
Content-ID: coverage/out.prj
Content-Disposition: INLINE; filename=out.prj

PROJCS["ETRS89_TM35FIN_E_N",GEOGCS["GCS_ETRS_1989",DATUM["D_ETRS_1989",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",50],PARAMETER["false_northing",0],UNIT["Meter",1]]

Is there a way to get rid of the last parts of the response?

-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users