Re: [mapserver-users] Is there a way of getting existing settings from a mapfile via CGI?

2019-07-29 Thread Lime, Steve D (MNIT)
By mapfile settings do you mean a list of mutable properties by layer, class, 
style, etc...? If so, then no, that doesn't exist as part of the CGI. I would 
think doing so would be pretty challenging in a generic way.

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Basques, Bob (CI-StPaul)
Sent: Monday, July 29, 2019 11:54 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Is there a way of getting existing settings from a 
mapfile via CGI?

This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious 
emails to Minnesota IT Services Security Operations Center.



All,

I have a thought on populating a FORM with the results of a “MapFile SETTINGS” 
query.  The end game being a  method for users to change current settings on 
the fly.

Could I need to build a generic template for this, or would all exceptions need 
to be handled, like missing values, etc?  What happens if something doesn’t 
exist as a setting in the return . .

Just thinking out loud.

Using mostly WMS/WFS calls to MapServer right now, so I could possibly go the 
SLD route, but, other thoughts?

bobb


___
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%7C322b383624ec462b5dcd08d714455a82%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C637000160407407040sdata=rsENRqIXDJUmdBAAI47X7UVL%2BszFjZwU7fNtrPAcetA%3Dreserved=0
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Is there a way of getting existing settings from a mapfile via CGI?

2019-07-29 Thread Basques, Bob (CI-StPaul)
All,

I have a thought on populating a FORM with the results of a “MapFile SETTINGS” 
query.  The end game being a  method for users to change current settings on 
the fly.

Could I need to build a generic template for this, or would all exceptions need 
to be handled, like missing values, etc?  What happens if something doesn’t 
exist as a setting in the return . .

Just thinking out loud.

Using mostly WMS/WFS calls to MapServer right now, so I could possibly go the 
SLD route, but, other thoughts?

bobb


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