Re: [mapserver-users] Projection help

2019-07-31 Thread Ian Walberg
Steve,

Actually that does work.

Thanks

Ian

From: Ian Walberg
Sent: Wednesday, July 31, 2019 7:00 PM
To: 'Lime, Steve D (MNIT)' ; 
mapserver-users@lists.osgeo.org
Subject: RE: Projection help

Steve,

Good point, I did have the extent in meters but that did not work.

Should these work?
EXTENT -20026376 -20048966 20026376 20048966

Thanks

Ian

From: Lime, Steve D (MNIT) 
mailto:steve.l...@state.mn.us>>
Sent: Wednesday, July 31, 2019 6:38 PM
To: Ian Walberg mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: Projection help

How are you setting an extent? The default extent you're defining is in lat/lon.
________
From: Ian Walberg mailto:ian.walb...@airborne.aero>>
Sent: Wednesday, July 31, 2019 5:34:05 PM
To: Lime, Steve D (MNIT) 
mailto:steve.l...@state.mn.us>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> 
mailto:mapserver-users@lists.osgeo.org>>
Subject: RE: Projection help


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.



Steve,



The map file below draws a non Mercator projection and if the epsg:4326 line is 
uncommented then the map is blank.



This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6.



Any ideas?



Thanks



Ian





MAP

NAME global_map

STATUS ON

SIZE 1024 600

EXTENT -180 -90 180 90

 LAYER

   NAME "Earth_Vector"

   STATUS DEFAULT

   TYPE LINE

   DEBUG 3



   PROJECTION

#"init=epsg:4326"

   END



   DATA "../shp/land/ne_110m_land.shp"



   CLASS

 STYLE

   ANTIALIAS TRUE

   COLOR 0 255 0

   WIDTH 1

 END

   END



END



  PROJECTION

"init=epsg:3857"

  END



END #MAP END



From: Lime, Steve D (MNIT) 
mailto:steve.l...@state.mn.us>>
Sent: Wednesday, July 31, 2019 3:22 PM
To: Ian Walberg mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: RE: Projection help



Should be straight forward. In the natural earth layers you'd have:



PROJECTION

"init=epsg:4326" # geographic

END



and at the MAP level you'd have:



  PROJECTION

"init=epsg:3857" # web mercator

  END



--Steve



From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Ian Walberg
Sent: Wednesday, July 31, 2019 4:56 PM
To: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] Projection help





Hello,



We have used different projections previously but cannot get them to work at 
the moment.



All the examples we can find online look ok but do not make any difference to 
the generated map.



A way of projecting the Natural Earth vector country outlines as Mercator would 
be a perfect example.



Adding  CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output.



Thanks



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

Re: [mapserver-users] Projection help

2019-07-31 Thread Ian Walberg
Steve,

Good point, I did have the extent in meters but that did not work.

Should these work?
EXTENT -20026376 -20048966 20026376 20048966

Thanks

Ian

From: Lime, Steve D (MNIT) 
Sent: Wednesday, July 31, 2019 6:38 PM
To: Ian Walberg ; mapserver-users@lists.osgeo.org
Subject: Re: Projection help

How are you setting an extent? The default extent you're defining is in lat/lon.

From: Ian Walberg mailto:ian.walb...@airborne.aero>>
Sent: Wednesday, July 31, 2019 5:34:05 PM
To: Lime, Steve D (MNIT) 
mailto:steve.l...@state.mn.us>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> 
mailto:mapserver-users@lists.osgeo.org>>
Subject: RE: Projection help


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.



Steve,



The map file below draws a non Mercator projection and if the epsg:4326 line is 
uncommented then the map is blank.



This is on a windows machine using Mapserver 7.0.7 from MS4W 3.2.6.



Any ideas?



Thanks



Ian





MAP

NAME global_map

STATUS ON

SIZE 1024 600

EXTENT -180 -90 180 90

 LAYER

   NAME "Earth_Vector"

   STATUS DEFAULT

   TYPE LINE

   DEBUG 3



   PROJECTION

#"init=epsg:4326"

   END



   DATA "../shp/land/ne_110m_land.shp"



   CLASS

 STYLE

   ANTIALIAS TRUE

   COLOR 0 255 0

   WIDTH 1

 END

   END



END



  PROJECTION

"init=epsg:3857"

  END



END #MAP END



From: Lime, Steve D (MNIT) 
mailto:steve.l...@state.mn.us>>
Sent: Wednesday, July 31, 2019 3:22 PM
To: Ian Walberg mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: RE: Projection help



Should be straight forward. In the natural earth layers you'd have:



PROJECTION

"init=epsg:4326" # geographic

END



and at the MAP level you'd have:



  PROJECTION

"init=epsg:3857" # web mercator

  END



--Steve



From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Ian Walberg
Sent: Wednesday, July 31, 2019 4:56 PM
To: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] Projection help





Hello,



We have used different projections previously but cannot get them to work at 
the moment.



All the examples we can find online look ok but do not make any difference to 
the generated map.



A way of projecting the Natural Earth vector country outlines as Mercator would 
be a perfect example.



Adding  CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output.



Thanks



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

[mapserver-users] Projection help

2019-07-31 Thread Ian Walberg
Hello,

We have used different projections previously but cannot get them to work at 
the moment.

All the examples we can find online look ok but do not make any difference to 
the generated map.

A way of projecting the Natural Earth vector country outlines as Mercator would 
be a perfect example.

Adding  CONFIG "PROJ_DEBUG" "ON" does not appear to generate any output.

Thanks

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

[mapserver-users] Layer - conditional on image size

2019-07-08 Thread Ian Walberg
Hello,

Is there a way of making layers or features conditional on the image width 
and/or height?

We are trying to use the same map file for different resolution images 
generated by passing the image with and height as part of the cgi request.

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

Re: [mapserver-users] WFS 2.0 and QGIS

2019-03-22 Thread Ian Walberg
Do you have a map file you can post that works on your configuration?

Thanks, Ian

-Original Message-
From: mapserver-users  On Behalf Of 
pe_lord
Sent: Friday, March 22, 2019 12:07 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS 2.0 and QGIS

I use QGIS 3.4 with mapserver 7.2.1

Everything is fine.

From fiddler:
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
___
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

[mapserver-users] WFS 2.0 and QGIS

2019-03-22 Thread Ian Walberg
Adding a layer using WFS version 1.0 works but selecting auto or 1.1/2.0 give 
the error below.

Any ideas what is causing this? Using GetCapabilites or GetFeature requests 
from a browser URL return data as expected for all WFS versions  However the 
xml returned from a WFS version 2.0 DescribeFeatureType does not get recognized 
by chrome as xml but a version 1.0 DescribeFeatureType does.

2019-03-22T10:25:04 CRITICALLayer is not valid : The layer pageSize='0' 
pagingEnabled='true' restrictToRequestBBOX='1' srsname='EPSG:4326' 
typename='Cities' 
url='http://192.168.2.181/cgi-bin/mapserv-7.2.1?map=/tmp/navhome/map.data/mapfiles/wfs_features.map'
 version='2.0.0' table="" sql= is not a valid layer and can not be added to the 
map. Reason:

2019-03-22T10:33:57 WARNINGDescribeFeatureType network request failed 
for url pageSize='0' pagingEnabled='true' restrictToRequestBBOX='1' 
srsname='EPSG:4326' typename='ms:Cities' 
url='http://192.168.2.181/cgi-bin/mapserv-7.2.1?map=/tmp/navhome/map.data/mapfiles/wfs_features_iw.map'
 version='2.0.0' table="" sql=: Download of feature type failed: Protocol "" is 
unknown
2019-03-22T10:33:57 WARNINGDownload of feature type failed: Protocol "" 
is unknown

Thanks


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

Re: [mapserver-users] Linux - map file in /tmp

2018-11-13 Thread Ian Walberg
That fixed it.

Many thanks

Ian

-Original Message-
From: Eichner, Andreas - SID  
Sent: Monday, November 12, 2018 11:16 PM
To: Ian Walberg ; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Linux - map file in /tmp

I'd guess you're using systemd and the unit file that controls your webserver 
contains "PrivateTmp=true". 

> -Original Message-
> From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org]
> On Behalf Of Ian Walberg
> Sent: Tuesday, November 13, 2018 12:32 AM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] Linux - map file in /tmp
> 
> Hello,
> 
> 
> 
> Calling a cgi request with a standalone map file that works in any 
> location in the file system on a Linux install but does not work if 
> the map file is in  /tmp.
> 
> 
> 
> msLoadMap(): Unable to access file. (/tmp/min01.map)
> 
> 
> 
> What I am missing?
> 
> 
> 
> Thanks
> 
> 
> 
> Ian

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

[mapserver-users] Linux - map file in /tmp

2018-11-12 Thread Ian Walberg
Hello,

Calling a cgi request with a standalone map file that works in any location in 
the file system on a Linux install but does not work if the map file is in  
/tmp.

msLoadMap(): Unable to access file. (/tmp/min01.map)

What I am missing?

Thanks

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

[mapserver-users] WFS server setup with sqlite data

2018-05-16 Thread Ian Walberg
Folks,

We have a working WFS setup on our linux servers which has the sqlite database 
table as the value in the DATA field.

However when we run this on Windows we get no data returned.

In the logs there is a number of what appear to be warnings however it looks 
like no matching records were found.

msOGRFileNextShape: Rejecting feature (shapeid = 0, tileid=0) of incompatible 
type for this layer (feature wkbType 0, layer type 1)
msQueryByRect(): Search returned no results. No matching record(s) found.

Changing the DATA filed to be ‘select * from table’ works ok on windows.

Any help working out what the cause of the problem is appreciated.

Thanks, Ian



LAYER
NAME Cities_3x
#DEBUG 5
METADATA
  "wfs_srs" "EPSG:4326"
  "wfs_title" "Cities_3x"
  "gml_featureid" "Name"
  "gml_include_items" "all"
  "wfs_enable_request" "*"
  "wfs_encoding" "UTF-8"
  "wfs_abstract" "Points"
  "wfs_getfeature_formatlist" "geojson"
END
TYPE point
STATUS ON
CONNECTIONTYPE OGR
CONNECTION 'Cities.db'
DATA 'Cities_3x' – works in Linux
DATA ‘select * from Cities_3x’  -- required for Windows
PROJECTION
  "init=epsg:4326"
END # PROJECTION
END # LAYER

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

Re: [mapserver-users] Mapserver - libs in /usr/local/lib disappear after reboot

2017-01-04 Thread Ian Walberg
Jeff,

Thanks for the info and you were correct, they had not disappeared.

Karma - oops, my apologies.

Regards

Ian

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Jeff McKenna
Sent: Wednesday, January 4, 2017 11:32 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver - libs in /usr/local/lib disappear 
after reboot

I haven't seen the libs-physically-disappear case, but I often reboot client 
servers and the libs 'cannot be found' (meaning executing mapserv doesn't 
search for the libs in the proper directory of /usr/local/lib/). 
  In this case the solution is to set the LD_LIBRARY_PATH to that directory for 
your profile (this step changes for different linux
flavors) and then re-run 'sudo ldconfig'.

As a side note, for good karma please refrain from sending your questions to 
multiple mailing lists at the same time.  Thanks,

-jeff



--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/




On 2017-01-04 2:36 PM, Ian Walberg wrote:
> Folks,
>
> We build and install from source any of the recent versions using cmake.
>
> Then we copy the mapserv binary from /usr/local/bin to /var/www/cgi-bin to 
> use with our apache install.
>
> All is good unless we reboot and the libs in /usr/local/lib are removed, this 
> is a Fedora 19 server.
>
> Anyone know why this happens? What have we done wrong?
>
> Thanks
>
> Ian
>




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

[mapserver-users] Mapserver - libs in /usr/local/lib disappear after reboot

2017-01-04 Thread Ian Walberg
Folks,

We build and install from source any of the recent versions using cmake.

Then we copy the mapserv binary from /usr/local/bin to /var/www/cgi-bin to use 
with our apache install.

All is good unless we reboot and the libs in /usr/local/lib are removed, this 
is a Fedora 19 server.

Anyone know why this happens? What have we done wrong?

Thanks

Ian

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

Re: [mapserver-users] Label position not as expected version 7.0.x

2017-01-03 Thread Ian Walberg
Thomas,

Understood that the historic vertical alignment is not perfect.

I would like to propose that an additional vertical positon mode is added to 
allow the previous behavior to be retained.

Regards

Ian

From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Tuesday, January 3, 2017 4:22 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-users] Label position not as expected version 7.0.x

correct. the position of "center of the text" varies depending on whether your 
glyphs have ascenders and/or descenders, and thus produces inconsistent 
centering between "aaa", "ppp" or "".
This can be easily reverted by commenting out the two special cases for CR and 
CL at https://github.com/mapserver/mapserver/blob/rel-7-0-3/maplabel.c#L989 . 
replace with
y1 = (h/2.0) + oy;

--
thomas

On Mon, Jan 2, 2017 at 6:58 PM Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Thomas.

Hmm, I do not understand why the change was made from the older versions.

So the vertical ‘center’ position is actually align the text baseline with the 
point position and not the ‘center’ of the text as previously?

Regards

Ian

From: thomas bonfort 
[mailto:thomas.bonf...@gmail.com<mailto:thomas.bonf...@gmail.com>]
Sent: Monday, January 2, 2017 9:41 AM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>; 
mapserver-...@lists.osgeo.org<mailto:mapserver-...@lists.osgeo.org>
Subject: Re: [mapserver-users] Label position not as expected version 7.0.x

Ian,
It's the intented effect, with the label baseline aligned with the symbol 
baseline. You can probably nudge it manually with an offset if you need to.

--
thomas

On Mon, Jan 2, 2017 at 6:30 PM Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Folks,

Happy New Year to everyone.

Using version 7.0.x we are not seeing the label positon as we had for previous 
versions for mapserver.

The vertical label position now appears to not center naturally on the text but 
is towards the bottom of the center line.

Are we missing something?

Thanks

Ian

MAP

  EXTENT 0.0 0.0 10.0 10.0
  SIZE 1024 720
  IMAGECOLOR 140 140 140

  SYMBOL
NAME 'City'
TYPE ELLIPSE
POINTS 1 1 END
FILLED true
  END

  LAYER

NAME "Label position"
TYPE POINT
STATUS DEFAULT

FEATURE
POINTS
  1.00 5.00
  1.00 8.00
END # POINTS
END # FEATURE

CLASS
  TEXT 'Label text'
  STYLE
SYMBOL 'City'
SIZE 12
COLOR 255 255 255
  END # STYLE

  LABEL
TYPE BITMAP
SIZE 30
COLOR 255 255 255
POSITION CR
  END # LABEL

END # CLASS

  END # LAYER

END # MAP
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Label position not as expected version 7.0.x

2017-01-02 Thread Ian Walberg
Thomas.

Hmm, I do not understand why the change was made from the older versions.

So the vertical ‘center’ position is actually align the text baseline with the 
point position and not the ‘center’ of the text as previously?

Regards

Ian

From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Monday, January 2, 2017 9:41 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-users] Label position not as expected version 7.0.x

Ian,
It's the intented effect, with the label baseline aligned with the symbol 
baseline. You can probably nudge it manually with an offset if you need to.

--
thomas

On Mon, Jan 2, 2017 at 6:30 PM Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Folks,

Happy New Year to everyone.

Using version 7.0.x we are not seeing the label positon as we had for previous 
versions for mapserver.

The vertical label position now appears to not center naturally on the text but 
is towards the bottom of the center line.

Are we missing something?

Thanks

Ian

MAP

  EXTENT 0.0 0.0 10.0 10.0
  SIZE 1024 720
  IMAGECOLOR 140 140 140

  SYMBOL
NAME 'City'
TYPE ELLIPSE
POINTS 1 1 END
FILLED true
  END

  LAYER

NAME "Label position"
TYPE POINT
STATUS DEFAULT

FEATURE
POINTS
  1.00 5.00
  1.00 8.00
END # POINTS
END # FEATURE

CLASS
  TEXT 'Label text'
  STYLE
SYMBOL 'City'
SIZE 12
COLOR 255 255 255
  END # STYLE

  LABEL
TYPE BITMAP
SIZE 30
COLOR 255 255 255
POSITION CR
  END # LABEL

END # CLASS

  END # LAYER

END # MAP
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Label position not as expected version 7.0.x

2017-01-02 Thread Ian Walberg
Folks,

Happy New Year to everyone.

Using version 7.0.x we are not seeing the label positon as we had for previous 
versions for mapserver.

The vertical label position now appears to not center naturally on the text but 
is towards the bottom of the center line.

Are we missing something?

Thanks

Ian

MAP

  EXTENT 0.0 0.0 10.0 10.0
  SIZE 1024 720
  IMAGECOLOR 140 140 140

  SYMBOL
NAME 'City'
TYPE ELLIPSE
POINTS 1 1 END
FILLED true
  END

  LAYER

NAME "Label position"
TYPE POINT
STATUS DEFAULT

FEATURE
POINTS
  1.00 5.00
  1.00 8.00
END # POINTS
END # FEATURE

CLASS
  TEXT 'Label text'
  STYLE
SYMBOL 'City'
SIZE 12
COLOR 255 255 255
  END # STYLE

  LABEL
TYPE BITMAP
SIZE 30
COLOR 255 255 255
POSITION CR
  END # LABEL

END # CLASS

  END # LAYER

END # MAP
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Vector tile support

2016-09-13 Thread Ian Walberg
Steve,

Thanks, let us give this a try.

How do we get this officially added to the dev road map?

Thanks, Ian


-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: Tuesday, September 13, 2016 1:46 PM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-...@lists.osgeo.org; 
mapserver-users@lists.osgeo.org
Subject: RE: Vector tile support

Thomas had posted on the topic almost a year ago:

  https://lists.osgeo.org/pipermail/mapserver-dev/2015-September/014598.html

I don't think there was a great deal of response. I was able to get things 
compiled and kinda working with the Leaflet MVT client.

  http://maps2.dnr.state.mn.us/dev/mvt/test.html

The example uses fixed x/y/z tile (13/1954/2855), hence the repetition. 
MapCache doesn't support MVT so I created the vector tile using a WFS request. 
I got stuck trying to figure out why the vectors for Dishpan WMA and the 
polygon to along the right edge of the tile didn't align better with the 
underlying raster tile - they were generated from the same params. Clearly 
Thomas' code is capable of producing something that a client can render.

Steve

