Re: [mapserver-users] Mapcache Question
Hello ALL! I dig into MapCache now and my modest comprehension is: 1) MapCache uses Mapserv for seeding tiles or more exactly - sends WMS request to Mapserv for getting a map: source/source section in a mapcache.xml file 2) Ol uses MapCache for rendering that tiles or more exactly - sends WMS(or other) request to MapCache: new ol.layer.Tile({ source: new ol.source.TileWMS(({ url: 'myhost/mapcache/?', params: {'LAYERS': 'mytileset'}, serverType: 'mapserver' })) }) where /mapcache/ is path to a mapcache.xml(aliased through Apache), 'mytileset' is tileset name=mytileset section in a mapcache.xml file 3)The Seeding and the rendering needs other configuration of mapcache.xml file(it is needs clarification). 4)The seeding may be through: mapcache_seed -c mapcache.xml -t mytileset-g mygrid or during a certain map area is requested by client (it is needs clarification). Thanks for any correction. Best regards. Wed, 1 Oct 2014 19:33:12 -0400 от Travis Kirstine tkirst...@firstbasesolutions.com: Tim, MapCache Is simply a tiling server. It will take images from a source and store them in a cache. These tiles are exposed as services to clients - WMTS, WMS, TMS etc... MapServer on the other hand will read source data (GIS files / database) and render images based on rules defined in the mapfile. These images are used as the source for MapCache. On Wed, Oct 1, 2014 at 5:58 PM, Tim Nasman tnas...@rollingleaf.com wrote: I have read through the Mapcache documentation but I feel like I am missing some basic elements to how it works. I am using Mapcache to display a mbtile that I have created. Now from what I understand, my mapcache .xml will list out the parameters of the mbtile and then I add a layer within my mapfile referencing the .xml which I should then be able to to use as WMTS using openlayers. I just haven't grasped how mapcache and mapserv work together so any clarification would be helpful. Thanks for your time. -- Timothy Nasman Data Analyst | Programmer Rolling Leaf Inc. [V] : 910.274.1436 [E] : tnas...@rollingleaf.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Travis Kirstine , Web Development Supervisor t 905‑477‑3600 x 301 | m 905‑534‑4798 | tkirst...@firstbasesolution.com First Base Solutions Inc. 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 t 905‑477‑3600 | f 905‑477‑0892 | www.firstbasesolutions.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] Mapcache Question
On 10/10/2014 3:23 AM, Vladimir wrote: Hello ALL! I dig into MapCache now and my modest comprehension is: 1) MapCache uses Mapserv for seeding tiles or more exactly - sends WMS request to Mapserv for getting a map: source/source section in a mapcache.xml file 2) Ol uses MapCache for rendering that tiles or more exactly - sends WMS(or other) request to MapCache: new ol.layer.Tile({ source: new ol.source.TileWMS(({ url: 'myhost/mapcache/?', params: {'LAYERS': 'mytileset'}, serverType: 'mapserver' })) }) where /mapcache/ is path to a mapcache.xml(aliased through Apache), 'mytileset' is tileset name=mytileset section in a mapcache.xml file 3)The Seeding and the rendering needs other configuration of mapcache.xml file(it is needs clarification). 4)The seeding may be through: mapcache_seed -c mapcache.xml -t mytileset-g mygrid or during a certain map area is requested by client (it is needs clarification). Yes, this seems correct. I will not that you CAN NOT use mapcache_seed AND web requests TOGETHER as they do not use compatible locking mechanisms. So either use mapcache_seed before you deploy or use the web requests to dynamically seed the cache. You can use mapcache_seed to do a partial pre seeding (like rectangles around major cities) then change over to web request which will generate tiles as needed in the remaining areas. -Steve W Thanks for any correction. Best regards. Wed, 1 Oct 2014 19:33:12 -0400 от Travis Kirstine tkirst...@firstbasesolutions.com: Tim, MapCache Is simply a tiling server. It will take images from a source and store them in a cache. These tiles are exposed as services to clients - WMTS, WMS, TMS etc... MapServer on the other hand will read source data (GIS files / database) and render images based on rules defined in the mapfile. These images are used as the source for MapCache. On Wed, Oct 1, 2014 at 5:58 PM, Tim Nasman tnas...@rollingleaf.com //e.mail.ru/compose/?mailto=mailto%3atnas...@rollingleaf.com wrote: I have read through the Mapcache documentation but I feel like I am missing some basic elements to how it works. I am using Mapcache to display a mbtile that I have created. Now from what I understand, my mapcache .xml will list out the parameters of the mbtile and then I add a layer within my mapfile referencing the .xml which I should then be able to to use as WMTS using openlayers. I just haven't grasped how mapcache and mapserv work together so any clarification would be helpful. Thanks for your time. -- Timothy Nasman Data Analyst | Programmer Rolling Leaf Inc. [V] : 910.274.1436 [E] : tnas...@rollingleaf.com //e.mail.ru/compose/?mailto=mailto%3ajo...@rollingleaf.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org //e.mail.ru/compose/?mailto=mailto%3amapserver%2dus...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- FBS Logo *Travis Kirstine*, Web Development Supervisor *t *905‑477‑3600/ x /301 | *m *905‑534‑4798 | tkirst...@firstbasesolution.com //e.mail.ru/compose/?mailto=mailto%3atkirst...@firstbasesolution.com *First Base Solutions Inc.* 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 *t* 905‑477‑3600 | *f* 905‑477‑0892 | www.firstbasesolutions.com http://www.firstbasesolutions.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org /compose?To=mapserver%2dus...@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] WFS DescribeFeatureType returns string for all attributes
Hi, I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view DescribeFeatureType on a layer returns string as data type for each attributes. This is an issue when we want to flter on WFS layer. I saw that this issue was discussed years ago https://github.com/mapserver/docs/issues/65 Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug? thank you Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WFS DescribeFeatureType returns string for all attributes
Hi, TinyOWS publish the schema automatically right and it belongs to the Mapserver family. Perhaps you could have a try with it? Live test server here http://hip.latuviitta.org/cgi-bin/tinyows?service=wfsversion=1.0.0request=GetCapabilities -Jukka Rahkonen- Steve Toutant wrote: Hi, I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view DescribeFeatureType on a layer returns string as data type for each attributes. This is an issue when we want to flter on WFS layer. I saw that this issue was discussed years ago https://github.com/mapserver/docs/issues/65 Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug? thank you Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] [EXTERNAL] WFS DescribeFeatureType returns string for all attributes
Steve, Does “gml_types” “auto not work for you? Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca Date: Friday, October 10, 2014 at 12:14 PM To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns string for all attributes Resent-From: Michael Smith michael.sm...@usace.army.milmailto:michael.sm...@usace.army.mil Hi, I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view DescribeFeatureType on a layer returns string as data type for each attributes. This is an issue when we want to flter on WFS layer. I saw that this issue was discussed years ago https://github.com/mapserver/docs/issues/65 Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug? thank you Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] [EXTERNAL] WFS DescribeFeatureType returns string for all attributes
Yes it works! I didn't know about this Wow, Many thanks Steve Smith, Michael ERDC-RDE-CRREL-NH michael.sm...@erdc.dren.mil 2014-10-10 12:29 A steve.tout...@inspq.qc.ca steve.tout...@inspq.qc.ca, mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org cc Objet Re: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns string for all attributes Steve, Does ?gml_types? ?auto not work for you? Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers From: steve.tout...@inspq.qc.ca steve.tout...@inspq.qc.ca Date: Friday, October 10, 2014 at 12:14 PM To: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Subject: [EXTERNAL] [mapserver-users] WFS DescribeFeatureType returns string for all attributes Resent-From: Michael Smith michael.sm...@usace.army.mil Hi, I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view DescribeFeatureType on a layer returns string as data type for each attributes. This is an issue when we want to flter on WFS layer. I saw that this issue was discussed years ago https://github.com/mapserver/docs/issues/65 Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug? thank you Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WFS DescribeFeatureType returns string for all attributes
Hi Steve: I'm not aware of a plan to fix this in the short term (patches gladly accepted though)... Sorry. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of steve.tout...@inspq.qc.ca Sent: Friday, October 10, 2014 11:15 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WFS DescribeFeatureType returns string for all attributes Hi, I'm using mapserv 6.4.1 as a wfs server to publish hundreds of layers. Most of the Layers are Postgis table or view DescribeFeatureType on a layer returns string as data type for each attributes. This is an issue when we want to flter on WFS layer. I saw that this issue was discussed years ago https://github.com/mapserver/docs/issues/65 Before Adding gml_[item name]_type for each non string attributes of every layers...Is there a plan to fix this bug? thank you Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Documentation of erlier versions of Mapserver
Hello, because I did not find any direct contact to www.mapserver.org website administrator I am sending this issue to this list. There are wrong links to documentation in Pdf of erlier versions. Currents is: http://mapserver.org/MapServer-xx.pdf Correct is: http://mapserver.org/pdf/MapServer-xx.pdf Michal S. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Documentation of erlier versions of Mapserver
Good catch Michal. I've checked-in an attempted fix for this, it should be visible soon. By the way, in the future if you want to report (or maybe submit fixes) to the docs the best way is to file a ticket here: https://github.com/mapserver/docs/issues Speaking for myself, I can't keep up to hundreds of mailing list emails a day, but tickets are easier to follow. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2014-10-10 5:30 PM, Michal Seidl wrote: Hello, because I did not find any direct contact to www.mapserver.org website administrator I am sending this issue to this list. There are wrong links to documentation in Pdf of erlier versions. Currents is: http://mapserver.org/MapServer-xx.pdf Correct is: http://mapserver.org/pdf/MapServer-xx.pdf Michal S. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users