[mapserver-users] How add a point remotelly
Andrea Peri
aperi2007 at gmail.com
Sun Jan 21 02:41:03 PST 2018
Hi Jukka,
Your is a good idea.
I try it ,
The fragment I try is this:
TYPE POINT
PROJECTION
"+init=epsg:3003"
END
EXTENT 1530000 4665000 1800000 4950000
VALIDATION
'coordinates' '^[-a-zA-Z0-9_.\=#\'&%() ]+$'
'default_coordinates' '1650000 4800000'
END
FEATURE
POINTS
%coordinates% <-- line 593 of my mapfile.
END
END
But unfortunally the mapserver report always the error.
[Sun Jan 21 11:36:26 2018].660 loadFeaturePoints(): Unknown identifier.
Parsing error near (%):(line 593)
2018-01-21 11:22 GMT+01:00 Rahkonen Jukka (MML) <
jukka.rahkonen at maanmittauslaitos.fi>:
> I would try first with one variable %coordinates% for avoiding possible
> problem because of subsequent % signs.
>
> -Jukka Rahkonen-
> ------------------------------
> Lähettäjä: Andrea Peri <aperi2007 at gmail.com>
> Lähetetty: 21.1.2018 11:58
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] How add a point remotelly
>
> Hi,
> Is possible to use the runtime-substitution to add a point into a map
> layer ?
>
> I try this, but it do error.
>
> FEATURE
> POINTS
> %coord_est% %coord_north%
>
> The log report me: "unknow % char"
>
> Many thx.
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180121/a69daf77/attachment.htm>
More information about the MapServer-users
mailing list