-Original Message-
From: mapserver-dev [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of 
Ian Walberg
Sent: Tuesday, September 13, 2016 2:36 PM
To: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: [mapserver-dev] Vector tile support

Folks,

What plans, or what support if there for vector tiles?

Thanks

Ian
___
mapserver-dev mailing list
mapserver-...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Vector tile support

2016-09-13 Thread Ian Walberg
Folks,

What plans, or what support if there for vector tiles?

Thanks

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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-31 Thread Ian Walberg
That did not seem to make any difference, can you tell from here what output 
types should work?

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetCapabilities

Thanks

Ian


From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:46 PM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Try adding GML as a format option to see if you are able to get a result that 
way:

"wfs_getfeature_formatlist" "gml,geojson"


On Sat, May 7, 2016 at 12:43 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Yes we see the same and that was my reason for asking.

Thanks
Ian

From: TC Haddad [mailto:tchad...@gmail.com<mailto:tchad...@gmail.com>]
Sent: Saturday, May 7, 2016 12:39 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>

Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Well it looks like your map file settings are fine, and a correctly formatted 
URL would be:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById=DATA_TEST.1
However the resulting error message indicates that something may else may be 
amiss:

msQueryByFilter(): Search returned no results. No matching record(s) found.
LayerDefaultTranslateFilter(): General error message. This data driver does not 
implement filter translation support

On Sat, May 7, 2016 at 12:29 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
And also in the WEB section


  METADATA
"wfs_title"  "WFS Test"
"wfs_onlineresource" "http://127.0.0.1/cgi-bin/mapserv?;
"wfs_srs""EPSG:4326"
"wfs_abstract"   "WFS Test"
"wfs_enable_request" "*"
"wfs_getfeature_formatlist" "geojson"

Ian

From: mapserver-users 
[mailto:mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org>]
 On Behalf Of Ian Walberg
Sent: Saturday, May 7, 2016 12:27 PM
To: TC Haddad <tchad...@gmail.com<mailto:tchad...@gmail.com>>
Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>

Subject: Re: [mapserver-users] WFS - featureid/resourceid

Here is what we have in the map file layer, what have we missed?

METADATA
"wfs_srs" "EPSG:4326"
"wfs_title" "DATA_POI"
"gml_featureid" "id"
"gml_include_items" "all"
"wfs_enable_request" "*"
"wfs_encoding" "UTF-8"
"wfs_abstract" "Points"
"wfs_getfeature_formatlist" "geojson"
END
Thanks

Ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:12 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>
Cc: Rahkonen Jukka (MML) 
<jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>;
 mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Ian

you may have to enable the GetFeatureById option in your mapfile as at the 
moment it looks like you have it turned off.
Put something like this in the LAYER block to enable all WFS requests:

"wfs_enable_request" "*"
From there you can begin to test with:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeatureById
And the server will tell you what other parameters you need to add to the URL 
in order to successfully return a record.

On Sat, May 7, 2016 at 11:44 AM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Jukka,

We could not get that to work, what is the syntax for our setup?

Thanks

Ian

From: Rahkonen Jukka (MML) 
[mailto:jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>]
Sent: Saturday, May 7, 2016 10:54 AM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: VS: [mapserver-users] WFS - featureid/resourceid

I would try the GetFeatureById stored query 
http://mapserver.org/ogc/wfs_server.html

Jukka R

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
Here is the complete layer definition.

LAYER
NAME DATA_TEST
DEBUG 5

METADATA
  "wfs_srs" "EPSG:4326"
  "wfs_title" "DATA_POI"
  "gml_featureid" "id"
  "gml_include_items" "all"
  "wfs_enable_request" "*"
  "wfs_encoding" "UTF-8"
  "wfs_abstract" "Points"
  "wfs_getfeature_formatlist" "geojson"
  "wfs_getfeature_formatlist" "gml,geojson"
END # METADATA

TYPE point
STATUS ON
EXTENT -180 -90 180 90
LABELITEM 'name'
CONNECTIONTYPE OGR
CONNECTION '/data/wfs/WFS_TEST.sqlite'
DATA 'select id, "POINT(" || long || " " ||  lat || ")" as WKT_GEOMETRY, 
name from test'
PROJECTION
  "init=epsg:4326"
END # PROJECTION
  END # LAYER


From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 1:14 PM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Do you have a FILTERITEM specified in the LAYER?
See this thread to see if the solution helps:

http://lists.osgeo.org/pipermail/mapserver-users/2015-June/077933.html

On Sat, May 7, 2016 at 1:04 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
The db is sqlite.

ian


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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
The db is sqlite.

ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:57 PM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid


No - it seems the result could return successfully in either format, so the 
server config is fine.
What is the data storage format? perhaps that is the driver that is reporting 
the error...

On Sat, May 7, 2016 at 12:53 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:

That did not seem to make any difference, can you tell from here what output 
types should work?

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetCapabilities

Thanks

Ian


From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:46 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>
Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Try adding GML as a format option to see if you are able to get a result that 
way:

"wfs_getfeature_formatlist" "gml,geojson"


On Sat, May 7, 2016 at 12:43 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Yes we see the same and that was my reason for asking.

Thanks
Ian

From: TC Haddad [mailto:tchad...@gmail.com<mailto:tchad...@gmail.com>]
Sent: Saturday, May 7, 2016 12:39 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>

Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Well it looks like your map file settings are fine, and a correctly formatted 
URL would be:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById=DATA_TEST.1
However the resulting error message indicates that something may else may be 
amiss:

msQueryByFilter(): Search returned no results. No matching record(s) found.
LayerDefaultTranslateFilter(): General error message. This data driver does not 
implement filter translation support

On Sat, May 7, 2016 at 12:29 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:

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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg

That did not seem to make any difference, can you tell from here what output 
types should work?

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetCapabilities

Thanks

Ian


From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:46 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>
Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Try adding GML as a format option to see if you are able to get a result that 
way:

"wfs_getfeature_formatlist" "gml,geojson"


On Sat, May 7, 2016 at 12:43 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Yes we see the same and that was my reason for asking.

Thanks
Ian

From: TC Haddad [mailto:tchad...@gmail.com<mailto:tchad...@gmail.com>]
Sent: Saturday, May 7, 2016 12:39 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>

Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Well it looks like your map file settings are fine, and a correctly formatted 
URL would be:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById=DATA_TEST.1
However the resulting error message indicates that something may else may be 
amiss:

msQueryByFilter(): Search returned no results. No matching record(s) found.
LayerDefaultTranslateFilter(): General error message. This data driver does not 
implement filter translation support

On Sat, May 7, 2016 at 12:29 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
Yes we see the same and that was my reason for asking.

Thanks
Ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:39 PM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Well it looks like your map file settings are fine, and a correctly formatted 
URL would be:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById=DATA_TEST.1
However the resulting error message indicates that something may else may be 
amiss:

msQueryByFilter(): Search returned no results. No matching record(s) found.
LayerDefaultTranslateFilter(): General error message. This data driver does not 
implement filter translation support

On Sat, May 7, 2016 at 12:29 PM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
And also in the WEB section


  METADATA
"wfs_title"  "WFS Test"
"wfs_onlineresource" "http://127.0.0.1/cgi-bin/mapserv?;
"wfs_srs""EPSG:4326"
"wfs_abstract"   "WFS Test"
"wfs_enable_request" "*"
"wfs_getfeature_formatlist" "geojson"

Ian

From: mapserver-users 
[mailto:mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org>]
 On Behalf Of Ian Walberg
Sent: Saturday, May 7, 2016 12:27 PM
To: TC Haddad <tchad...@gmail.com<mailto:tchad...@gmail.com>>
Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>

Subject: Re: [mapserver-users] WFS - featureid/resourceid

Here is what we have in the map file layer, what have we missed?

METADATA
"wfs_srs" "EPSG:4326"
"wfs_title" "DATA_POI"
"gml_featureid" "id"
"gml_include_items" "all"
"wfs_enable_request" "*"
        "wfs_encoding" "UTF-8"
"wfs_abstract" "Points"
"wfs_getfeature_formatlist" "geojson"
END
Thanks

Ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:12 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>
Cc: Rahkonen Jukka (MML) 
<jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>;
 mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Ian

you may have to enable the GetFeatureById option in your mapfile as at the 
moment it looks like you have it turned off.
Put something like this in the LAYER block to enable all WFS requests:

"wfs_enable_request" "*"
From there you can begin to test with:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeatureById
And the server will tell you what other parameters you need to add to the URL 
in order to successfully return a record.

On Sat, May 7, 2016 at 11:44 AM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Jukka,

We could not get that to work, what is the syntax for our setup?

Thanks

Ian

From: Rahkonen Jukka (MML) 
[mailto:jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>]
Sent: Saturday, May 7, 2016 10:54 AM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: VS: [mapserver-users] WFS - featureid/resourceid

I would try the GetFeatureById stored query 
http://mapserver.org/ogc/wfs_server.html

Jukka Rahkonen

Lähettäjä: Ian Walberg<mailto:ian.walb...@airborne.aero>
Lähetetty: ‎7.‎5.‎2016 20:47
Vastaanottaja: 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Aihe: [mapserver-users] WFS - featureid/resourceid
Folks,

How do we select just a single feature using FEATUREID or RESOUCEID.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature=DATA_TEST

Thanks

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
And also in the WEB section


  METADATA
"wfs_title"  "WFS Test"
"wfs_onlineresource" "http://127.0.0.1/cgi-bin/mapserv?;
"wfs_srs""EPSG:4326"
"wfs_abstract"   "WFS Test"
"wfs_enable_request" "*"
"wfs_getfeature_formatlist" "geojson"

Ian

From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Ian Walberg
Sent: Saturday, May 7, 2016 12:27 PM
To: TC Haddad <tchad...@gmail.com>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid

Here is what we have in the map file layer, what have we missed?

METADATA
"wfs_srs" "EPSG:4326"
"wfs_title" "DATA_POI"
"gml_featureid" "id"
"gml_include_items" "all"
"wfs_enable_request" "*"
"wfs_encoding" "UTF-8"
"wfs_abstract" "Points"
"wfs_getfeature_formatlist" "geojson"
END
Thanks

Ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:12 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>
Cc: Rahkonen Jukka (MML) 
<jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>;
 mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Ian

you may have to enable the GetFeatureById option in your mapfile as at the 
moment it looks like you have it turned off.
Put something like this in the LAYER block to enable all WFS requests:

"wfs_enable_request" "*"
From there you can begin to test with:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeatureById
And the server will tell you what other parameters you need to add to the URL 
in order to successfully return a record.

On Sat, May 7, 2016 at 11:44 AM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Jukka,

We could not get that to work, what is the syntax for our setup?

Thanks

Ian

From: Rahkonen Jukka (MML) 
[mailto:jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>]
Sent: Saturday, May 7, 2016 10:54 AM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: VS: [mapserver-users] WFS - featureid/resourceid

I would try the GetFeatureById stored query 
http://mapserver.org/ogc/wfs_server.html

Jukka Rahkonen

Lähettäjä: Ian Walberg<mailto:ian.walb...@airborne.aero>
Lähetetty: ‎7.‎5.‎2016 20:47
Vastaanottaja: 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Aihe: [mapserver-users] WFS - featureid/resourceid
Folks,

How do we select just a single feature using FEATUREID or RESOUCEID.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature=DATA_TEST

Thanks

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
Here is what we have in the map file layer, what have we missed?

METADATA
"wfs_srs" "EPSG:4326"
"wfs_title" "DATA_POI"
"gml_featureid" "id"
"gml_include_items" "all"
"wfs_enable_request" "*"
"wfs_encoding" "UTF-8"
"wfs_abstract" "Points"
"wfs_getfeature_formatlist" "geojson"
END
Thanks

Ian

From: TC Haddad [mailto:tchad...@gmail.com]
Sent: Saturday, May 7, 2016 12:12 PM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi>; 
mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS - featureid/resourceid


Ian

you may have to enable the GetFeatureById option in your mapfile as at the 
moment it looks like you have it turned off.
Put something like this in the LAYER block to enable all WFS requests:

"wfs_enable_request" "*"
From there you can begin to test with:

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeatureById
And the server will tell you what other parameters you need to add to the URL 
in order to successfully return a record.


On Sat, May 7, 2016 at 11:44 AM, Ian Walberg 
<ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>> wrote:
Jukka,

We could not get that to work, what is the syntax for our setup?

Thanks

Ian

From: Rahkonen Jukka (MML) 
[mailto:jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>]
Sent: Saturday, May 7, 2016 10:54 AM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: VS: [mapserver-users] WFS - featureid/resourceid

I would try the GetFeatureById stored query 
http://mapserver.org/ogc/wfs_server.html

Jukka Rahkonen

Lähettäjä: Ian Walberg<mailto:ian.walb...@airborne.aero>
Lähetetty: ‎7.‎5.‎2016 20:47
Vastaanottaja: 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Aihe: [mapserver-users] WFS - featureid/resourceid
Folks,

How do we select just a single feature using FEATUREID or RESOUCEID.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature=DATA_TEST

Thanks

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users

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

Re: [mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
Jukka,

We could not get that to work, what is the syntax for our setup?

Thanks

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Saturday, May 7, 2016 10:54 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: VS: [mapserver-users] WFS - featureid/resourceid

I would try the GetFeatureById stored query 
http://mapserver.org/ogc/wfs_server.html

Jukka Rahkonen

Lähettäjä: Ian Walberg<mailto:ian.walb...@airborne.aero>
Lähetetty: ‎7.‎5.‎2016 20:47
Vastaanottaja: 
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Aihe: [mapserver-users] WFS - featureid/resourceid
Folks,

How do we select just a single feature using FEATUREID or RESOUCEID.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature=DATA_TEST

Thanks

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] WFS - featureid/resourceid

2016-05-07 Thread Ian Walberg
Folks,

How do we select just a single feature using FEATUREID or RESOUCEID.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=2.0.0=GetFeature=DATA_TEST

Thanks

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

Re: [mapserver-users] MAP file INCLUDE with wildcard

2016-04-28 Thread Ian Walberg
Folks,

Just added.

https://github.com/mapserver/mapserver/issues/5276

Ian


-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Jeff McKenna
Sent: Thursday, April 28, 2016 7:29 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MAP file INCLUDE with wildcard

Hi Ian,

This would be a very useful enhancement, to help managing mapfile layers.  
Would you file a ticket for this?  (just so the idea is not lost in email 
archives)  Once the ticket is filed, we can apply the "Enhancement" label: here 
is a list of the open enhancements

  https://github.com/mapserver/mapserver/labels/Enhancement

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/



On 2016-04-27 10:52 PM, Ian Walberg wrote:
> Folks,
>
> We would like to include multiple map files using a wildcard filename.
>
> Can this be done today?
>
> If not can we add this to the feature enhancement wish list?
>
> Thanks
>
> Ian


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

[mapserver-users] MAP file INCLUDE with wildcard

2016-04-27 Thread Ian Walberg
Folks,

We would like to include multiple map files using a wildcard filename.

Can this be done today?

If not can we add this to the feature enhancement wish list?

Thanks

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

Re: [mapserver-users] RE OGR csv - no field names

2016-04-26 Thread Ian Walberg
Simon,

This worked in the map file.

 DATA "select *,fid  from "

Thanks for everyone's help.

Ian


-Original Message-
From: Simon Mercier [mailto:smerc...@mapgears.com] 
Sent: Tuesday, April 26, 2016 8:53 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] RE OGR csv - no field names

try to get it through your mapfile!  base on what I read here 
http://mapserver.org/input/vector/ogr.html#using-ogr-data-sources-in-the-map-file,
you'll supposed to be able to add an SQL in DATA tag for any OGR data source, 
and there you should be able to select fid... I guess

LAYER
   ...
   CONNECTIONTYPE OGR
   CONNECTION ""
   DATA "select fid, field_1, field_2, field_3 from "
   ...
END


On 16-04-26 11:05 AM, Ian Walberg wrote:
> Simon,
>
> We tried this yesterday but could not see how to include the sql statement in 
> the vrt file so that mapserver got an fid for each record.
>
> Thanks
>
> Ian
>
> -Original Message-
> From: Simon Mercier [mailto:smerc...@mapgears.com]
> Sent: Tuesday, April 26, 2016 8:01 AM
> To: Ian Walberg <ian.walb...@airborne.aero>; 
> mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] RE OGR csv - no field names
>
> Ian
>
> Try with FID field, OGR generate this ID for you. But you should try use your 
> own ID field for consistency between version of your data (if needed). I 
> tested with my demo data and I can select FID even if it doesn't exist in 
> source file.
>
> 
>   
> /home/smercier/data/vrt/Inventory.csv
>   wkbPoint
>   EPSG:4326
>y="latitude"/>
>   
>   
>   
>   
>   
>   
> 
>
> smercier@optimus: $ ogrinfo Inventory.vrt -sql "select fid from Inventory"
> INFO: Open of `Inventory.vrt'
> using driver `VRT' successful.
>
> Layer name: Inventory
> Geometry: Point
> Feature Count: 117
> Extent: (-80.977043, 0.00) - (0.00, 43.978620) Layer SRS WKT:
> GEOGCS["WGS 84",
>   DATUM["WGS_1984",
>   SPHEROID["WGS 84",6378137,298.257223563,
>   AUTHORITY["EPSG","7030"]],
>   AUTHORITY["EPSG","6326"]],
>   PRIMEM["Greenwich",0,
>   AUTHORITY["EPSG","8901"]],
>   UNIT["degree",0.0174532925199433,
>   AUTHORITY["EPSG","9122"]],
>   AUTHORITY["EPSG","4326"]]
> fid: Integer (0.0)
> OGRFeature(Inventory):1
> fid (Integer) = 1
> POINT (-80.2171407 43.4970847)
>
> OGRFeature(Inventory):2
> fid (Integer) = 2
> POINT (-80.5357573 43.8367679)
>
> OGRFeature(Inventory):3
> fid (Integer) = 3
> POINT (0 0)
> 
>
>
> On 16-04-25 07:11 PM, Ian Walberg wrote:
>> Jeff,
>>
>> Many thanks that worked great.
>>
>> Next is there any way of getting the row ID as part of the data passed to 
>> mapserver?
>>
>> We are planning to serve this data as a WFS layer.
>>
>> Thanks
>>
>> Ian
>>
>> -Original Message-
>> From: mapserver-users 
>> [mailto:mapserver-users-boun...@lists.osgeo.org]
>> On Behalf Of Jeff McKenna
>> Sent: Monday, April 25, 2016 3:03 PM
>> To: mapserver-users@lists.osgeo.org
>> Subject: Re: [mapserver-users] RE OGR csv - no field names
>>
>> On 2016-04-25 6:49 PM, Simon Mercier wrote:
>>> really not sure CSVT file is supported by ogr, but you can easily 
>>> define field type in VRT
>>>
>>>
>>>>> />
>>>
>> Simon is right, very nice, specifying the field name to classify in the vrt 
>> works, for a csv without field names:
>>
>> 
>>
>>> relativeToVRT="1">CSV:occurrence.txt
>>wkbPoint
>>WGS84
>>> y="field_38"/>
>>
>>
>> 
>>
>>
>>
>> LAYER
>>  NAME "occurrence"
>>  TYPE POINT
>>  STATUS ON
>>  CONNECTIONTYPE OGR
>>  CONNECTION "../occurrence.vrt"
>>  CLASSITEM "name"
>>  CLASS
>>NAME "Occurrences"
>>EXPRESSION "ttt"
>>STYLE
>>  SYMBOL 7
>>  SIZE 10
>>  COLOR 0 0 0
>>END
>>  END
>> END # Layer
>>
>>
>> -jeff
>>
>>
>>
>>
>>
>> --
>> Jeff McKenna
>> MapServer Consulting and Training Services 
>> http://www.gatewaygeomatics.com/
>>
>>
>>
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> --
> simon mercier
> mapgears
> +1.418.476.7139 p101
>

