[mapserver-users] serving WMS GetFeatureInfo to ESRI JavaScript client
I need to serve WMS GetFeatureInfo requests in a suitable format for an ESRI JavaScript client. I'm asking if anyone has any tips or experience they could share. I'm not developing the client. I'm serving the content to a company that's used to using ESRI REST services and doesn't have any experience with WMS. I don't have any experience with the ESRI JavaScript client. >From what little I've found so far the request is typically INFO_FORMAT=text/html but the response is formatted as XML. Should the response mime type be text/xml or does it matter? Is there an XML structure that the ESRI client expects to receive or is that entirely up to the app developer? Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] offset and symbolscaledenom
Thanks Steve, I was able to find a workaround. On Wed, 1 Sept 2021 at 09:54, Steve Lime wrote: > Not that I know of - unless you did so yourself via MapScript. This seems > like a limitation of the current implementation rather than a bug. We'd > need to add additional parameters to limit the offsets (e.g. MINOFFSET, > MAXOFFSET). --Steve > > On Fri, Aug 27, 2021 at 2:18 PM Travis Kirstine > wrote: > >> Is there a method to scale the offset value between min / max sizes when >> using symbolscaledenom. I'm trying to scale and offset a label but it >> appears the offset is static based on the symbolscaledenon. >> >> Thanks >> >> mapfile >> >> LAYER >> >> SYMBOLSCALEDENOM 1000 >> CLASS >> NAME "label" >> EXPRESSION "POINT" >> LABEL >> OFFSET 0 12 >> FONT arial >> SIZE 12 >> MINSIZE 8 >> MAXSIZE 12 >> TYPE truetype >> COLOR 0 0 0 >> STYLE >> GEOMTRANSFORM 'labelpoly' >> COLOR "#ff4f" >> END >> END >> END >> >> >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> > ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] offset and symbolscaledenom
Not that I know of - unless you did so yourself via MapScript. This seems like a limitation of the current implementation rather than a bug. We'd need to add additional parameters to limit the offsets (e.g. MINOFFSET, MAXOFFSET). --Steve On Fri, Aug 27, 2021 at 2:18 PM Travis Kirstine wrote: > Is there a method to scale the offset value between min / max sizes when > using symbolscaledenom. I'm trying to scale and offset a label but it > appears the offset is static based on the symbolscaledenon. > > Thanks > > mapfile > > LAYER > > SYMBOLSCALEDENOM 1000 > CLASS > NAME "label" > EXPRESSION "POINT" > LABEL > OFFSET 0 12 > FONT arial > SIZE 12 > MINSIZE 8 > MAXSIZE 12 > TYPE truetype > COLOR 0 0 0 > STYLE > GEOMTRANSFORM 'labelpoly' > COLOR "#ff4f" > END > END > END > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users