--
simon mercier
mapgears
+1.418.476.7139 p101

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

Re: [mapserver-users] RE OGR csv - no field names

2016-04-26 Thread Ian Walberg
Simon,

We tried this yesterday but could not see how to include the sql statement in 
the vrt file so that mapserver got an fid for each record.

Thanks

Ian

-Original Message-
From: Simon Mercier [mailto:smerc...@mapgears.com] 
Sent: Tuesday, April 26, 2016 8:01 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] RE OGR csv - no field names

Ian

Try with FID field, OGR generate this ID for you. But you should try use your 
own ID field for consistency between version of your data (if needed). I tested 
with my demo data and I can select FID even if it doesn't exist in source file.


 
/home/smercier/data/vrt/Inventory.csv
 wkbPoint
 EPSG:4326
 
 
 
 
 
 
 


smercier@optimus: $ ogrinfo Inventory.vrt -sql "select fid from Inventory"
INFO: Open of `Inventory.vrt'
   using driver `VRT' successful.

Layer name: Inventory
Geometry: Point
Feature Count: 117
Extent: (-80.977043, 0.00) - (0.00, 43.978620) Layer SRS WKT:
GEOGCS["WGS 84",
 DATUM["WGS_1984",
 SPHEROID["WGS 84",6378137,298.257223563,
 AUTHORITY["EPSG","7030"]],
 AUTHORITY["EPSG","6326"]],
 PRIMEM["Greenwich",0,
 AUTHORITY["EPSG","8901"]],
 UNIT["degree",0.0174532925199433,
 AUTHORITY["EPSG","9122"]],
 AUTHORITY["EPSG","4326"]]
fid: Integer (0.0)
OGRFeature(Inventory):1
   fid (Integer) = 1
   POINT (-80.2171407 43.4970847)

OGRFeature(Inventory):2
   fid (Integer) = 2
   POINT (-80.5357573 43.8367679)

OGRFeature(Inventory):3
   fid (Integer) = 3
   POINT (0 0)



On 16-04-25 07:11 PM, Ian Walberg wrote:
> Jeff,
>
> Many thanks that worked great.
>
> Next is there any way of getting the row ID as part of the data passed to 
> mapserver?
>
> We are planning to serve this data as a WFS layer.
>
> Thanks
>
> Ian
>
> -Original Message-
> From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
> On Behalf Of Jeff McKenna
> Sent: Monday, April 25, 2016 3:03 PM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] RE OGR csv - no field names
>
> On 2016-04-25 6:49 PM, Simon Mercier wrote:
>> really not sure CSVT file is supported by ogr, but you can easily 
>> define field type in VRT
>>
>>   
>>   > />
>>
> Simon is right, very nice, specifying the field name to classify in the vrt 
> works, for a csv without field names:
>
> 
>   
>   CSV:occurrence.txt
>   wkbPoint
>   WGS84
>y="field_38"/>
>   
>   
> 
>
>
>
> LAYER
> NAME "occurrence"
> TYPE POINT
> STATUS ON
> CONNECTIONTYPE OGR
> CONNECTION "../occurrence.vrt"
> CLASSITEM "name"
> CLASS
>   NAME "Occurrences"
>   EXPRESSION "ttt"
>   STYLE
> SYMBOL 7
> SIZE 10
> COLOR 0 0 0
>   END
> END
> END # Layer
>
>
> -jeff
>
>
>
>
>
> --
> Jeff McKenna
> MapServer Consulting and Training Services 
> http://www.gatewaygeomatics.com/
>
>
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

--
simon mercier
mapgears
+1.418.476.7139 p101

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

Re: [mapserver-users] RE OGR csv - no field names

2016-04-25 Thread Ian Walberg
Jeff,

Many thanks that worked great.

Next is there any way of getting the row ID as part of the data passed to 
mapserver?

We are planning to serve this data as a WFS layer.

Thanks

Ian

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Jeff McKenna
Sent: Monday, April 25, 2016 3:03 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] RE OGR csv - no field names

On 2016-04-25 6:49 PM, Simon Mercier wrote:
> really not sure CSVT file is supported by ogr, but you can easily 
> define field type in VRT
>
>  
>   />
>

Simon is right, very nice, specifying the field name to classify in the vrt 
works, for a csv without field names:


 
 CSV:occurrence.txt
 wkbPoint
 WGS84
 
 
 




LAYER
   NAME "occurrence"
   TYPE POINT
   STATUS ON
   CONNECTIONTYPE OGR
   CONNECTION "../occurrence.vrt"
   CLASSITEM "name"
   CLASS
 NAME "Occurrences"
 EXPRESSION "ttt"
 STYLE
   SYMBOL 7
   SIZE 10
   COLOR 0 0 0
 END
   END
END # Layer


-jeff





--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/




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

Re: [mapserver-users] RE OGR csv - no field names

2016-04-25 Thread Ian Walberg
Thanks for the ideas.

I think the vrt file needs the csv fields to have names unless I misunderstand.

CSVT file – does this specify the column/field data type? Can the name be 
specified as well?

Regards

Ian

From: Simon Mercier [mailto:smerc...@mapgears.com]
Sent: Monday, April 25, 2016 10:31 AM
To: steve.tout...@inspq.qc.ca; Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org; mapserver-users 
<mapserver-users-boun...@lists.osgeo.org>
Subject: Re: [mapserver-users] RE OGR csv - no field names

why not use a vrt file instead!  http://www.gdal.org/drv_vrt.html



precipitation.csv
wkbPoint
EPSG:4326






On 16-04-25 08:01 AM, 
steve.tout...@inspq.qc.ca<mailto:steve.tout...@inspq.qc.ca> wrote:
I don't know why LABELITEM 'filed_3' would not work in your case

You can try to specify column names by using a  .csvt file
http://www.gdal.org/drv_csv.html

Example: 
https://anitagraser.com/2011/03/07/how-to-specify-data-types-of-csv-columns-for-use-in-qgis/



Ian Walberg 
<ian.walb...@airborne.aero><mailto:ian.walb...@airborne.aero>@lists.osgeo.org
Envoyé par : "mapserver-users" 
<mapserver-users-boun...@lists.osgeo.org><mailto:mapserver-users-boun...@lists.osgeo.org>

2016-04-23 22:50

A

"mapserver-users@lists.osgeo.org"<mailto:mapserver-users@lists.osgeo.org> 
<mapserver-users@lists.osgeo.org><mailto:mapserver-users@lists.osgeo.org>

cc

Objet

[mapserver-users] OGR csv - no field names









Folks,

Can a csv file with no field names as the first row be used as an OGR source?

GDAL creates dummy field names, are these passed to mapserver?

OGRFeature(USA-Hilton):652
 field_1 (String) = -74.16958
 field_2 (String) =  40.73526
 field_3 (String) =  Penn Station

What do we need in the layer to make this work?

LABELITEM 'name' - this throws an error, 'field_3' does not seem to work either.
CONNECTIONTYPE OGR
CONNECTION 'Stations.csv'

Thanks

Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users





___

mapserver-users mailing list

mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>

http://lists.osgeo.org/mailman/listinfo/mapserver-users



--

simon mercier

mapgears

+1.418.476.7139 p101
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] OGR csv - no field names

2016-04-23 Thread Ian Walberg
Folks,

Can a csv file with no field names as the first row be used as an OGR source?

GDAL creates dummy field names, are these passed to mapserver?

OGRFeature(USA-Hilton):652
  field_1 (String) = -74.16958
  field_2 (String) =  40.73526
  field_3 (String) =  Penn Station

What do we need in the layer to make this work?

LABELITEM 'name' - this throws an error, 'field_3' does not seem to work either.
CONNECTIONTYPE OGR
CONNECTION 'Stations.csv'

Thanks

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

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Jukka,

If I understand the problem correctly I have changed the "gml_featureid"  field 
to use the "id' field in the database.

This now displays correctly in the browser and the text field with the '&' 
displays correctly.

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST2

We now need to check this with our application to make sure the data fields is 
good.

Thanks for the help and ideas.

Regards

Ian

-Original Message-
From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] 
Sent: Friday, April 22, 2016 8:48 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Found a way for controlling gml:id, it is in the documentation 
http://mapserver.org/ogc/wfs_server.html

wfs_featureid
(Required for MapServer 4.10) Field to be used for the ID of the feature in 
the output GML. gml_featureid or ows_featureid can be specified instead.

The default behavior is not documented but I guess that if wfs_featureid or 
ows_featureid are not defined then primary key is used instead, and if there is 
no primary key then heaven knows which field. I think that we should somehow  
emphasize the importance of wfs_featureid and recommend strongly to use an 
unique integer field.

What you need to do is to make sure that you have an integer field with unique 
values in your table and add this to your LAYER METADATA. WFS probably works 
even if field is not unique but for example GetFeatureById needs unique id:s.

"wfs_featureid" "my_unique_integer_column"

-Jukka-



-Alkuperäinen viesti-
Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Rahkonen Jukka (MML)
Lähetetty: 22. huhtikuuta 2016 18:32
Vastaanottaja: Ian Walberg; mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Hi,

You do not need to understand GML or WFS, we must just get the configuration 
right.

How have you created your table? Spatialite-gui has a tool in the right click 
menu "Show CREATE statement" or you can use SQL command PRAGMA 
table_info('name_of_your_table'). Send the output or check at least what you 
have as Primary Key (pk).

I believe that if you creat the table to have primary key column like PK_UID 
here your problem with gml:id disappears.

CREATE TABLE "states" (
"PK_UID" INTEGER PRIMARY KEY AUTOINCREMENT, "STATE_NAME" TEXT, "STATE_FIPS" 
TEXT,

Ogr2ogr makes such PK by default and so does the import tools of Spatialite-gui.

-Jukka-


-Alkuperäinen viesti-
Lähettäjä: Ian Walberg [mailto:ian.walb...@airborne.aero]
Lähetetty: 22. huhtikuuta 2016 18:19
Vastaanottaja: Rahkonen Jukka (MML); mapserver-users@lists.osgeo.org
Aihe: RE: [mapserver-users] WFS layer - XML/JSON safe chars

Jukka,

Thanks for replying and what I would hope to get is "RioPaulo" as you say.

However I do not understand your explanation.

Regards

Ian

-Original Message-
From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Friday, April 22, 2016 8:14 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Hi Ian,

I can see that those names are used as a part of gml:id:
http://www.datypic.com/sc/niem20/a-gml_id.html is of type xsd:ID 
http://www.datypic.com/sc/xsd/t-xsd_ID.html which must be NCName, which in turn 
means that "it must start with a letter or underscore, and can only contain 
letters, digits, underscores, hyphens, and periods." Et-character is denied 
there both as raw as escaped.

I am not sure how you can control how Mapserver is building the gml:id. 
However, I guess that if you use an integer field as primary key in your 
Spatialite database then it would be utilized and gml:id would look like 
mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Ian Walberg
Lähetetty: 22. huhtikuuta 2016 17:10
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Folks,

I think we may be taking about different things, the wfs requests below show 
the problem we are seeing.

There are 2 cities in each of the sqlite databases and the only difference is 
on has the text 'and' and the other has the symbol '&'

Layer DATA_TEST - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio and 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST


Layer DATA_TEST2 - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio & 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Jukka,

Thanks for replying and what I would hope to get is "RioPaulo" as you say.

However I do not understand your explanation.

Regards

Ian

-Original Message-
From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] 
Sent: Friday, April 22, 2016 8:14 AM
To: Ian Walberg <ian.walb...@airborne.aero>; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Hi Ian,

I can see that those names are used as a part of gml:id:
http://www.datypic.com/sc/niem20/a-gml_id.html is of type xsd:ID 
http://www.datypic.com/sc/xsd/t-xsd_ID.html which must be NCName, which in turn 
means that "it must start with a letter or underscore, and can only contain 
letters, digits, underscores, hyphens, and periods." Et-character is denied 
there both as raw as escaped.

I am not sure how you can control how Mapserver is building the gml:id. 
However, I guess that if you use an integer field as primary key in your 
Spatialite database then it would be utilized and gml:id would look like 
mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Ian Walberg
Lähetetty: 22. huhtikuuta 2016 17:10
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Folks,

I think we may be taking about different things, the wfs requests below show 
the problem we are seeing.

There are 2 cities in each of the sqlite databases and the only difference is 
on has the text 'and' and the other has the symbol '&'

Layer DATA_TEST - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio and 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST


Layer DATA_TEST2 - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio & 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST2


So our question is do the strings in database need to be xml safe or does 
mapserver check that the strings are safe before serving.

Thanks

Ian



-Original Message-
From: Even Rouault [mailto:even.roua...@spatialys.com]
Sent: Friday, April 15, 2016 9:15 AM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Le vendredi 15 avril 2016 17:32:36, Ian Walberg a écrit :
> If I understand this we would not get the issue if we use a WFS 
> version
> 1.0.0 request.
> 
> We have just tested that and it appears that changing the version does 
> not change the behavior.
> 
> This is with mapserver version 7.0.1.

We are probably talking about different things.

In
https://github.com/mapserver/mapserver/commit/105877468590e99401d234e1bbac13d7645b77d0
, I have just fixed issues in GetCapabilities response generation, but your 
issues might be different.

I've also just tested reading from a CSV (the input datastore type shouldn't
matter) file a field with & and it is properly escaped as  in the GML 
output of WFS 1.0, 1.1 and 2.0

Without a mapfile + data + request you issue, it is difficult to be sure we're 
talking about the same thing.

> 
> Thanks
> 
> Ian
> 
> -Original Message-
> From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org]
> On Behalf Of Even Rouault Sent: Friday, April 15, 2016 7:50 AM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars
> 
> Le vendredi 15 avril 2016 16:41:28, Richard Watson a écrit :
> > I am using Map Server 6.4.1.  I have a map project file which has 
> > the
> > 
> > following title:
> >   WEB
> >   
> > METADATA
> > 
> >   [ text omitted]
> >   "wms_title" "(*#(@#*$_)@#&\\\///"
> > 
> > END # METADATA
> >   
> >   END # WEB
> > 
> > When a GetCapabilties is done on the project then this is the source 
> > XML which is returned:
> > 
> > 
> > WMS
> > (*#(@#*$_)@#\\///
> > It seems to be escaping as required.
> 
> WMS and WFS 1.0 use MapServer manual XML composition with its own XML 
> escaping routines. Some other services (such as WFS 1.1 & 2.0) use 
> libxml (sometimes not in an appropriate way).
> 
> > On Fri, Apr 15, 2016 at 9:21 AM, Rahkonen Jukka (MML) <
> > 
> > jukka.rahko...@maanmittauslaitos.fi> wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > I was thinking that the output of GetCapabilities is XML and & 
> > > must be escaped in XML. So if I write & into the abstract and 
> > > Mapserver works correctly it should write my test abstract “test ä 
> > > &”  escaped perhaps as
> > > 
> > > test  
>

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Folks,

I think we may be taking about different things, the wfs requests below show 
the problem we are seeing.

There are 2 cities in each of the sqlite databases and the only difference is 
on has the text 'and' and the other has the symbol '&'

Layer DATA_TEST - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio and 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST


Layer DATA_TEST2 - INSERT INTO "test" VALUES('-14.235004','-51.92528','Rio & 
Paulo');

http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map=WFS=1.1.0=GetFeature=DATA_TEST2


So our question is do the strings in database need to be xml safe or does 
mapserver check that the strings are safe before serving.

Thanks

Ian



-Original Message-
From: Even Rouault [mailto:even.roua...@spatialys.com] 
Sent: Friday, April 15, 2016 9:15 AM
To: Ian Walberg <ian.walb...@airborne.aero>
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Le vendredi 15 avril 2016 17:32:36, Ian Walberg a écrit :
> If I understand this we would not get the issue if we use a WFS 
> version
> 1.0.0 request.
> 
> We have just tested that and it appears that changing the version does 
> not change the behavior.
> 
> This is with mapserver version 7.0.1.

We are probably talking about different things.

In
https://github.com/mapserver/mapserver/commit/105877468590e99401d234e1bbac13d7645b77d0
, I have just fixed issues in GetCapabilities response generation, but your 
issues might be different.

I've also just tested reading from a CSV (the input datastore type shouldn't
matter) file a field with & and it is properly escaped as  in the GML 
output of WFS 1.0, 1.1 and 2.0

Without a mapfile + data + request you issue, it is difficult to be sure we're 
talking about the same thing.

> 
> Thanks
> 
> Ian
> 
> -Original Message-
> From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
> On Behalf Of Even Rouault Sent: Friday, April 15, 2016 7:50 AM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars
> 
> Le vendredi 15 avril 2016 16:41:28, Richard Watson a écrit :
> > I am using Map Server 6.4.1.  I have a map project file which has 
> > the
> > 
> > following title:
> >   WEB
> >   
> > METADATA
> > 
> >   [ text omitted]
> >   "wms_title" "(*#(@#*$_)@#&\\\///"
> > 
> > END # METADATA
> >   
> >   END # WEB
> > 
> > When a GetCapabilties is done on the project then this is the source 
> > XML which is returned:
> > 
> > 
> > WMS
> > (*#(@#*$_)@#\\///
> > It seems to be escaping as required.
> 
> WMS and WFS 1.0 use MapServer manual XML composition with its own XML 
> escaping routines. Some other services (such as WFS 1.1 & 2.0) use 
> libxml (sometimes not in an appropriate way).
> 
> > On Fri, Apr 15, 2016 at 9:21 AM, Rahkonen Jukka (MML) <
> > 
> > jukka.rahko...@maanmittauslaitos.fi> wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > I was thinking that the output of GetCapabilities is XML and & 
> > > must be escaped in XML. So if I write & into the abstract and 
> > > Mapserver works correctly it should write my test abstract “test ä 
> > > &”  escaped perhaps as
> > > 
> > > test  
> > > 
> > > That is the output from the online tool at 
> > > http://www.freeformatter.com/xml-escape.html#ad-output
> > > 
> > > 
> > > 
> > > So my conclusion was that because Mapserver does not do it right 
> > > here it won’t do it right elsewhere.
> > > 
> > > 
> > > 
> > > But now I made another test by editing the Geoserver test file 
> > > “states.shp” in Spatialite as
> > > 
> > > UPDATE states set STATE_NAME=’Colo’ WHERE 
> > > STATE_NAME=’Colorado’;
> > > 
> > > 
> > > 
> > > Output of GetFeature from WFS 1.1.0 from Mapserver 7.0.0  includes
> > > 
> > >  Colorado
> > > 
> > > So my current conclusion is that my Mapserver does not escape “&”
> > > correctly when it is used inside a mapfile and when I do 
> > > GetCapabilities request. However, when data come from Spatialite 
> > > database and they are consumed by GetFeature then escaping happens 
> > > correctly.
> > > 
> > > 
> > > 
> > > We are still comparing different things because you have PostGIS 
> >

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-15 Thread Ian Walberg
If I understand this we would not get the issue if we use a WFS version 1.0.0 
request.

We have just tested that and it appears that changing the version does not 
change the behavior.

This is with mapserver version 7.0.1.

Thanks

Ian

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Even Rouault
Sent: Friday, April 15, 2016 7:50 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer - XML/JSON safe chars

Le vendredi 15 avril 2016 16:41:28, Richard Watson a écrit :
> I am using Map Server 6.4.1.  I have a map project file which has the 
> following title:
> 
>   WEB
> METADATA
>   [ text omitted]
>   "wms_title" "(*#(@#*$_)@#&\\\///"
> END # METADATA
>   END # WEB
> 
> When a GetCapabilties is done on the project then this is the source 
> XML which is returned:
> 
> 
> WMS
> (*#(@#*$_)@#\\///
> It seems to be escaping as required.

WMS and WFS 1.0 use MapServer manual XML composition with its own XML escaping 
routines. Some other services (such as WFS 1.1 & 2.0) use libxml (sometimes not 
in an appropriate way).

> 
> On Fri, Apr 15, 2016 at 9:21 AM, Rahkonen Jukka (MML) <
> 
> jukka.rahko...@maanmittauslaitos.fi> wrote:
> > Hi,
> > 
> > 
> > 
> > I was thinking that the output of GetCapabilities is XML and & must 
> > be escaped in XML. So if I write & into the abstract and Mapserver 
> > works correctly it should write my test abstract “test ä &”  escaped 
> > perhaps as
> > 
> > test  
> > 
> > That is the output from the online tool at 
> > http://www.freeformatter.com/xml-escape.html#ad-output
> > 
> > 
> > 
> > So my conclusion was that because Mapserver does not do it right 
> > here it won’t do it right elsewhere.
> > 
> > 
> > 
> > But now I made another test by editing the Geoserver test file 
> > “states.shp” in Spatialite as
> > 
> > UPDATE states set STATE_NAME=’Colo’ WHERE 
> > STATE_NAME=’Colorado’;
> > 
> > 
> > 
> > Output of GetFeature from WFS 1.1.0 from Mapserver 7.0.0  includes
> > 
> >  Colorado
> > 
> > So my current conclusion is that my Mapserver does not escape “&”
> > correctly when it is used inside a mapfile and when I do 
> > GetCapabilities request. However, when data come from Spatialite 
> > database and they are consumed by GetFeature then escaping happens 
> > correctly.
> > 
> > 
> > 
> > We are still comparing different things because you have PostGIS and 
> > I have Spatialite.
> > 
> > 
> > 
> > -Jukka Rahkonen-
> > 
> > 
> > 
> > 
> > 
> > Ian Walberg wrote:
> > 
> > 
> > 
> > Jukka,
> > 
> > 
> > 
> > I am not sure I understand the test you did.
> > 
> > 
> > 
> > The data we are referring to is from the database field for the 
> > individual features name.
> > 
> > 
> > 
> > Regards
> > 
> > 
> > 
> > Ian
> > 
> > 
> > 
> > *From:* Rahkonen Jukka (MML) 
> > [mailto:jukka.rahko...@maanmittauslaitos.fi
> > <jukka.rahko...@maanmittauslaitos.fi>]
> > *Sent:* Thursday, April 14, 2016 10:19 PM
> > *To:* Ian Walberg <ian.walb...@airborne.aero>; MapserverList OSGEO < 
> > mapserver-users@lists.osgeo.org>
> > *Subject:* Re: WFS layer - XML/JSON safe chars
> > 
> > 
> > 
> > Hi Ian,
> > 
> > 
> > 
> > Thanks for the clarification.
> > 
> > I made a simple test by adding an abstract into layer metadata. This 
> > shows “test ä” as an abstract
> > 
> > "wfs_abstract" "test ä”
> > 
> > 
> > 
> > This one shows an empty abstract
> > 
> > "wfs_abstract" "test ä &"
> > 
> > 
> > 
> > So it looks like Mapserver doesn’t know to convert “&” into “” 
> > for XML.
> > 
> > 
> > 
> > -Jukka Rahkonen-
> > 
> > 
> > 
> > Ian Walberg wrote:
> > 
> > 
> > 
> > Jukka,
> > 
> > 
> > 
> > Our question was for the data/text read from the database and then 
> > published as XML by the WFS service.
> > 
> > 
> > 
> > So a pub with the name ‘Dog & bone’ created illegal xml as the & is 
> > not converted to 
> > 
> > 
> > 
> > Regards
> > 
> > 
> > 
> > Ian
> > 
> > 
> &

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-15 Thread Ian Walberg
Jukka,

Let us test again today, we are also using a spatialite DB.

Regards

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Friday, April 15, 2016 7:22 AM
To: Ian Walberg <ian.walb...@airborne.aero>; MapserverList OSGEO 
<mapserver-users@lists.osgeo.org>
Subject: Re: WFS layer - XML/JSON safe chars

Hi,

I was thinking that the output of GetCapabilities is XML and & must be escaped 
in XML. So if I write & into the abstract and Mapserver works correctly it 
should write my test abstract “test ä &”  escaped perhaps as
test  
That is the output from the online tool at 
http://www.freeformatter.com/xml-escape.html#ad-output

So my conclusion was that because Mapserver does not do it right here it won’t 
do it right elsewhere.

But now I made another test by editing the Geoserver test file “states.shp” in 
Spatialite as
UPDATE states set STATE_NAME=’Colo’ WHERE STATE_NAME=’Colorado’;

Output of GetFeature from WFS 1.1.0 from Mapserver 7.0.0  includes
 Colorado

So my current conclusion is that my Mapserver does not escape “&” correctly 
when it is used inside a mapfile and when I do GetCapabilities request. 
However, when data come from Spatialite database and they are consumed by 
GetFeature then escaping happens correctly.

We are still comparing different things because you have PostGIS and I have 
Spatialite.

-Jukka Rahkonen-


Ian Walberg wrote:

Jukka,

I am not sure I understand the test you did.

The data we are referring to is from the database field for the individual 
features name.

Regards

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, April 14, 2016 10:19 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
MapserverList OSGEO 
<mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>>
Subject: Re: WFS layer - XML/JSON safe chars

Hi Ian,

Thanks for the clarification.
I made a simple test by adding an abstract into layer metadata. This shows 
“test ä” as an abstract
"wfs_abstract" "test ä”

This one shows an empty abstract
"wfs_abstract" "test ä &"

So it looks like Mapserver doesn’t know to convert “&” into “” for XML.

-Jukka Rahkonen-

Ian Walberg wrote:

Jukka,

Our question was for the data/text read from the database and then published as 
XML by the WFS service.

So a pub with the name ‘Dog & bone’ created illegal xml as the & is not 
converted to 

Regards

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, April 14, 2016 3:10 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
MapserverList OSGEO 
<mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>>
Subject: Re: WFS layer - XML/JSON safe chars

Hi,

You can’t have & in feature type names or attribute names in WFS because they 
are defined in the XML schema to be “QName”. The prefix and LocalPart are of 
type NCName https://en.wikipedia.org/wiki/QName and from 
http://stackoverflow.com/questions/1631396/what-is-an-xsncname-type-and-when-should-it-be-used

The practical restrictions of NCName are that it cannot contain several symbol 
characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different 
parenthesis. Furthermore an NCName cannot begin with a number, dot or minus 
character although they can appear later in an NCName.

-Jukka Rahkonen-

Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Ian Walberg
Lähetetty: 14. huhtikuuta 2016 19:23
Vastaanottaja: MapserverList OSGEO
Aihe: [mapserver-users] WFS layer - XML/JSON safe chars

Folks,

Can mapserver produce XML or JSON safe characters for WFS served data or do we 
need to ensure the source data has the escaped values.

We got tripped up today as there were some ‘&’ in our names which we had not 
considered.

Thanks

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

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-15 Thread Ian Walberg
Jukka,

I am not sure I understand the test you did.

The data we are referring to is from the database field for the individual 
features name.

Regards

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, April 14, 2016 10:19 PM
To: Ian Walberg <ian.walb...@airborne.aero>; MapserverList OSGEO 
<mapserver-users@lists.osgeo.org>
Subject: Re: WFS layer - XML/JSON safe chars

Hi Ian,

Thanks for the clarification.
I made a simple test by adding an abstract into layer metadata. This shows 
“test ä” as an abstract
"wfs_abstract" "test ä”

This one shows an empty abstract
"wfs_abstract" "test ä &"

So it looks like Mapserver doesn’t know to convert “&” into “” for XML.

-Jukka Rahkonen-

Ian Walberg wrote:

Jukka,

Our question was for the data/text read from the database and then published as 
XML by the WFS service.

So a pub with the name ‘Dog & bone’ created illegal xml as the & is not 
converted to 

Regards

Ian

From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: Thursday, April 14, 2016 3:10 PM
To: Ian Walberg <ian.walb...@airborne.aero<mailto:ian.walb...@airborne.aero>>; 
MapserverList OSGEO 
<mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>>
Subject: Re: WFS layer - XML/JSON safe chars

Hi,

You can’t have & in feature type names or attribute names in WFS because they 
are defined in the XML schema to be “QName”. The prefix and LocalPart are of 
type NCName https://en.wikipedia.org/wiki/QName and from 
http://stackoverflow.com/questions/1631396/what-is-an-xsncname-type-and-when-should-it-be-used

The practical restrictions of NCName are that it cannot contain several symbol 
characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different 
parenthesis. Furthermore an NCName cannot begin with a number, dot or minus 
character although they can appear later in an NCName.

-Jukka Rahkonen-

Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Ian Walberg
Lähetetty: 14. huhtikuuta 2016 19:23
Vastaanottaja: MapserverList OSGEO
Aihe: [mapserver-users] WFS layer - XML/JSON safe chars

Folks,

Can mapserver produce XML or JSON safe characters for WFS served data or do we 
need to ensure the source data has the escaped values.

We got tripped up today as there were some ‘&’ in our names which we had not 
considered.

Thanks

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

[mapserver-users] WFS layer - XML/JSON safe chars

2016-04-14 Thread Ian Walberg
Folks,

Can mapserver produce XML or JSON safe characters for WFS served data or do we 
need to ensure the source data has the escaped values.

We got tripped up today as there were some ‘&’ in our names which we had not 
considered.

Thanks

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

Re: [mapserver-users] [mapserver-dev] PHP Mapscript - setting PostLabelCache stops text displaying

2015-08-27 Thread Ian Walberg
Folks,

Anyone have any ideas on this? Or is everyone still on their summer vacation :)

Many thanks

Ian

-Original Message-
From: Ian Walberg 
Sent: Tuesday, August 18, 2015 11:48 AM
To: Ian Walberg ian.walb...@airborne.aero; mapserver-...@lists.osgeo.org; 
mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-dev] PHP Mapscript - setting PostLabelCache stops text 
displaying

I have raised this as an issue 
https://github.com/mapserver/mapserver/issues/5142


-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 17, 2015 4:15 PM
To: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: [mapserver-dev] PHP Mapscript - setting PostLabelCache stops text 
displaying

Folks,

Using PHP Mapscript it appears that when PostLabelCache is set to '1' for a 
label layer this causes the label text not to display.

With a map file this works as expected.

Looking in the mapscript/php source directory there are mutiple '#ifdef 
disabled' around the labelcache functions.

Is anyone aware of this? Should I raise an issue?

Thanks, Ian
___
mapserver-dev mailing list
mapserver-...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] [mapserver-dev] PHP Mapscript - setting PostLabelCache stops text displaying

2015-08-18 Thread Ian Walberg
I have raised this as an issue 
https://github.com/mapserver/mapserver/issues/5142


-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 17, 2015 4:15 PM
To: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: [mapserver-dev] PHP Mapscript - setting PostLabelCache stops text 
displaying

Folks,

Using PHP Mapscript it appears that when PostLabelCache is set to '1' for a 
label layer this causes the label text not to display.

With a map file this works as expected.

Looking in the mapscript/php source directory there are mutiple '#ifdef 
disabled' around the labelcache functions.

Is anyone aware of this? Should I raise an issue?

Thanks, Ian
___
mapserver-dev mailing list
mapserver-...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Cross compile - Mapserver 7 cmake

2015-08-18 Thread Ian Walberg
Folks,

We need to need to build for an arm processor and previously where able to ok 
with the configure script.

However it is not immediately obvious how to do this now the build users cmake.

Any pointers/advice would be most appreciated and save us some time.

Thanks, Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] PHP Mapscript - setting PostLabelCache stops text displaying

2015-08-17 Thread Ian Walberg
Folks,

Using PHP Mapscript it appears that when PostLabelCache is set to '1' for a 
label layer this causes the label text not to display.

With a map file this works as expected.

Looking in the mapscript/php source directory there are mutiple '#ifdef 
disabled' around the labelcache functions.

Is anyone aware of this? Should I raise an issue?

Thanks, Ian
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Memory leak

2015-06-10 Thread Ian Walberg
Posting to mapserver users as well as dev list.

Folks,

We have a php application which renders a new map every few seconds and with 
any of the versions with the refactored label font support we see what appears 
to be a memory leak.

When our application exits the error is 'Freetype was unable to load font 
file'. This is from fontcache.c and occurs in our case after around 130 calls 
to the msGetFontFace function.

I will look into this further but from a quick look it seems that the 
FT_New_Face is being called every time.

Our application uses only one font so our assumption is that this should not 
need to be called every time.

Any help appreciated.

Thanks

Ian

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

Re: [mapserver-users] - Mapserver 7

2015-05-04 Thread Ian Walberg
Is there a new planned release date for version 7?

Any areas that you need help?

Thanks, Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D 
(MNIT)
Sent: Tuesday, March 24, 2015 9:55 AM
To: scott...@free.fr; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] - Mapserver 7

Another beta should be along soon (within a week?). Feedback/testing has been 
pretty slow to come thus far... The more of that we get the faster the release 
process will go.

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of scott...@free.fr
Sent: Tuesday, March 24, 2015 2:08 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] - Mapserver 7


Is there a date to next beta or release ?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-15 Thread Ian Walberg
Thomas,

I entered the details here https://github.com/mapserver/mapserver/issues/4972

We are happy to help investigate, any ideas where we should look?

Thanks

Ian


-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Thursday, August 14, 2014 2:26 PM
To: Ian Walberg
Cc: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Multiline string error

Ian,
Could you open a github issue for this one, and include a minimal mapfile that 
would allow me to reproduce the issue locally.

thanks,
thomas

On 14 August 2014 18:09, Ian Walberg ian.walb...@airborne.aero wrote:
 Steve,

 I used points for the feature data rather than the WKT string but seem to 
 have got the same condition.

 I have added the debug line to the source to use the msPrintShape in the 
 mapprimative.c file in the msPolylineComputeLineSegments function.

 Using EXTENT -111.9 37 -110 40

 FEATURE
 POINTS
   -110.220980 38.982832
   -110.220887 38.982863
   -110.221614 38.982708
   -110.220980 38.982832
 END
 TEXT Testing
   END

 With first and last point the same I get no shape details and nothing drawn 
 on the map and no malloc error.

 FEATURE
 POINTS
   -110.220982 38.982832
   -110.220887 38.982863
   -110.221614 38.982708
   -110.220980 38.982832
 END
 TEXT Testing
   END

 With different first and last points I get the line drawn and the 
 following debug :-

 [Thu Aug 14 08:47:10 2014].339760 Shape contains 1 parts.
 [Thu Aug 14 08:47:10 2014].339777   Part 0 contains 2 points.
 [Thu Aug 14 08:47:10 2014].339790   0: (825.885602, 260.055952)
 [Thu Aug 14 08:47:10 2014].339829   1: (825.886113, 260.055952)

 Then msSmallMalloc(): Out of memory allocating -8 bytes.

 We are happy to look further but any guidance to where to look would be great.

 With mapsever 6.4.1 the line does not get drawn when the points are the same 
 but does not give a malloc error.

 Thanks

 Ian


 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Thursday, August 14, 2014 7:40 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 One quick thing to do would be to take OGR out of the mix. Just set up a 
 mapfile with the feature in question as a WKT inline feature. Something like:

 LAYER
   NAME 'badwkt'
   TYPE LINE
   STATUS DEFAULT
   FEATURE
 WKT ' MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, 
 -110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, 
 -110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))'
   END
   CLASS
 STYLE COLOR 0 0 0 END
   END
 END

 Then try to draw... If this fails then it's a MapServer issue.

 Steve

 -Original Message-
 From: Ian Walberg [mailto:ian.walb...@airborne.aero]
 Sent: Wednesday, August 13, 2014 9:38 PM
 To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 Steve,

 Version 6.4.1 built on the same machine with the same settings does not have 
 the issue.

 Regards

 Ian

 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:43 PM
 To: 'Lime, Steve D (MNIT)'; 'mapserver-users@lists.osgeo.org'; 
 'mapserver-...@lists.osgeo.org'
 Subject: RE: Multiline string error

 Steve,

 We will add some debug to the OGR read later today or tomorrow.

 How do I turn on the maximum debug?

 Thanks

 Ian

 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:20 PM
 To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 Steve,

 OGR connection to SQLITE DB.

 Regards

 Ian

 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Wednesday, August 13, 2014 8:46 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 How are you submitting the WKT to MapServer? Is it via MapScript, via inline 
 features or some other mechanism?

 Steve

 -Original Message-
 From: mapserver-dev-boun...@lists.osgeo.org 
 [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian 
 Walberg
 Sent: Wednesday, August 13, 2014 10:01 AM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: Re: [mapserver-dev] Multiline string error

 Devs,

 The MULTILINE string below gives the following in mapprimitive.c and then as 
 the first shape has 0 points the msSmallMalloc fails as the size passed to it 
 is -8.

 [Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
 [Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
 [Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
 [Wed Aug 13 07:55:10 2014].619016   0

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
Jukka,

Added CONFIG CPL_DEBUG ON and have the layer debug on.

I am also building with -DCMAKE_BUILD_TYPE=Debug.

It just looked like there was more debug available in the source which was no 
being displayed, but I might be wrong.

Thanks

Ian

-Original Message-
From: Rahkonen Jukka (Tike) [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Wednesday, August 13, 2014 11:39 PM
To: Ian Walberg; mapserver-users@lists.osgeo.org
Subject: Re: Multiline string error

Hi, 

I would put this into MAP level
CONFIG CPL_DEBUG ON
and then at layer level
DEBUG 5

-Jukka Rahkonen-

Ian Walberg wrote:
 
 Steve,
 
 We will add some debug to the OGR read later today or tomorrow.
 
 How do I turn on the maximum debug?
 
 Thanks
 
 Ian
 
 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:20 PM
 To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
 mapserver- d...@lists.osgeo.org
 Subject: RE: Multiline string error
 
 Steve,
 
 OGR connection to SQLITE DB.
 
 Regards
 
 Ian
 
 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Wednesday, August 13, 2014 8:46 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver- 
 d...@lists.osgeo.org
 Subject: RE: Multiline string error
 
 How are you submitting the WKT to MapServer? Is it via MapScript, via 
 inline features or some other mechanism?
 
 Steve
 
 -Original Message-
 From: mapserver-dev-boun...@lists.osgeo.org [mailto:mapserver-dev- 
 boun...@lists.osgeo.org] On Behalf Of Ian Walberg
 Sent: Wednesday, August 13, 2014 10:01 AM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: Re: [mapserver-dev] Multiline string error
 
 Devs,
 
 The MULTILINE string below gives the following in mapprimitive.c and 
 then as the first shape has 0 points the msSmallMalloc fails as the size 
 passed to it is -8.
 
 [Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
 [Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
 [Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
 [Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
 [Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
 [Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)
 
 Any clues what we should look at next?
 
 This same source data file and layer work with older versions of mapserver 6.
 
 Thanks
 
 Ian
 
 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- 
 boun...@lists.osgeo.org] On Behalf Of Ian Walberg
 Sent: Monday, August 11, 2014 3:53 PM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: [mapserver-users] Multiline string error
 
 Folks,
 
 With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either 
 does not draw or causes mapserv to error and not render an image 
 without an error message.
 
 MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -
 110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, -
 110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))
 
 Changing the final digit on either of the first or last lats/longs and it 
 draws ok!
 
 Any ideas?
 
 Thanks
 
 Ian
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 ___
 mapserver-dev mailing list
 mapserver-...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-dev
 ___
 mapserver-dev mailing list
 mapserver-...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-dev
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
Jukka/Steve,

How do I add a text label to the feature in this case?

Removing the label from my problem layer stops the error occurring.

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka 
(Tike)
Sent: Thursday, August 14, 2014 7:51 AM
To: 'mapserver-users@lists.osgeo.org'
Subject: Re: [mapserver-users] Multiline string error

Hi,

This was fun, I had never tried anything like this before.

Works for me on Windows with a week old Mapserver build from gisinternals. Big 
thanks for Tamas for the builds by the way.

-Jukka-

 -Alkuperäinen viesti-
 Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users- boun...@lists.osgeo.org] Puolesta Lime, Steve 
 D (MNIT)
 Lähetetty: 14. elokuuta 2014 17:40
 Vastaanottaja: Ian Walberg; mapserver-users@lists.osgeo.org; 
 mapserver- d...@lists.osgeo.org
 Aihe: Re: [mapserver-users] Multiline string error
 
 One quick thing to do would be to take OGR out of the mix. Just set up 
 a mapfile with the feature in question as a WKT inline feature. Something 
 like:
 
 LAYER
   NAME 'badwkt'
   TYPE LINE
   STATUS DEFAULT
   FEATURE
 WKT ' MULTILINESTRING ((-110.220980 38.982832, -110.220887 
 38.982863, -
 110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, -
 110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))'
   END
   CLASS
 STYLE COLOR 0 0 0 END
   END
 END
 
 Then try to draw... If this fails then it's a MapServer issue.
 
 Steve
 
 -Original Message-
 From: Ian Walberg [mailto:ian.walb...@airborne.aero]
 Sent: Wednesday, August 13, 2014 9:38 PM
 To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; mapserver- 
 d...@lists.osgeo.org
 Subject: RE: Multiline string error
 
 Steve,
 
 Version 6.4.1 built on the same machine with the same settings does 
 not have the issue.
 
 Regards
 
 Ian
 
 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:43 PM
 To: 'Lime, Steve D (MNIT)'; 'mapserver-users@lists.osgeo.org'; 
 'mapserver- d...@lists.osgeo.org'
 Subject: RE: Multiline string error
 
 Steve,
 
 We will add some debug to the OGR read later today or tomorrow.
 
 How do I turn on the maximum debug?
 
 Thanks
 
 Ian
 
 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:20 PM
 To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
 mapserver- d...@lists.osgeo.org
 Subject: RE: Multiline string error
 
 Steve,
 
 OGR connection to SQLITE DB.
 
 Regards
 
 Ian
 
 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Wednesday, August 13, 2014 8:46 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver- 
 d...@lists.osgeo.org
 Subject: RE: Multiline string error
 
 How are you submitting the WKT to MapServer? Is it via MapScript, via 
 inline features or some other mechanism?
 
 Steve
 
 -Original Message-
 From: mapserver-dev-boun...@lists.osgeo.org [mailto:mapserver-dev- 
 boun...@lists.osgeo.org] On Behalf Of Ian Walberg
 Sent: Wednesday, August 13, 2014 10:01 AM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: Re: [mapserver-dev] Multiline string error
 
 Devs,
 
 The MULTILINE string below gives the following in mapprimitive.c and 
 then as the first shape has 0 points the msSmallMalloc fails as the size 
 passed to it is -8.
 
 [Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
 [Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
 [Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
 [Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
 [Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
 [Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)
 
 Any clues what we should look at next?
 
 This same source data file and layer work with older versions of mapserver 6.
 
 Thanks
 
 Ian
 
 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- 
 boun...@lists.osgeo.org] On Behalf Of Ian Walberg
 Sent: Monday, August 11, 2014 3:53 PM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: [mapserver-users] Multiline string error
 
 Folks,
 
 With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either 
 does not draw or causes mapserv to error and not render an image 
 without an error message.
 
 MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -
 110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, -
 110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))
 
 Changing the final digit on either of the first or last lats/longs and it 
 draws ok!
 
 Any ideas?
 
 Thanks
 
 Ian
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman

Re: [mapserver-users] Multiline string error

2014-08-14 Thread Ian Walberg
Steve,

I used points for the feature data rather than the WKT string but seem to have 
got the same condition.

I have added the debug line to the source to use the msPrintShape in the 
mapprimative.c file in the msPolylineComputeLineSegments function.

Using EXTENT -111.9 37 -110 40 

FEATURE
POINTS
  -110.220980 38.982832
  -110.220887 38.982863
  -110.221614 38.982708
  -110.220980 38.982832
END
TEXT Testing
  END

With first and last point the same I get no shape details and nothing drawn on 
the map and no malloc error.

FEATURE
POINTS
  -110.220982 38.982832
  -110.220887 38.982863
  -110.221614 38.982708
  -110.220980 38.982832
END
TEXT Testing
  END

With different first and last points I get the line drawn and the following 
debug :-

[Thu Aug 14 08:47:10 2014].339760 Shape contains 1 parts.
[Thu Aug 14 08:47:10 2014].339777   Part 0 contains 2 points.
[Thu Aug 14 08:47:10 2014].339790   0: (825.885602, 260.055952)
[Thu Aug 14 08:47:10 2014].339829   1: (825.886113, 260.055952)

Then msSmallMalloc(): Out of memory allocating -8 bytes.

We are happy to look further but any guidance to where to look would be great.

With mapsever 6.4.1 the line does not get drawn when the points are the same 
but does not give a malloc error.

Thanks

Ian


-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: Thursday, August 14, 2014 7:40 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

One quick thing to do would be to take OGR out of the mix. Just set up a 
mapfile with the feature in question as a WKT inline feature. Something like:

LAYER
  NAME 'badwkt'
  TYPE LINE
  STATUS DEFAULT
  FEATURE
WKT ' MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, 
-110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, 
-110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))'
  END
  CLASS
STYLE COLOR 0 0 0 END
  END
END

Then try to draw... If this fails then it's a MapServer issue.

Steve

-Original Message-
From: Ian Walberg [mailto:ian.walb...@airborne.aero] 
Sent: Wednesday, August 13, 2014 9:38 PM
To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

Steve,

Version 6.4.1 built on the same machine with the same settings does not have 
the issue.

Regards

Ian

-Original Message-
From: Ian Walberg 
Sent: Wednesday, August 13, 2014 3:43 PM
To: 'Lime, Steve D (MNIT)'; 'mapserver-users@lists.osgeo.org'; 
'mapserver-...@lists.osgeo.org'
Subject: RE: Multiline string error

Steve,

We will add some debug to the OGR read later today or tomorrow.

How do I turn on the maximum debug?

Thanks

Ian

-Original Message-
From: Ian Walberg 
Sent: Wednesday, August 13, 2014 3:20 PM
To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

Steve,

OGR connection to SQLITE DB.

Regards

Ian

-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: Wednesday, August 13, 2014 8:46 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

How are you submitting the WKT to MapServer? Is it via MapScript, via inline 
features or some other mechanism?

Steve

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Wednesday, August 13, 2014 10:01 AM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Multiline string error

Devs,

The MULTILINE string below gives the following in mapprimitive.c and then as 
the first shape has 0 points the msSmallMalloc fails as the size passed to it 
is -8.

[Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
[Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
[Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
[Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
[Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
[Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)

Any clues what we should look at next?

This same source data file and layer work with older versions of mapserver 6.

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 11, 2014 3:53 PM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not 
draw or causes mapserv to error and not render an image without an error 
message

Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-14 Thread Ian Walberg
Thomas,

Yes of course.

Regards

Ian

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Thursday, August 14, 2014 2:26 PM
To: Ian Walberg
Cc: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Multiline string error

Ian,
Could you open a github issue for this one, and include a minimal mapfile that 
would allow me to reproduce the issue locally.

thanks,
thomas

On 14 August 2014 18:09, Ian Walberg ian.walb...@airborne.aero wrote:
 Steve,

 I used points for the feature data rather than the WKT string but seem to 
 have got the same condition.

 I have added the debug line to the source to use the msPrintShape in the 
 mapprimative.c file in the msPolylineComputeLineSegments function.

 Using EXTENT -111.9 37 -110 40

 FEATURE
 POINTS
   -110.220980 38.982832
   -110.220887 38.982863
   -110.221614 38.982708
   -110.220980 38.982832
 END
 TEXT Testing
   END

 With first and last point the same I get no shape details and nothing drawn 
 on the map and no malloc error.

 FEATURE
 POINTS
   -110.220982 38.982832
   -110.220887 38.982863
   -110.221614 38.982708
   -110.220980 38.982832
 END
 TEXT Testing
   END

 With different first and last points I get the line drawn and the 
 following debug :-

 [Thu Aug 14 08:47:10 2014].339760 Shape contains 1 parts.
 [Thu Aug 14 08:47:10 2014].339777   Part 0 contains 2 points.
 [Thu Aug 14 08:47:10 2014].339790   0: (825.885602, 260.055952)
 [Thu Aug 14 08:47:10 2014].339829   1: (825.886113, 260.055952)

 Then msSmallMalloc(): Out of memory allocating -8 bytes.

 We are happy to look further but any guidance to where to look would be great.

 With mapsever 6.4.1 the line does not get drawn when the points are the same 
 but does not give a malloc error.

 Thanks

 Ian


 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Thursday, August 14, 2014 7:40 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 One quick thing to do would be to take OGR out of the mix. Just set up a 
 mapfile with the feature in question as a WKT inline feature. Something like:

 LAYER
   NAME 'badwkt'
   TYPE LINE
   STATUS DEFAULT
   FEATURE
 WKT ' MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, 
 -110.221614 38.982708, -110.220980 38.982832),(-110.220980 38.982832, 
 -110.220887 38.982863, -110.221614 38.982708, -110.220980 38.982832))'
   END
   CLASS
 STYLE COLOR 0 0 0 END
   END
 END

 Then try to draw... If this fails then it's a MapServer issue.

 Steve

 -Original Message-
 From: Ian Walberg [mailto:ian.walb...@airborne.aero]
 Sent: Wednesday, August 13, 2014 9:38 PM
 To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 Steve,

 Version 6.4.1 built on the same machine with the same settings does not have 
 the issue.

 Regards

 Ian

 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:43 PM
 To: 'Lime, Steve D (MNIT)'; 'mapserver-users@lists.osgeo.org'; 
 'mapserver-...@lists.osgeo.org'
 Subject: RE: Multiline string error

 Steve,

 We will add some debug to the OGR read later today or tomorrow.

 How do I turn on the maximum debug?

 Thanks

 Ian

 -Original Message-
 From: Ian Walberg
 Sent: Wednesday, August 13, 2014 3:20 PM
 To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 Steve,

 OGR connection to SQLITE DB.

 Regards

 Ian

 -Original Message-
 From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
 Sent: Wednesday, August 13, 2014 8:46 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org; 
 mapserver-...@lists.osgeo.org
 Subject: RE: Multiline string error

 How are you submitting the WKT to MapServer? Is it via MapScript, via inline 
 features or some other mechanism?

 Steve

 -Original Message-
 From: mapserver-dev-boun...@lists.osgeo.org 
 [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian 
 Walberg
 Sent: Wednesday, August 13, 2014 10:01 AM
 To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: Re: [mapserver-dev] Multiline string error

 Devs,

 The MULTILINE string below gives the following in mapprimitive.c and then as 
 the first shape has 0 points the msSmallMalloc fails as the size passed to it 
 is -8.

 [Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
 [Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
 [Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
 [Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
 [Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
 [Wed Aug 13 07:55:10 2014].619049

Re: [mapserver-users] Multiline string error

2014-08-13 Thread Ian Walberg
Devs,

The MULTILINE string below gives the following in mapprimitive.c and then as 
the first shape has 0 points the msSmallMalloc fails as the size passed to it 
is -8.

[Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
[Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
[Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
[Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
[Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
[Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)

Any clues what we should look at next?

This same source data file and layer work with older versions of mapserver 6.

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 11, 2014 3:53 PM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not 
draw or causes mapserv to error and not render an image without an error 
message.

MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -110.221614 
38.982708, -110.220980 38.982832),(-110.220980 38.982832, -110.220887 
38.982863, -110.221614 38.982708, -110.220980 38.982832))

Changing the final digit on either of the first or last lats/longs and it draws 
ok!

Any ideas?

Thanks

Ian

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


Re: [mapserver-users] Multiline string error

2014-08-13 Thread Ian Walberg
Steve,

OGR connection to SQLITE DB.

Regards

Ian

-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: Wednesday, August 13, 2014 8:46 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

How are you submitting the WKT to MapServer? Is it via MapScript, via inline 
features or some other mechanism?

Steve

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Wednesday, August 13, 2014 10:01 AM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Multiline string error

Devs,

The MULTILINE string below gives the following in mapprimitive.c and then as 
the first shape has 0 points the msSmallMalloc fails as the size passed to it 
is -8.

[Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
[Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
[Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
[Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
[Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
[Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)

Any clues what we should look at next?

This same source data file and layer work with older versions of mapserver 6.

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 11, 2014 3:53 PM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not 
draw or causes mapserv to error and not render an image without an error 
message.

MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -110.221614 
38.982708, -110.220980 38.982832),(-110.220980 38.982832, -110.220887 
38.982863, -110.221614 38.982708, -110.220980 38.982832))

Changing the final digit on either of the first or last lats/longs and it draws 
ok!

Any ideas?

Thanks

Ian

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


Re: [mapserver-users] Multiline string error

2014-08-13 Thread Ian Walberg
Steve,

We will add some debug to the OGR read later today or tomorrow.

How do I turn on the maximum debug?

Thanks

Ian

-Original Message-
From: Ian Walberg 
Sent: Wednesday, August 13, 2014 3:20 PM
To: 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org; 
mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

Steve,

OGR connection to SQLITE DB.

Regards

Ian

-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: Wednesday, August 13, 2014 8:46 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: RE: Multiline string error

How are you submitting the WKT to MapServer? Is it via MapScript, via inline 
features or some other mechanism?

Steve

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Wednesday, August 13, 2014 10:01 AM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Multiline string error

Devs,

The MULTILINE string below gives the following in mapprimitive.c and then as 
the first shape has 0 points the msSmallMalloc fails as the size passed to it 
is -8.

[Wed Aug 13 07:55:10 2014].618971 Shape contains 2 parts.
[Wed Aug 13 07:55:10 2014].618987   Part 0 contains 0 points.
[Wed Aug 13 07:55:10 2014].619001   Part 1 contains 3 points.
[Wed Aug 13 07:55:10 2014].619016   0: (882.383078, 511.333078)
[Wed Aug 13 07:55:10 2014].619032   1: (825.909890, 260.048026)
[Wed Aug 13 07:55:10 2014].619049   2: (882.383078, 511.333078)

Any clues what we should look at next?

This same source data file and layer work with older versions of mapserver 6.

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, August 11, 2014 3:53 PM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not 
draw or causes mapserv to error and not render an image without an error 
message.

MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -110.221614 
38.982708, -110.220980 38.982832),(-110.220980 38.982832, -110.220887 
38.982863, -110.221614 38.982708, -110.220980 38.982832))

Changing the final digit on either of the first or last lats/longs and it draws 
ok!

Any ideas?

Thanks

Ian

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


[mapserver-users] Build from source with debug symbols

2014-07-21 Thread Ian Walberg
Folks,

I cannot see with the new cmake build how to enable debug symbols, can anyone 
advise?

Specifically we have what could be an issue with php_mapscript and what to 
debug it.

Thanks

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

[mapserver-users] Scalebar transparency

2013-08-12 Thread Ian Walberg
We use php mapscript and have always struggled to understand how to get the 
scale bar transparent. What seemed to be the case was if we set the png output 
type to transparent and the scale bar to transparent we got a transparent 
background ok. The image in this case will be a 32 bit RGBA png so larger than 
ideal but it did work.

However if we set the output type to jpg we could not get a transparent 
scalebar via php mapsrcipt.

Using a map file and the cgi mapserv we can get a transparent scale bar 
background for both png's and jpeg's.

The current documentation says that the transparent setting in the scalebar 
object is depreciated and the output format setting should be used.

So we are confused.

Should it be possible via php mapscript to get a jpg format output and a 
scalebar with a transparent background? We assume yes as this is possible with 
a map file.

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


[mapserver-users] UTF8 - direction control characters

2013-05-13 Thread Ian Walberg
Folks,

 

We are trying to display labels with UTF8 direction control characters
in them and we are seeing boxes in the text.

 

For example inserting a RLE code does seem to change the rendering order
as expected but also displays a box.

 

Our guess is that the control character has not been removed when the
text is rendered so gets rendered as an unknown character.

 

We are happy to look into this in more detail but could do with some
guidance on where to look.

 

Thanks

 

Ian

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


[mapserver-users] Right to left text mixed with numeric data

2013-04-16 Thread Ian Walberg
Hello list,

We are using mapserver and need to display mixed RTL text and numeric data.

The numeric data displays the minus sign after the string 123- rather than -123 
as we would like.

Does anyone know how to make the minus sign appear before the numbers?

Many thanks

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


Re: [mapserver-users] [mapserver-dev] Rendering Hindi Characters

2013-04-05 Thread Ian Walberg
Steve,

I will raise an issue to track this and we will be looking into it in more 
detail.

From the research we have done so far I am not sure that it is an issue with 
fribidi as my understanding that this just addresses the l-r and r-l ordering 
issues.

What we believe is that the mapserver text rendering pipeline cannot support 
the more complex character layouts required in some cases for Hinidi and other 
languages.

Regards

Ian

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Friday, April 05, 2013 5:56 AM
To: mapserver-dev
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] [mapserver-users] Rendering Hindi Characters

Ian,

As I mentioned before, I think this is an issue with fribidi or the font that 
you are using. I have seen nothing that indicates that this is a mapserver 
problem other than the implied suggestion that maybe mapserver should find a 
different library to solve this issue.

Did you post this issue on the fribidi list?
Did you post the response back here?

I saw that you tried the text in other windows products and it works. I can 
appreciate your frustration with this fact, but this does not in itself mean 
the mapserver is broken. We rely on fribidi and the selected font to generate 
the correct glyphs for rendering. If the gylphs are not rendered correctly 
there are a few possibilities:

1. a bug in mapserver - not likely as we have plenty of working examples using 
multiple other languages 2. a bug/limitation in fribidi 3. a font file with 
missing or broken glyphs.

In most cases of rendering problems that we have seen to date have been 
problems with fonts. The fribidi list has been helpful identifying good fonts 
for specific languages.

If you want to file a bug on the mapserver site, goto http://mapserver.org/ and 
follow the link on the top right of the page to the issue tracker. You will 
need to supply a test case that demonstrates the problem and some graphics so 
non hindi readers can see what is bad and what is expected.

Without some more clear evidence that this is a mapserver problem, I'm not sure 
this will get much action.

I am sympathetic, as I ran into a similar issue with Arabic a few years ago and 
had to do this whole dance with fribidi to understand the issues and identify a 
font that resolved the issues.

-Steve W

On 4/4/2013 11:12 AM, Ian Walberg wrote:
 Folks,

 Added the dev list, how do I raise a ticket on this?

 Thanks

 Ian

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian 
 Walberg
 Sent: Tuesday, April 02, 2013 2:34 PM
 To: Stephen Woodbridge; mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Rendering Hindi Characters

 Hello again list,

 The Hindi rendering problem has come to the top of our priorities again and 
 we have been investigating the cause of the issue again.

 To recap the problem we are seeing can be reproduced easily, paste Mexico 
 City into google translate and then use the Hindi characters with any Unicode 
 font.

 The top (incorrect)  line of text is from mapserver and lower 
 (correct) line is from Excel in this image http://tinyurl.com/cs7pax5

  From the research we have done freetype does not know how to render all of 
 these characters together correctly. It does appear that pango can be 
 configured to render them correctly.

 I have not yet dived into the details of the rendering pipeline and I hope 
 that someone can jump in and confirm we have a real issue and there is not 
 something stupid we have done.

 Many thanks

 Ian

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen 
 Woodbridge
 Sent: Wednesday, January 23, 2013 5:06 PM
 To: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Rendering Hindi Characters

 FYI, Mapserver does not do anything for rendering text except:

 1. pass the text to fribidi which converts a utf8 sequence of characters into 
 a displayable sequence of characters.

 2. mapserver then passes that to the text rendering function of whatever 
 renderer you are using.

 Mapserver does not try to understand it, it totally relies on the underlying 
 rendering code to do the right thing whatever that is.

 Thomas Bonfort might have some more insight into this as he re-engineer a lot 
 of the rendering pipeline and it might be helpful to know what code is doing 
 the actual text rendering. It used to be freetype and may still be.

 I'm also not convinced the fribidi is not the right place for this to happen 
 regardless as it is responsible for taking a sequence of characters and 
 generating an displayable sequence that can be rendered correctly given the 
 correct font.

 -Steve

 On 1/23/2013 7:17 PM, Mr. Puneet Kishor wrote:
 Peter,

 My guru in all

Re: [mapserver-users] [mapserver-dev] Rendering Hindi Characters

2013-04-05 Thread Ian Walberg
 

Thomas,

 

I had not found this and it does fill in the gaps in our understanding of where 
the problem lies.

 

My assessment is that the current mapserver text render pipeline will not 
render the most complex characters correctly and needs updating.

 

We are happy to be involved in this process and can provide development 
assistance once the preferred approach is agreed.

 

Do you have a recommendation? Can we use just HarfBuzz or do we need Pango to 
pull everything together?

 

Regards

 

Ian

 

From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Friday, April 05, 2013 6:51 AM
To: Ian Walberg
Cc: Stephen Woodbridge; mapserver-dev; MapserverList OSGEO
Subject: Re: [mapserver-users] [mapserver-dev] Rendering Hindi Characters

 

http://behdad.org/text/ is a good read if you haven't already stumbled upon it.

 

--

thomas

 

On 5 April 2013 15:45, Ian Walberg ian.walb...@airborne.aero wrote:

Steve,

I will raise an issue to track this and we will be looking into it in more 
detail.

From the research we have done so far I am not sure that it is an issue with 
fribidi as my understanding that this just addresses the l-r and r-l ordering 
issues.

What we believe is that the mapserver text rendering pipeline cannot support 
the more complex character layouts required in some cases for Hinidi and other 
languages.

Regards

Ian

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


[mapserver-users] Lat/Long to WGS84 image co-ordinate conversion

2013-04-01 Thread Ian Walberg
Folks,

 

I am sure this is the wrong list and I am sure I will describe what we
need wrongly but please be gentle J

 

We are using full up mapserver installations for a number of projects
and now need to build a small application which uses map tiles with city
labels displayed on the tiles.


The application has to be written in native QT/QML and we cannot see a
way of using something like OpenLayers to display the labels.

 

So here is the real question, how do we take the sqlite databases we
have an generate the tile X Y Z and pixel x/y for each city using
existing utilities? We were hoping one of the GDAL or OGR utils did this
but cannot work out which or how.

 

Thanks

 

Ian

 

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


Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)

2012-12-18 Thread Ian Walberg
Some more info, this issue has the same symptoms as we have. The initial
description and the correct.png and wrong.png show the same rendering
issue we are seeing.

http://code.google.com/p/android/issues/detail?id=4153

We are still investigating this but at the moment do not even know what
those parts of these characters are called so it's tricky to find
information.

Can anyone on the list read these characters?

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter
Mallen
Sent: Monday, December 17, 2012 3:02 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering (thomas
bonfort)

Hi Thomas,

I was able to properly render the Hindi characters from the screenshot
you had previously provided (Wazirabad), however we are still unable to
render the Hindi text that I had provided earlier (Mexico City).

Is there any way you could provide an image showing a Hindi translation
for Mexico City from your map?  This way I can match characters that I
know are not rendering properly on my side.

Thank You again for your help,


Peter Mallen

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
mapserver-users-requ...@lists.osgeo.org
Sent: Monday, December 17, 2012 8:58 AM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 59, Issue 32

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
Re: Contents of mapserver-users digest...


Today's Topics:

   1. Re: Hindi and Thai text rendering (Ian Walberg)
   2. Re: Hindi and Thai text rendering (thomas bonfort) (Peter Mallen)


--

Message: 1
Date: Mon, 17 Dec 2012 11:50:52 -0500
From: Ian Walberg ian.walb...@airborne.aero
To: thomas bonfort thomas.bonf...@gmail.com,MapserverList
OSGEO
mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering
Message-ID:
d12323219cedb24aa8fae53ff3f59fb403856...@be28.exg3.exghost.com
Content-Type: text/plain; charset=utf-8

Thomas,

 

We are currently using fibidi 0.19.2 and can try the later versions.

 

I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to
build them, there does not appear to be build instructions in them or a
configure script.

 

Have you (or anyone else on the list) built these for Linux?

 

Thanks

 

Ian

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas
bonfort
Sent: Monday, December 17, 2012 12:48 AM
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Hindi and Thai text rendering

 

 

 

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort
thomas.bonf...@gmail.com wrote:

Peter,

We don't do any shaping directly inside mapserver, but rely on the
fribidi library to do that for us. Your mapfile definitions are correct
to activate this (i.e. it includes an LABEL.ENCODING parameter).

I'll leave it up to you to confirm that the image sample I sent you is
correct or not. If so, check that you have configured your mapserver
with fribidi enabled and uptodate (the supplied image was rendered with
0.19.2 . some stable distros use a very outdated fribidi version, so you
might need to upgrade manually) . If not, you can try with a bleeding
edge fribidi (0.19.5 was released a few days ago), and/or report the
issue or find help from the fribidi project directly.

 

please report back with your findings.

 

regards,

thomas

 

On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen
peter.mal...@airborne.aero wrote:

Hi Thomas,

Here is a link to a png Image I have created of using the simple Map
File I provided in the previous postings, this is exactly how the Hindi
text is rendering in Map Server:
http://www.maplusplus.com/images/Hindi_Incorrect.png

It is appearing incorrectly and should appear as shown in this link to
Google Translate:
http://tinyurl.com/cqlymgy

I am not sure if the Hindi you have provided is displaying correctly,
although it appears to be similar to what I looked up in Google
Translate.


Thank You for your help,

Peter Mallen




-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Sat 12/15/2012 10:36 AM
To: Peter Mallen
Cc: MapserverList OSGEO

Subject: Re: [mapserver-users] Hindi and Thai text rendering

Peter,
You don't provide the rendering that mapserver is producing, so it's
difficult

Re: [mapserver-users] Hindi and Thai text rendering

2012-12-17 Thread Ian Walberg
Thomas,

 

We are currently using fibidi 0.19.2 and can try the later versions.

 

I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to build 
them, there does not appear to be build instructions in them or a configure 
script.

 

Have you (or anyone else on the list) built these for Linux?

 

Thanks

 

Ian

 

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Monday, December 17, 2012 12:48 AM
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Hindi and Thai text rendering

 

 

 

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort thomas.bonf...@gmail.com 
wrote:

Peter,

We don't do any shaping directly inside mapserver, but rely on the fribidi 
library to do that for us. Your mapfile definitions are correct to activate 
this (i.e. it includes an LABEL.ENCODING parameter).

I'll leave it up to you to confirm that the image sample I sent you is correct 
or not. If so, check that you have configured your mapserver with fribidi 
enabled and uptodate (the supplied image was rendered with 0.19.2 . some stable 
distros use a very outdated fribidi version, so you might need to upgrade 
manually) . If not, you can try with a bleeding edge fribidi (0.19.5 was 
released a few days ago), and/or report the issue or find help from the fribidi 
project directly.

 

please report back with your findings.

 

regards,

thomas

 

On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen peter.mal...@airborne.aero 
wrote:

Hi Thomas,

Here is a link to a png Image I have created of using the simple Map File I 
provided in the previous postings, this is exactly how the Hindi text is 
rendering in Map Server:
http://www.maplusplus.com/images/Hindi_Incorrect.png

It is appearing incorrectly and should appear as shown in this link to Google 
Translate:
http://tinyurl.com/cqlymgy

I am not sure if the Hindi you have provided is displaying correctly, although 
it appears to be similar to what I looked up in Google Translate.


Thank You for your help,

Peter Mallen




-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Sat 12/15/2012 10:36 AM
To: Peter Mallen
Cc: MapserverList OSGEO

Subject: Re: [mapserver-users] Hindi and Thai text rendering

Peter,
You don't provide the rendering that mapserver is producing, so it's
difficult to compare. Is this rendering correct:
http://osm.terriscope.fr/mapcache/tms/1.0.0/mapserver@g/15/23400/19085.png ?

--
thomas


On Sat, Dec 15, 2012 at 12:59 AM, Peter Mallen
peter.mal...@airborne.aerowrote:

 Hello Everyone,

 I apologize for my previous posts as my url appears to have been too
 long, I have converted the link to a tiny url:
 http://tinyurl.com/cqlymgy

 As a reminder, this is a link showing how the Hindi characters should
 display.

 Thank You Again,

 Peter Mallen



 

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


Re: [mapserver-users] [mapserver-dev] WMS layers - using port otherthan 80

2012-11-20 Thread Ian Walberg
Jukka,

The problem does appear to be that the GetCapabilitiesUrl is correct and the 
GetMapUrl and the GetFeatureInfoUrl values have the port set twice.

GetCapabilitiesUrl http://192.168.2.160:16001/cgi-bin ..
GetMapUrl http://192.168.2.160:16001:16001/cgi-bin .
GetFeatureInfoUrl http://192.168.2.160:16001:16001/cgi-bin ...

Where do I correct this?

Not sure if this is a mapserver wms setup question or a QGIS user question.

Thanks

Ian

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Monday, November 19, 2012 2:04 PM
To: Ian Walberg
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: VS: [mapserver-users] [mapserver-dev] WMS layers - using port 
otherthan 80

Hi,

I had a try with QGIS dev. and default Geoserver installation running on 
localhost:8080. No trouble at all with WMS.
One thing I would check is if your Mapserver is sending correct onlineresource 
for including the correct port with the GetCapabilities. You can override the 
announced GetMap url in the QGIS WMS dialogue so that it will use the same URL 
as used for making the connection with QGIS but that is not the default.

-Jukka Rahkonen-

Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Ian Walberg 
[ian.walb...@airborne.aero] puolesta
Lähetetty: 19. marraskuuta 2012 22:39
Vastaanottaja: Ian Walberg; Stephen Woodbridge
Kopio: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] [mapserver-dev] WMS layers - using port other   
than 80

It does seem however that QGIS does not like the wms layers to be on any port 
other than 80 which is where we are confused.

Ian

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, November 19, 2012 6:47 AM
To: Stephen Woodbridge
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] WMS layers - using port other than 80

Steve,

We finally tested this last week and unsurprisingly it was our error and 
everything works fine.

Thanks

Ian

-Original Message-
From: Stephen Woodbridge [mailto:wood...@swoodbridge.com]
Sent: Monday, November 05, 2012 8:35 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] WMS layers - using port other than 80

Yes, it works fine.

http://imaptools.com:8080/demo/tiger2011.html?zoom=2lat=40.11169lon=-9
5.18555layers=B0

-Steve W


On 11/5/2012 10:51 AM, Ian Walberg wrote:
 Folks,

 Can anyone confirm that a WMS layer can use a port other than 80?

  From some testing we did last week it appeared that they query 
 capabilities could use any port but the actual requests needed to be 
 on port 80.

 Does this make sense? We will test further today to confirm.

 Thanks

 Ian



 ___
 mapserver-dev mailing list
 mapserver-...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-dev


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


[mapserver-users] Setting extent to map image file extent

2012-11-19 Thread Ian Walberg
Folks,

 

Is there a way of mapserver reading the extent of a single map  image file and 
then using that as the overall extent to render other layers?

 

Thanks

 

Ian

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


Re: [mapserver-users] [mapserver-dev] WMS layers - using port other than 80

2012-11-19 Thread Ian Walberg
Steve,

We finally tested this last week and unsurprisingly it was our error and
everything works fine.

Thanks

Ian

-Original Message-
From: Stephen Woodbridge [mailto:wood...@swoodbridge.com] 
Sent: Monday, November 05, 2012 8:35 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] WMS layers - using port other than 80

Yes, it works fine.

http://imaptools.com:8080/demo/tiger2011.html?zoom=2lat=40.11169lon=-9
5.18555layers=B0

-Steve W


On 11/5/2012 10:51 AM, Ian Walberg wrote:
 Folks,

 Can anyone confirm that a WMS layer can use a port other than 80?

  From some testing we did last week it appeared that they query 
 capabilities could use any port but the actual requests needed to be 
 on port 80.

 Does this make sense? We will test further today to confirm.

 Thanks

 Ian



 ___
 mapserver-dev mailing list
 mapserver-...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-dev


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


Re: [mapserver-users] [mapserver-dev] WMS layers - using port other than 80

2012-11-19 Thread Ian Walberg
It does seem however that QGIS does not like the wms layers to be on any
port other than 80 which is where we are confused.

Ian

-Original Message-
From: mapserver-dev-boun...@lists.osgeo.org
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, November 19, 2012 6:47 AM
To: Stephen Woodbridge
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] WMS layers - using port other than 80

Steve,

We finally tested this last week and unsurprisingly it was our error and
everything works fine.

Thanks

Ian

-Original Message-
From: Stephen Woodbridge [mailto:wood...@swoodbridge.com]
Sent: Monday, November 05, 2012 8:35 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] WMS layers - using port other than 80

Yes, it works fine.

http://imaptools.com:8080/demo/tiger2011.html?zoom=2lat=40.11169lon=-9
5.18555layers=B0

-Steve W


On 11/5/2012 10:51 AM, Ian Walberg wrote:
 Folks,

 Can anyone confirm that a WMS layer can use a port other than 80?

  From some testing we did last week it appeared that they query 
 capabilities could use any port but the actual requests needed to be 
 on port 80.

 Does this make sense? We will test further today to confirm.

 Thanks

 Ian



 ___
 mapserver-dev mailing list
 mapserver-...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-dev


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


Re: [mapserver-users] WMS layer image format parameters

2012-11-17 Thread Ian Walberg
Jukka,

Thanks, so the WMS request does use the normal output format definition.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen
Jukka
Sent: Friday, November 16, 2012 11:55 PM
To: mapserver
Subject: Re: [mapserver-users] WMS layer image format parameters

Hi,

You can define your own outputformat for AGG/JPEG and use formatoption
quality
http://www.mapserver.org/mapfile/outputformat.html

I do not know if variable substitution works in this place so that users
could add an extra parameter to the request as QUALITY=100 but you can
have a try. At least you can make new outputformats with different
names, for example image/jpegHQ for high quality.

-Jukka Rahkonen-


Ian Walberg wrote:


 Folks,

 I can only see the image type in the WMS request, say png or jpeg.

 Can we configure the compression level of the images in the wms server
map file?

 I cannot see any mention of how to do this anywhere.

 Thanks

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


[mapserver-users] WMS layer image format parameters

2012-11-16 Thread Ian Walberg
Folks,

 

I can only see the image type in the WMS request, say png or jpeg.

 

Can we configure the compression level of the images in the wms server
map file?

 

I cannot see any mention of how to do this anywhere.

 

Thanks

 

Ian

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


Re: [mapserver-users] Displaying multiple labels with the same lat/long

2012-11-13 Thread Ian Walberg
Steve,

I thought with a layer type of point or annotation with label mode as
auto that if there were 2 points with same lat/long only 1 would be
displayed.

Thanks

Ian

-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Tuesday, November 13, 2012 6:15 AM
To: Ian Walberg; List (MapServer Users)
Subject: RE: Displaying multiple labels with the same lat/long

Not sure about clustering, but there may be other options as well:

You might be able to simply use POSITION AUTO and give these labels a
high priority. MapServer will place them. If you need markers in this
case you'll need to draw those separately to avoid marker collisions.
So, one layer for points and the other for high-priority labels.
  
Version 6.2 supports multiple labels per feature. If you can
de-normalize your data so you have 1 point plus multiple columns of
companies (e.g. company1, company2, etc...) then you can use this
approach. There's also leader support when things get really tight.

Steve



From: mapserver-users-boun...@lists.osgeo.org
[mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg
[ian.walb...@airborne.aero]
Sent: Monday, November 12, 2012 12:11 PM
To: List (MapServer Users)
Subject: [mapserver-users] Displaying multiple labels with the same
lat/long

Folks,

We have some data we need to display which has a number of companies in
the same city so the same lat/long.

So in these cases only one of the labels is displayed.

Can this be done using the cluster functionality and where do we find an
easy example?

Thanks

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


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


[mapserver-users] Displaying multiple labels with the same lat/long

2012-11-12 Thread Ian Walberg
Folks,

We have some data we need to display which has a number of companies in
the same city so the same lat/long.

So in these cases only one of the labels is displayed.

Can this be done using the cluster functionality and where do we find an
easy example?

Thanks

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


[mapserver-users] WMS layers - using port other than 80

2012-11-05 Thread Ian Walberg
Folks,

 

Can anyone confirm that a WMS layer can use a port other than 80?

 

From some testing we did last week it appeared that they query
capabilities could use any port but the actual requests needed to be on
port 80.

 

Does this make sense? We will test further today to confirm.

 

Thanks

 

Ian

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


Re: [mapserver-users] Detect featureless areas

2012-10-06 Thread Ian Walberg
Stephen,

For an application that a user is zooming in I tend to agree I would not
care.

In our case we are displaying a rotating sequence of maps and want to
work out a way of not showing an image with an empty map on it.

Thanks

Ian

-Original Message-
From: Stephen Woodbridge [mailto:wood...@swoodbridge.com] 
Sent: Friday, October 05, 2012 6:00 PM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-users] Detect featureless areas

On 10/5/2012 6:31 PM, Ian Walberg wrote:
 Hello list,

 We need to be able to detect when there are no features on a map and 
 limit the extent so that the user does not zoom in any further if 
 there is nothing to see.

 This could be for example no labels or no vector data for the given
extent.

 We are using php mapscript .

 Any ideas how we can do this?

Well on the one hand why do you care? Does this cause a problem in some
way? If the user wants to do something useless and stupid, then let him.

I would limit zooming based on scale or resolution.

The above would be my approach, but if you really want to do this, one
way to do this would be to setup the mapfile to do a query and then
query the layers you want to check for features based on the bbox of the
view and then check if you got any hits. But this can be potentially
much more expensive then drawing nothing in the case above.

It has been a while since I have used mapscript, but their might be a
return code that tells you if the layer drew anything (if not you might
want to write a ticket to add that.

You proposed method has the problem of scale dependencies, in the you
might have a situation where a some scale there is very little turned on
and it you stop zooming there, then you can never get to the scale where
other things get turned on. What you draw on any given scale is not
predictive of what you might draw at some other scale.

Think of a small island that is turned off because it is very small
until you get zoomed in. If you pan over the ocean to the vicinity of
the island and it is off, you would prevent zooming in to the point that
the it got turned on.

I would keep is simple, I think it will work better in the long run.

-Steve W
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Detect featureless areas

2012-10-05 Thread Ian Walberg
Hello list,

 

We need to be able to detect when there are no features on a map and
limit the extent so that the user does not zoom in any further if there
is nothing to see.

 

This could be for example no labels or no vector data for the given
extent.

 

We are using php mapscript .

 

Any ideas how we can do this?

 

Thanks

 

Ian

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


[mapserver-users] Accessing images from remote servers

2012-10-03 Thread Ian Walberg
Hello list,

We need to build a mapserver application which is running on multiple
devices with limited local storage, because of this the imagery will
have to be  on a separate server.

The application we have today runs on a single server and we access the
imagery using tileindex shapefiles.

So the question is when we move everything but the imagery to the
individual devices can we access the imagery tileindex shapfiles
remotely? We currently limited experience of the WMS and WFS interfaces
but from a quick look these do not seem to allow us to access the
tileindex as we do locally.

Hope this makes sense and I look forward to some suggestions.

Many thanks

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


Re: [mapserver-users] Accessing images from remote servers

2012-10-03 Thread Ian Walberg
Thomas,

We are reviewing the options as part of this exercise but at the moment we were 
hoping to use http which was why WMS and WFS seemed appealing.

I am not familiar with FUSE mounted directories but I assume this would allow 
us to see the remote server as if it was in the local filesystem?

Regards

Ian

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Wednesday, October 03, 2012 9:23 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-users] Accessing images from remote servers

Ian,
What mechanism were you considering to access the remote data? Plain
tileindexes+shapefiles on a FUSE mounted directory should be
completely transparent from mapserver, and you get to choose which fuse 
mechanism to use to do the network mounting.

regards,
thomas

On Wed, Oct 3, 2012 at 5:59 PM, Ian Walberg ian.walb...@airborne.aero wrote:
 Hello list,

 We need to build a mapserver application which is running on multiple 
 devices with limited local storage, because of this the imagery will 
 have to be  on a separate server.

 The application we have today runs on a single server and we access 
 the imagery using tileindex shapefiles.

 So the question is when we move everything but the imagery to the 
 individual devices can we access the imagery tileindex shapfiles 
 remotely? We currently limited experience of the WMS and WFS 
 interfaces but from a quick look these do not seem to allow us to 
 access the tileindex as we do locally.

 Hope this makes sense and I look forward to some suggestions.

 Many thanks

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


Re: [mapserver-users] Accessing images from remote servers

2012-10-03 Thread Ian Walberg
Thomas,

As ever we were looking for a more complicated solution than the one in front 
of our eyes :)

Let us try this.

Thank

Ian

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Wednesday, October 03, 2012 10:26 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-users] Accessing images from remote servers

On Wed, Oct 3, 2012 at 7:17 PM, Ian Walberg ian.walb...@airborne.aero wrote:
 Thomas,

 Our imagery data today is in a number of individual files and we use the 
 tileindex to allow the one layer to access whatever is available for that 
 area.

 If we use  WMS or WFS to access the imagery can we use the same setup for the 
 layer on the WMS server?
Sure, you'd be replicating your current tileindex'd setup on the central wms 
server. The individual clients requesting imagery from the central wms server 
do not need those tileindexes, for them it's a black box providing imagery data.

--
thomas

 Thanks

 Ian

 -Original Message-
 From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
 Sent: Wednesday, October 03, 2012 10:13 AM
 To: Ian Walberg
 Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
 Subject: Re: [mapserver-users] Accessing images from remote servers

 On Wed, Oct 3, 2012 at 5:59 PM, Ian Walberg ian.walb...@airborne.aero wrote:
 Hello list,

 We need to build a mapserver application which is running on multiple 
 devices with limited local storage, because of this the imagery will 
 have to be  on a separate server.

 The application we have today runs on a single server and we access 
 the imagery using tileindex shapefiles.

 So the question is when we move everything but the imagery to the 
 individual devices can we access the imagery tileindex shapfiles 
 remotely? We currently limited experience of the WMS and WFS 
 interfaces but from a quick look these do not seem to allow us to 
 access the tileindex as we do locally.

 Probably the first question, if you are going to access your data remotely 
 through WMS/WFS, is why would you need to access the tileindexes ?


 Hope this makes sense and I look forward to some suggestions.

 Many thanks

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


[mapserver-users] Dashed line - compatible with 5.6 and 6.0

2012-10-03 Thread Ian Walberg
Folks,

We cannot create a map file which draws a dashed line for both mapsrver 5.6 and 
6.0.

Is there a way of supporting this in a way that is compatible with both?

It looks like it’s the PATTERN being moved from the symbol definition to the 
style which is the problem.

Thanks

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


[mapserver-users] Image meta data

2012-09-28 Thread Ian Walberg
Folks,

Are have an application where having embedded meta data in the map image
created by mapserver would be extremely useful and we are just starting
to look at the options.

Is there any support for this today?

If it does not would anyone else find this useful?

Thanks

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


Re: [mapserver-users] [mapserver-dev] Image meta data

2012-09-28 Thread Ian Walberg
Bart,

 

Let us look at that, looks like what we need.

 

We are still using 6.0.3 for production so maybe need to update to 6.2.

 

Regards

 

Ian

 

From: Bart van den Eijnden [mailto:bart...@osgis.nl] 
Sent: Friday, September 28, 2012 6:57 AM
To: Ian Walberg
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] Image meta data

 

I believe this was added a while back:

 

http://mapserver.org/trunk/mapfile/xmp_metadata.html

 

http://mapserver.org/development/rfc/ms-rfc-76.html

 

Best regards,

Bart

 

-- 
Bart van den Eijnden
OSGIS - http://osgis.nl 

 

On Sep 28, 2012, at 3:53 PM, Ian Walberg ian.walb...@airborne.aero
wrote:





Folks,

Are have an application where having embedded meta data in the map image
created by mapserver would be extremely useful and we are just starting
to look at the options.

Is there any support for this today?

If it does not would anyone else find this useful?

Thanks

Ian
___
mapserver-dev mailing list
mapserver-...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev

 

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


Re: [mapserver-users] [mapserver-dev] Image meta data

2012-09-28 Thread Ian Walberg
Taking a quick look this seems to only support static text.

 

Is there a way of including dynamic creation data based on the
parameters used to create the image, say the layers/data/extent/centre
etc?

 

Thanks

 

Ian

 

From: mapserver-dev-boun...@lists.osgeo.org
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Friday, September 28, 2012 7:10 AM
To: Bart van den Eijnden
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] Image meta data

 

Bart,

 

Let us look at that, looks like what we need.

 

We are still using 6.0.3 for production so maybe need to update to 6.2.

 

Regards

 

Ian

 

From: Bart van den Eijnden [mailto:bart...@osgis.nl] 
Sent: Friday, September 28, 2012 6:57 AM
To: Ian Walberg
Cc: mapserver-...@lists.osgeo.org; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-dev] Image meta data

 

I believe this was added a while back:

 

http://mapserver.org/trunk/mapfile/xmp_metadata.html

 

http://mapserver.org/development/rfc/ms-rfc-76.html

 

Best regards,

Bart

 

-- 
Bart van den Eijnden
OSGIS - http://osgis.nl 

 

On Sep 28, 2012, at 3:53 PM, Ian Walberg ian.walb...@airborne.aero
wrote:

 

Folks,

Are have an application where having embedded meta data in the map image
created by mapserver would be extremely useful and we are just starting
to look at the options.

Is there any support for this today?

If it does not would anyone else find this useful?

Thanks

Ian
___
mapserver-dev mailing list
mapserver-...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev

 

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


Re: [mapserver-users] WMS layer example

2012-09-07 Thread Ian Walberg

Just in case anyone else needs this here is the working map file.


MAP
  NAME 'Simple'
  STATUS ON
  SIZE 640 480

EXTENT -121 32 -100 45

  UNITS MILES
  SHAPEPATH shp
  IMAGECOLOR 40 40 40
  IMAGETYPE PNG

CONFIG MS_ERRORFILE c:/ms4w/Apache/htdocs/mapserver.log

DEBUG 5

 LAYER
DEBUG 5
NAME weather_radar
TYPE RASTER
STATUS   DEFAULT
CONNECTIONTYPE WMS
CONNECTION http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/obs?;

METADATA
  wms_srs EPSG:4326
  wms_name RAS_RIDGE_NEXRAD
  wms_server_version 1.1.1
  wms_format image/png
END

PROJECTION
  init=epsg:4326
END
  END

  PROJECTION
proj=latlong
ellps=WGS84
datum=WGS84
  END

END

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Friday, August 31, 2012 9:02 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] WMS layer example

Hello folks,

We had weather layers working ok previously and now cannot find the map
file we used.

Anyone got an example that works with the AS_RIDGE_NEXRAD layer from
here http://nowcoast.noaa.gov/help/mapservices.shtml

Works with QGIS but cannot get the syntax correct for mapserver.

Thanks

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


[mapserver-users] Show build options for php_mapserver.so

2012-09-06 Thread Ian Walberg
Hello folks,

 

Is there a way of doing the equivalent of  ./mapserv -v  with php or
php_mapsript.so?

 

We have some binaries we built some time ago and are not 100% sure what
they support.

 

Thanks

 

Ian

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


Re: [mapserver-users] Show build options for php_mapserver.so

2012-09-06 Thread Ian Walberg
print (ms_GetVersion());

 

Doh!

 

 

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Thursday, September 06, 2012 9:21 PM
To: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Show build options for php_mapserver.so

 

Hello folks,

 

Is there a way of doing the equivalent of  ./mapserv -v  with php or
php_mapsript.so?

 

We have some binaries we built some time ago and are not 100% sure what
they support.

 

Thanks

 

Ian

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


[mapserver-users] WMS layer example

2012-08-31 Thread Ian Walberg
Hello folks,

We had weather layers working ok previously and now cannot find the map
file we used.

Anyone got an example that works with the AS_RIDGE_NEXRAD layer from
here http://nowcoast.noaa.gov/help/mapservices.shtml

Works with QGIS but cannot get the syntax correct for mapserver.

Thanks

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


[mapserver-users] Different image for each point

2012-08-23 Thread Ian Walberg
Hello folks,

 

We need to be able to display a different small image from each point in
a data set, say along the lines of a thumbnail.

 

From what I can see this could be done my defining each image as a
symbol and then referencing that.

 

However what we would like to be able to do is get the image file name
as part of the query and display the image based on that.

 

Is this possible?

 

Thanks

 

Ian

 

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


Re: [mapserver-users] Different image for each point

2012-08-23 Thread Ian Walberg
Stephen,

This looks perfect, I need to look closer but I had thought the symbols
needed to be defined separately.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Thursday, August 23, 2012 11:21 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Different image for each point

On 8/23/2012 1:31 PM, Ian Walberg wrote:
 Hello folks,

 We need to be able to display a different small image from each point 
 in a data set, say along the lines of a thumbnail.

  From what I can see this could be done my defining each image as a 
 symbol and then referencing that.

 However what we would like to be able to do is get the image file name

 as part of the query and display the image based on that.

 Is this possible?

I have done this by creating a column with the filename in it. You can
then use the column as a symbol name or symbol path or as attribute
column in wfs to OpenLayers that can then be used to point to a
thumbnail directory of fullsize directory of images.


LAYER
   NAME images
   TYPE POINT
   DATA myImagePoints
   CLASS
 STYLE
   SYMBOL (/path/to/thumbs/+'[FILENAME]')
 END
   END
END

Where column FILENAME has something like 'myimage.png' and to do this
you are probably limited to gif, jpg, and png images only. svg will NOT
work.

-Steve W

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


[mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
Hello list,

 

We are seeing some issues displaying Hindi and Thai text, from a quick
search it looks like this may be related to there not being support for
Indic scripts.

 

Can anyone confirm if these are supported? And if they are not are there
any workarounds?

 

Many thanks

 

Ian

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


Re: [mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
Jeff,

That is encouraging, however our concern is that the character rendering
is not supported.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff
McKenna
Sent: Monday, June 18, 2012 3:06 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering

On 12-06-18 6:45 PM, Ian Walberg wrote:
 Hello list,
 
  
 
 We are seeing some issues displaying Hindi and Thai text, from a quick

 search it looks like this may be related to there not being support 
 for Indic scripts.
 
  
 
 Can anyone confirm if these are supported? And if they are not are 
 there any workarounds?
 

Hello Ian,

I can for sure confirm that Thai text is supported, as it was one of the
languages tested during the initial implementation of the source code
(see the notes at the bottom of
http://www.mapserver.org/mapfile/labelencoding.html).

There's always a chance that things have changed with MapServer 6.0, but
if you provide a small data sample, font, and simple one layer mapfile I
am sure others on this email list can test and provide feedback for you.

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


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


Re: [mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
Stephen,

We can provide some examples tomorrow but we are seeing some characters
not matching what is displayed in other applications.

Overall the behaviour appears to match this description
https://github.com/mapserver/mapserver/issues/2591

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Monday, June 18, 2012 8:47 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering

On 6/18/2012 6:46 PM, Ian Walberg wrote:
 Jeff,

 That is encouraging, however our concern is that the character 
 rendering is not supported.

Ian,

What do you mean by this statement?

What have you tried? ie: what does you mapfile look like, what font are
you using, etc?

For this to work you need the following:

1. a mapserver build with fribidi-0.19.2 2. a truetype fone file that
supports all the glyphs that you need 3. your mapfile and data
configured correctly such that the text in the data is appropriately for
the ENCODING and that that then matches the ttf.

-Steve W

 Regards

 Ian

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff 
 McKenna
 Sent: Monday, June 18, 2012 3:06 PM
 To: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Hindi and Thai text rendering

 On 12-06-18 6:45 PM, Ian Walberg wrote:
 Hello list,



 We are seeing some issues displaying Hindi and Thai text, from a 
 quick

 search it looks like this may be related to there not being support 
 for Indic scripts.



 Can anyone confirm if these are supported? And if they are not are 
 there any workarounds?


 Hello Ian,

 I can for sure confirm that Thai text is supported, as it was one of 
 the languages tested during the initial implementation of the source 
 code (see the notes at the bottom of 
 http://www.mapserver.org/mapfile/labelencoding.html).

 There's always a chance that things have changed with MapServer 6.0, 
 but if you provide a small data sample, font, and simple one layer 
 mapfile I am sure others on this email list can test and provide
feedback for you.

 -jeff




 --
 Jeff McKenna
 MapServer Consulting and Training Services 
 http://www.gatewaygeomatics.com/


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



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


Re: [mapserver-users] [mapserver-dev] Maps for 16 bit displays

2012-06-11 Thread Ian Walberg
Thomas,

While creating image files in the 565 format would be ideal this is not 
required.

What we do need is to be able to create images that look good when displayed 
using a video card in 16 bit colour depth. As you suggest we are looking at 
reducing/dithering the images from 24 bit to 16 bit when displayed but of 
course if we can reduce the colour range wen rendered this would most likely 
make the image quality better.

Thanks

Ian

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Monday, June 11, 2012 8:22 AM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org; mapserver-...@lists.osgeo.org
Subject: Re: [mapserver-dev] Maps for 16 bit displays

Ian,
I don't believe it is currently possible to render 16bit images.
However, I'm pretty certain PNG does not support 565 encoding, and couldn't 
find any reference as to whether jpeg can either. Unless you are accessing the 
image bytes directly from the mapserver library (which I suspect you are not, 
it is not a public api/structure), I would investigate in reducing from 32 to 
16 bits directly on the device at image loading time.

If you absolutely need 565 encoded output, I suspect the code can be worked on 
on the vector side with AGG to produce that, but it will not be a trivial task. 
Concerning raster rendering, this would also be a non trivial task.

regards,
thomas

On Fri, Jun 1, 2012 at 11:27 PM, Ian Walberg ian.walb...@airborne.aero wrote:
 Hello folks,

 We need to render maps for a system which has a 16 bit colour (yes I 
 am
 English) depth.

 Currently we render the images at 24 bit (888) and they look fabulous.

 However when they are rendered on the target hardware they are crudely 
 reduced to (565) and this causes some horrible artefacts and banding.
 Our best guess is that the lower bits are just being discarded.

 So now we understand the problem the question is what we can do to 
 generate the map images with a reduce RGB range so that they are 
 displayed correctly.

 Having a look at the various options we cannot see anything between 
 256 colour and 24 bit colour which would help.

 Anyone have any good ideas?

 Thanks

 Ian


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


Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Ian Walberg
Steve,

Below is a map file with the settings we are using.

The Extent and projection are commented out for the test.

With the projection set to init=epsg:4326 the circles appear the size
we expect.

With projection set to proj=orth and the extent changed to EXTENT
-20 -20 20 20 all the other data (removed form this map
file for simplicity) appears ok and the circles disappear.

Thanks

Ian



MAP
  NAME 'Simple'
  STATUS ON
  SIZE 1280 768

EXTENT -121 34 -115 41
#   EXTENT -20 -20 20 20

  UNITS DD
  SHAPEPATH shp
  IMAGECOLOR 120 120 120

  SYMBOL
NAME 'circle2'
TYPE ELLIPSE
POINTS 1 1 END
FILLED FALSE
  END

  LAYER
DEBUG 5
NAME range_circles
TYPE point
STATUS DEFAULT
UNITS miles
SIZEUNITS miles

FEATURE
POINTS 
 -118 38
END
END
  
CLASS
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 50
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 100
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 150
COLOR 255 0 0
  END

END
  PROJECTION
proj=latlong
ellps=WGS84
datum=WGS84
END
  END

  PROJECTION
init=epsg:4326

#   proj=ortho
lat_0=38.0
lon_0=-118
ellps=WGS84
  END
END


-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Monday, June 11, 2012 7:45 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] RE: Circles around points in miles

What are the UNITs set to with proj=ortho?

-Original Message-
From: Ian Walberg [mailto:ian.walb...@airborne.aero]
Sent: Friday, June 08, 2012 7:19 PM
To: mapserver-users@lists.osgeo.org
Cc: Lime, Steve D (DNR)
Subject: RE: [mapserver-users] RE: Circles around points in miles

This question from earlier in the year has finally got to the top of our
to do list.

The issue is how to draw a circle at a given size (ideally in miles)
when using proj=ortho.

Everything works well when using proj=latlong and SIZEUNITS miles.

Is this the expected behaviour and we do not understand something or is
this a problem?

Many thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Thursday, February 16, 2012 1:57 PM
To: mapserver-users@lists.osgeo.org
Cc: Lime, Steve D (DNR)
Subject: RE: [mapserver-users] RE: Circles around points in miles

This does not work in all cases as we hoped,  or we may not  understand
how to use the overall ma projection correctly.

All the layers have the projection set to proj=latlong,ellps=WGS84.

However if we set the overall map projection from this to proj=ortho
the layer with the sizeunits set disappears.

Is this an issue related to the projection or that the map units are now
different.

If we remove the sizeunits from the layer with the circles they reappear
but of course are not the correct size (in miles).

Many thanks

Ian

-Original Message-
From: Ian Walberg
Sent: Wednesday, February 15, 2012 11:40 AM
To: Stephen Woodbridge; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] RE: Circles around points in miles

Stephen,

That appears to do the trick.

Many thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Wednesday, February 15, 2012 10:36 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] RE: Circles around points in miles

On 2/15/2012 1:23 PM, Ian Walberg wrote:
 Steve,

 Thanks again for the info so far.

 Testing this today we realise (not surprisingly) that both the size 
 and width of the symbol are now in miles.

 Ideally we would like to set the radius of the circle in miles and the

 width in pixels.

 Is there any way of doing this?

Yes, add minwidth 1 and maxwidth 1 to force the width to 1 pixel.

-Steve W

 Regards

 Ian

 -Original Message-
 From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
 Sent: Monday, February 13, 2012 2:57 PM
 To: Ian Walberg; mapserver-users@lists.osgeo.org
 Subject: RE: Circles around points in miles

 I jumped the gun on the geomtransform idea. The support is there but 
 because it operates at the style level buffer distances must be given 
 in pixels and there's no easy way to convert a map distance (e.g. 10
 miles) to pixels. I really should make some runtime constants (for 
 example, extent, scale and cellsize) available to expressions- then 
 you could do this.

 Glad you picked option 2 to start

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Ian Walberg
Steve,

Happy to raise a ticket.

We are also happy to investigate a bit deeper if anyone can point us in
the right direction.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime,
Steve D (DNR)
Sent: Monday, June 11, 2012 10:05 AM
To: StevenHin; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapFile ClassItem Expression on in-line
features

I can replicate the behavior locally. Seems like a bug to me... Will
investigate. Could I trouble you to create a ticket?

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of StevenHin
Sent: Thursday, June 07, 2012 8:36 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapFile ClassItem Expression on in-line
features

Hi,

Hoping someone can help out here...

I am trying to configure MapFile that would generate an image based on
the attributes setting, but could not get it creates correctly. 

What I am trying to do is when the 'color' attribute value is 1 then
render a star symbol and when is 0 then render a circle. It works when I
am reading the data from a shapfile, but it does not when using in-line.


Is there something I have to add here for in-line feature set?

Here is my MapFile:

MAP
  NAME myMap
  STATUS ON
  UNITS METERS

  SYMBOL
NAME circle
TYPE ELLIPSE
FILLED TRUE
POINTS
  1 1
END
  END

  SYMBOL
NAME star
TYPE VECTOR
FILLED TRUE
POINTS
  0 0.375
  0.35 0.375
  0.5 0
  0.65 0.375
  1 0.375
  0.75 0.625
  0.875 1
  0.5 0.75
  0.125 1
  0.25 0.625
END
  END

  LAYER
NAME myLayer
TYPE POINT
PROCESSING ITEMS=layer,pid,color
STATUS ON
#CLASSITEM color
FEATURE
  POINTS
 123 123
  END
  ITEMS address;123;0
END
FEATURE
  POINTS
125 125
  END
  ITEMS address;125;1
END

CLASS
  EXPRESSION ('[color]' == '1')
  STYLE
ANGLE 0
COLOR 250 0 0
OFFSET 0 0
OUTLINECOLOR 255 255 255
SIZE 10
SYMBOL star
  END
END
CLASS
  EXPRESSION ('[color]' == '0')
  STYLE
ANGLE 0
COLOR 0 0 250
OFFSET 0 0
OUTLINECOLOR 255 255 255
SIZE 10
SYMBOL circle
  END
END
  END
END

Thanks,

Steven.


--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/MapFile-ClassItem-Expression-on-in-l
ine-features-tp4979849.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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


Re: [mapserver-users] MapFile ClassItem Expression on in-linefeatures

2012-06-11 Thread Ian Walberg
Steve,

Oops, looks like I volunteered to raise an issue for someone else's
problem.

Need to pay attention, I thought you were replying to mine.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Monday, June 11, 2012 10:07 AM
To: Lime, Steve D (DNR); StevenHin; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapFile ClassItem Expression on
in-linefeatures

Steve,

Happy to raise a ticket.

We are also happy to investigate a bit deeper if anyone can point us in
the right direction.

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime,
Steve D (DNR)
Sent: Monday, June 11, 2012 10:05 AM
To: StevenHin; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapFile ClassItem Expression on in-line
features

I can replicate the behavior locally. Seems like a bug to me... Will
investigate. Could I trouble you to create a ticket?

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of StevenHin
Sent: Thursday, June 07, 2012 8:36 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapFile ClassItem Expression on in-line
features

Hi,

Hoping someone can help out here...

I am trying to configure MapFile that would generate an image based on
the attributes setting, but could not get it creates correctly. 

What I am trying to do is when the 'color' attribute value is 1 then
render a star symbol and when is 0 then render a circle. It works when I
am reading the data from a shapfile, but it does not when using in-line.


Is there something I have to add here for in-line feature set?

Here is my MapFile:

MAP
  NAME myMap
  STATUS ON
  UNITS METERS

  SYMBOL
NAME circle
TYPE ELLIPSE
FILLED TRUE
POINTS
  1 1
END
  END

  SYMBOL
NAME star
TYPE VECTOR
FILLED TRUE
POINTS
  0 0.375
  0.35 0.375
  0.5 0
  0.65 0.375
  1 0.375
  0.75 0.625
  0.875 1
  0.5 0.75
  0.125 1
  0.25 0.625
END
  END

  LAYER
NAME myLayer
TYPE POINT
PROCESSING ITEMS=layer,pid,color
STATUS ON
#CLASSITEM color
FEATURE
  POINTS
 123 123
  END
  ITEMS address;123;0
END
FEATURE
  POINTS
125 125
  END
  ITEMS address;125;1
END

CLASS
  EXPRESSION ('[color]' == '1')
  STYLE
ANGLE 0
COLOR 250 0 0
OFFSET 0 0
OUTLINECOLOR 255 255 255
SIZE 10
SYMBOL star
  END
END
CLASS
  EXPRESSION ('[color]' == '0')
  STYLE
ANGLE 0
COLOR 0 0 250
OFFSET 0 0
OUTLINECOLOR 255 255 255
SIZE 10
SYMBOL circle
  END
END
  END
END

Thanks,

Steven.


--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/MapFile-ClassItem-Expression-on-in-l
ine-features-tp4979849.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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


Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Ian Walberg
Ok, so the MAP level units need to be set to the unit of the projection.

That means in this case they need to be meters.

Works now.

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg
Sent: Monday, June 11, 2012 8:02 PM
To: Arnd Wippermann
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Circles around points in miles

Arnd,

Maybe.

We had assumed that the UNITS for the layer would stay the same for different 
projections.

Thanks

Ian

Below is a map file with the settings we are using.

The Extent and projection are commented out for the test.

With the projection set to init=epsg:4326 the circles appear the size we 
expect.

With projection set to proj=orth and the extent changed to EXTENT
-20 -20 20 20 all the other data (removed form this map file 
for simplicity) appears ok and the circles disappear.


MAP
  NAME 'Simple'
  STATUS ON
  SIZE 1280 768

EXTENT -121 34 -115 41
#   EXTENT -20 -20 20 20

  UNITS DD
  SHAPEPATH shp
  IMAGECOLOR 120 120 120

  SYMBOL
NAME 'circle2'
TYPE ELLIPSE
POINTS 1 1 END
FILLED FALSE
  END

  LAYER
DEBUG 5
NAME range_circles
TYPE point
STATUS DEFAULT
UNITS miles
SIZEUNITS miles

FEATURE
POINTS 
 -118 38
END
END
  
CLASS
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 50
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 100
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 150
COLOR 255 0 0
  END

END
  PROJECTION
proj=latlong
ellps=WGS84
datum=WGS84
END
  END

  PROJECTION
init=epsg:4326

#   proj=ortho
lat_0=38.0
lon_0=-118
ellps=WGS84
  END
END

-Original Message-
From: Arnd Wippermann [mailto:arnd.wipperm...@web.de]
Sent: Monday, June 11, 2012 1:36 PM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org
Subject: AW: [mapserver-users] Circles around points in miles

Hello,

Most likely the radius of your circles is to small for the extent you choose

Arnd

-Ursprüngliche Nachricht-
Von: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Ian Walberg
Gesendet: Montag, 11. Juni 2012 18:37
An: Lime, Steve D (DNR); mapserver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] Circles around points in miles

Steve,

Below is a map file with the settings we are using.

The Extent and projection are commented out for the test.

With the projection set to init=epsg:4326 the circles appear the size we 
expect.

With projection set to proj=orth and the extent changed to EXTENT -20
-20 20 20 all the other data (removed form this map file for
simplicity) appears ok and the circles disappear.

Thanks

Ian



MAP
  NAME 'Simple'
  STATUS ON
  SIZE 1280 768

EXTENT -121 34 -115 41
#   EXTENT -20 -20 20 20

  UNITS DD
  SHAPEPATH shp
  IMAGECOLOR 120 120 120

  SYMBOL
NAME 'circle2'
TYPE ELLIPSE
POINTS 1 1 END
FILLED FALSE
  END

  LAYER
DEBUG 5
NAME range_circles
TYPE point
STATUS DEFAULT
UNITS miles
SIZEUNITS miles

FEATURE
POINTS 
 -118 38
END
END
  
CLASS
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 50
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 100
COLOR 255 0 0
  END
  STYLE 
  MAXWIDTH 1
SYMBOL 'circle2'
SIZE 150
COLOR 255 0 0
  END

END
  PROJECTION
proj=latlong
ellps=WGS84
datum=WGS84
END
  END

  PROJECTION
init=epsg:4326

#   proj=ortho
lat_0=38.0
lon_0=-118
ellps=WGS84
  END
END


-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
Sent: Monday, June 11, 2012 7:45 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] RE: Circles around points in miles

What are the UNITs set to with proj=ortho?

-Original Message-
From: Ian Walberg [mailto:ian.walb...@airborne.aero]
Sent: Friday, June 08, 2012 7:19 PM
To: mapserver-users@lists.osgeo.org
Cc: Lime, Steve D (DNR)
Subject: RE: [mapserver-users] RE: Circles around points in miles

Re: [mapserver-users] Circles around points in miles

2012-06-08 Thread Ian Walberg
This question from earlier in the year has finally got to the top of our
to do list.

The issue is how to draw a circle at a given size (ideally in miles)
when using proj=ortho.

Everything works well when using proj=latlong and SIZEUNITS miles.

Is this the expected behaviour and we do not understand something or is
this a problem?

Many thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Thursday, February 16, 2012 1:57 PM
To: mapserver-users@lists.osgeo.org
Cc: Lime, Steve D (DNR)
Subject: RE: [mapserver-users] RE: Circles around points in miles

This does not work in all cases as we hoped,  or we may not  understand
how to use the overall ma projection correctly.

All the layers have the projection set to proj=latlong,ellps=WGS84.

However if we set the overall map projection from this to proj=ortho
the layer with the sizeunits set disappears.

Is this an issue related to the projection or that the map units are now
different.

If we remove the sizeunits from the layer with the circles they reappear
but of course are not the correct size (in miles).

Many thanks

Ian

-Original Message-
From: Ian Walberg
Sent: Wednesday, February 15, 2012 11:40 AM
To: Stephen Woodbridge; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] RE: Circles around points in miles

Stephen,

That appears to do the trick.

Many thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Wednesday, February 15, 2012 10:36 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] RE: Circles around points in miles

On 2/15/2012 1:23 PM, Ian Walberg wrote:
 Steve,

 Thanks again for the info so far.

 Testing this today we realise (not surprisingly) that both the size 
 and width of the symbol are now in miles.

 Ideally we would like to set the radius of the circle in miles and the

 width in pixels.

 Is there any way of doing this?

Yes, add minwidth 1 and maxwidth 1 to force the width to 1 pixel.

-Steve W

 Regards

 Ian

 -Original Message-
 From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
 Sent: Monday, February 13, 2012 2:57 PM
 To: Ian Walberg; mapserver-users@lists.osgeo.org
 Subject: RE: Circles around points in miles

 I jumped the gun on the geomtransform idea. The support is there but 
 because it operates at the style level buffer distances must be given 
 in pixels and there's no easy way to convert a map distance (e.g. 10
 miles) to pixels. I really should make some runtime constants (for 
 example, extent, scale and cellsize) available to expressions- then 
 you could do this.

 Glad you picked option 2 to start.

 Steve

 -Original Message-
 From: Ian Walberg [mailto:ian.walb...@airborne.aero]
 Sent: Monday, February 13, 2012 4:38 PM
 To: Lime, Steve D (DNR); mapserver-users@lists.osgeo.org
 Subject: RE: Circles around points in miles

 Steve,

 Many thanks for the help and we have just tested option 2 and that 
 works.

 We are using 6.x but are not exactly sure how to use the geomtransform

 to do this. Do you have  an example?

 Regards

 Ian

 -Original Message-
 From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
 Sent: Monday, February 13, 2012 9:37 AM
 To: Ian Walberg; mapserver-users@lists.osgeo.org
 Subject: RE: Circles around points in miles

 Couple of options depending on version:

1) 6.x: buffer the points using a style geomtransform
2) all versions: use layer SIZEUNITS to draw a circle symbol in 
 miles

 I think option 1 is more flexible but option 2 is probably faster.

 Steve

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian 
 Walberg
 Sent: Saturday, February 11, 2012 10:06 PM
 To: mapserver-users@lists.osgeo.org
 Subject: [mapserver-users] Circles around points in miles


 We need to draw circles of 50 and 100 miles around a list of points.

 How can we do this?

 Thanks

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




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

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


[mapserver-users] Outlining label text

2012-06-01 Thread Ian Walberg
Hello folks,

We are using labels with 2 lines of text and the wrap/align works well.

Then we want to draw a background and an outline for the combined text.

This works ok using the style in the label and GEOTRANSFORM labelpoly.

The problem we have is we can only get a 1 pixel border so that the
outline is just too close.

What do we need to know to draw the outline a little further out?

Thanks

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


Re: [mapserver-users] Outlining label text

2012-06-01 Thread Ian Walberg
As soon as I wrote this I think I have the answer.

This draws 2 outlines with the colour and outline colour the same.

The first one uses the outline width to extend the border around the
text.
The second one is bigger and a different colour we of course get an
outline.

Ian

STYLE
  GEOMTRANSFORM 'labelpoly'
  COLOR 0 0 0
OUTLINECOLOR 0 0 0
WIDTH 12.0
END
STYLE
  GEOMTRANSFORM 'labelpoly'
  COLOR 100 100 100
OUTLINECOLOR 100 100 100
WIDTH 8.0
END

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Friday, June 01, 2012 2:23 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Outlining label text

Hello folks,

We are using labels with 2 lines of text and the wrap/align works well.

Then we want to draw a background and an outline for the combined text.

This works ok using the style in the label and GEOTRANSFORM labelpoly.

The problem we have is we can only get a 1 pixel border so that the
outline is just too close.

What do we need to know to draw the outline a little further out?

Thanks

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


[mapserver-users] 16 bit (rgb 565) output format

2012-05-15 Thread Ian Walberg
Is it possible to output in old fashioned true colour 16 bit rgb 565
format?

I have been looking through the output format settings and cannot see
anything.

If not does anyone know of a util to convert from 24 bit to 16 bit.

Thanks

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


RE: [mapserver-users] Anyone used MapServer to draw (things other thanmaps) with?

2012-04-03 Thread Ian Walberg
Bob,

We draw some data tables with maps as backgrounds by setting the
transform off and then using simple x y locations and everything works
very well.

Regards

Ian

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bob
Basques
Sent: Tuesday, April 03, 2012 7:54 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Anyone used MapServer to draw (things other
thanmaps) with?

 

All, 

 

I'm needing to draw some simple, but longish charts showing a GPS
timeline.  I'm thinking about trying to set up MapServer to generate
them dynamically. 

 

In the past I would have went to PGPLOT for this type of thing (It's
what I used for mapping before finding MapServer), And I see that it's
installed in Ubuntu now by default. 

 

So, my question, is this worth anything to anyone else?  has anyone done
this already, got any pointers?  The data is all in POSTGIS, so I have a
fair level of flexibility with formatting the data for MapServer use.  I
could for example format my data in such a way as to fool mapserver into
thinking it's some sort of map projection for display, etc.  I assume
all should work well with straight Cartesian Coordinates. 

 

Thanks 

 

bobb 






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


[mapserver-users] Image compression/performance

2012-03-21 Thread Ian Walberg
Folks,

We are using tif format images and getting good map rendering
performance.

However the image file size could do with reducing a little.

Anyone got experience of what compression options we have that have the
least impact on performance?

Thanks

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


  1   2   >