Re: [mapserver-users] Mapserver JOIN to html template

2016-03-14 Thread pe_lord
1- Concerning view, at this time, I don't want to plan to make view because, if I create view, I will get redundant geometries, resulting varying numbers of geometries between 1 an M possiblities... And My example is based on only 1 table. I plan to make 1:M relationships with 5-6 others tables. If

Re: [mapserver-users] Mapserver JOIN to html template

2016-03-14 Thread pe_lord
Finally, I've moved from 6.2.1 to 6.4.2 and the issue is solved. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapserver-JOIN-to-html-template-tp5255688p5256224.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

[mapserver-users] Union Layer

2016-06-29 Thread pe_lord
I'm using Mapserver 6.4.2 on ubuntu server I make an union layer. The source layer share the same attributes and are based on 2 postgis connection. Here's my problem, or the expected behavior I expect from this feature. I'm setting my union layer STATUS ON I set source(s) layer STATUS OFF I'm e

Re: [mapserver-users] RE Union Layer

2016-06-29 Thread pe_lord
Thanks, it's working perfectly! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Union-Layer-tp5273957p5273966.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-user

[mapserver-users] Mapserver 7.0.2

2017-03-22 Thread pe_lord
There is a way to add arrows at the end of a label leader. At this time, my leaders are working properly ( Leader ). At the moment I try to add another style by geotransform as explained here ( Geotransform

Re: [mapserver-users] Mapserver 7.0.2

2017-03-22 Thread pe_lord
Thanks a lot for your quick reply. For sure, the mapfile snippets in the documentation, it's really helpful. For the arrows, it's would be a nice enhancement! Pierre -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapserver-7-0-2-Arrows-on-leader-tp5313718p5313763.html

[mapserver-users] Mapserver 7.0.4 Join 1:M ouput in GML

2017-04-10 Thread pe_lord
I would like to know if it is possible to ouput a 1:M join -- join doc -- into a GML as suggested into this page: Template output At this moment, I succeed with HTML template. Here one of my HTML tem

Re: [mapserver-users] Mapserver 7.0.4 Join 1:M ouput in GML

2017-04-13 Thread pe_lord
I did'nt succed to overide the gml native template from Mapserver. Despite, I succeded in combining my join into a GEOJSON. The real problem to increment [shpxy] with correct option to format coordinates correctly. With my tries, i've seen that the trimlast option do not work properly. Here how l

[mapserver-users] Multi template

2017-04-18 Thread pe_lord
I would like to know if Mapserver is able to maintain 2 template (or more) as the same time.I want to maintain a HTML and a JSON template at the same time, depending my call's parameters on my WMS getfeatureinfo. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-templat

Re: [mapserver-users] Multi template

2017-04-18 Thread pe_lord
But more specificly, two template on the same layer managing [join], one in html, the other in json or whatever... I do not understant how to configure it or which call to make to retrieve the right template... INFO_FORMAT=text/html VS Queryformat = application/json -- View this message in

Re: [mapserver-users] Multi template

2017-04-18 Thread pe_lord
Here the kind of html template i would like to both call in html and json I know that i would need to simplify the data in json but it's simply an example: GetInfo HTML with joins

Re: [mapserver-users] Multi template

2017-04-27 Thread pe_lord
Any another hint to maintain 2 template on same layer? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-template-tp5317599p5318595.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users ma

Re: [mapserver-users] Multi template

2017-05-01 Thread pe_lord
I'm trying to setup these "DRIVER 'TEMPLATE'" Few more questions! 1- What is the goal/difference of FORMATOPTION "FILE=" vs FORMATOPTION 'ATTACHMENT=...' ? 2- How to not all redirect my query on the same template (json or html). I've tried for an other layer, my Driver template is used in

Re: [mapserver-users] Multi template

2017-05-11 Thread pe_lord
But how to control the layer to use. In the case where my templates varies for each layer. Do I have to call an new name at each call like this? LAYER1 call looks like : ...&INFO_FORMAT=application/json1 LAYER2 call looks like : ...&INFO_FORMAT=application/json2 OUTPUTFORMAT NAME 'json1'

[mapserver-users] Class maxscaledenom performance

2017-05-31 Thread pe_lord
I have a large dataset (7 500 000 polygons) published in a WMS service stored in a PostGIS table (spatial index and attribute index on classitem field). I render this layer between 1 and 100 001. I'm trying to manage my scale by class asMapfile maxscaledenom

Re: [mapserver-users] Class maxscaledenom performance

2017-06-01 Thread pe_lord
I've verified if the issue was not linked to WMS. shp2img succeed to produce the png. But it's quite long. I have tried at *1:102 000 * PGIS Query = 4 sec Nb of recors = 2859 records Mapserver render by WMS = 2.5 sec Mapserver render by shp2img = shp2img total time: 3.677s select "classitem_fie

Re: [mapserver-users] Class maxscaledenom performance

2017-06-02 Thread pe_lord
It is precisely what I expect. The solution is to use scaletoken. As proposed on Github RFC86 , I think it should be documented into the layer description section: http://www.mapserver.org/mapfile/layer.html Pierre -- View this message in

Re: [mapserver-users] Multi template

2017-06-13 Thread pe_lord
This is working properly with your proposal. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-template-tp5317599p5324075.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing li

Re: [mapserver-users] Multi template

2017-08-23 Thread pe_lord
One more question. Can template-output-driven be able to live at the same time as other standard templates? Until now, it seems to me that supplant the behavior of the other. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-template-tp5317599p5332275.html Sent from

Re: [mapserver-users] Multi template

2017-08-23 Thread pe_lord
I understand but I cannot get the same behavior. Here some mapfile sample: OUTPUTFORMAT NAME 'html' DRIVER 'TEMPLATE' MIMETYPE 'text/html' FORMATOPTION "FILE=../templates/html.tmpl" FORMATOPTION 'ATTACHMENT=info.html' END LAYER NAME A ... TEMPLATE 'another_template_ht

Re: [mapserver-users] Multi template

2017-08-23 Thread pe_lord
I'm on MapServer 7.0.3 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-template-tp5317599p5332325.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists

Re: [mapserver-users] Multi template

2017-09-06 Thread pe_lord
What about your own curiosity? I've retried and I get the same behavior. And you? Pierre -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osge

[mapserver-users] WMS-T in WMS Client

2017-09-13 Thread pe_lord
I try to cascade some public wms service in my local (dev). The public wms has wms-t capabilities. When I call this public WMS , on layer histo_stations_meteoroutieres. Here an example of getfeatureinfo

[mapserver-users] WFS export as GeoJSON or CSV

2017-09-20 Thread pe_lord
I work with Mapserver 7.0.3 to extract some datasets in various format (i.e, csv, geojson, shp...). Here my service. https://ws.mapserver.transports.gouv.qc.ca/swtq?service=wfs&request=getcapabilities Here the URL I use to extract data: https://ws.mapserver.transports.gouv.qc.ca/swtq?service=wfs

Re: [mapserver-users] WMS-T in WMS Client

2017-09-21 Thread pe_lord
It is working properly. Except that I modified the validation part to set a default value for my parameter. VALIDATION 'default_TIME' "1980-01-01/2020-06-01" 'TIME' '^(TIME=)?.*$' END Now my connection string look like: CONNECTION "https://ws.mapserver.transports.gouv.qc.ca/swtq?TI

Re: [mapserver-users] WFS export as GeoJSON or CSV

2017-09-25 Thread pe_lord
I've found. I forgot to add this parameter to my layer. http://mapserver.gis.umn.edu/output/ogr_output.html#geometry-types-supported My output had mixed feature strored in my geometry column. -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html __

[mapserver-users] Stop CLUSTERING beyond scale

2017-10-12 Thread pe_lord
Hi list, I would like to know if it is possible beyond a scale denom to stop clustering. I have this issue because I cluster some overlapping point and it is impossible to symbolize the individually when they are clusterized... I'm looking for this kind of feature: CLUSTER MAXDISTANCE 20

Re: [mapserver-users] Stop CLUSTERING beyond scale

2017-10-12 Thread pe_lord
Ok. But does the getfeatureinfo able to go through a group? -- 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/mapser

Re: [mapserver-users] GRABBING some default CGI parameters in MapFile.

2017-10-25 Thread pe_lord
I' trying to do the same thing but I get this error message? [Wed Oct 25 16:47:35 2017].80906 msPostGISLayerWhichShapes(): Error (ERROR: find_srid() - could not find the corresponding SRID - is the geometry registered in the GEOMETRY_COLUMNS table? Is there an uppercase/lowercase mismatch? CONTE

Re: [mapserver-users] passing variables to includes

2017-10-30 Thread pe_lord
To solve this problem, i've used an scaletoken with multiple parameters (sorted). SCALETOKEN NAME "%f%" VALUES "0" "2|1" "100" "2|1" END END And inside my query string to postgis, I've substitued these sorted value into a sub select and I split with the

Re: [mapserver-users] HTML template javascript and d3

2018-07-19 Thread pe_lord
This is working perfectly with [field_from_mapserver_raw] . I get the expected results. Yes, it is an interesting use of Mapserver, but it's not my idea. I took it on https://gis.stackexchange.com/questions/232098/calculate-a-field-in-a-getfeatureinfo-request-with-mapserver-7-0-4 -- Sent from:

[mapserver-users] Using Geopackage 1.0 & Spatial view

2018-07-19 Thread pe_lord
I've created a view joining 2 tables (1:M). This view is well recognized with QGIS 3.0 & GDAL 2.2.4 (OsGeo4W) When I use this view in mapserver : CONNECTIONTYPE OGR CONNECTION "mygeopackage.gpkg" DATA "v_my_view" I get msOGRFileOpen(): OGR error. GetLayer(v_my_view) failed for OGR connection. C

[mapserver-users] GetMap vs GetFeatureinfo sort

2018-08-24 Thread pe_lord
I have 2 superposed points with different attributes. When I render my classes, the rendering ordering is defined by the last geometry retrieved from the db. Then my last geometry (I defined an "order by fieldname asc" in my data section) is on the top of the getmap return image. On the other h

Re: [mapserver-users] GetMap vs GetFeatureinfo sort

2018-08-27 Thread pe_lord
Thanks. Here more informations. I have 2 overlapping geometries. My class are based on a field ==> CLASSITEM "code_type" and appear in my mapfile in this order. CLASS NAME "Blue CLASS" EXPRESSION '1' STYLE SYMBOL "square" SIZE 8 COLOR 53 68 150 END END ...

[mapserver-users] Mapserver 7.2.x WMS with Filter (rfc118)

2018-12-03 Thread pe_lord
I have a web app interfacing and building the ogc filter xml query. https://geoegl.msp.gouv.qc.ca/igo2/apercu-qc/?context=rfc118&tool=ogcFilter Here the picture for a WMS layer: 1- without filter a- getmap is ok

[mapserver-users] WFS outputformat zipped geojson(s)?

2019-02-15 Thread pe_lord
Hi I try to output many wfs layers (typenames) to a single zipped output. This is working properly for zipped shapefiles. ...?service=wfs&version=2.0.0&request=getfeature&typename=A,B&outputformat=SHP OUTPUTFORMAT NAME "SHP" DRIVER "OGR/ESRI Shapefile"

[mapserver-users] Geotransform AND WMS Filter

2019-03-12 Thread pe_lord
Does somebody has an idea about this issue? https://github.com/mapserver/mapserver/issues/5744 Pierre -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org ht

Re: [mapserver-users] WFS 2.0 and QGIS

2019-03-22 Thread pe_lord
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 maps

[mapserver-users] 7.2.1 html [shpxy] formating (templating)

2019-05-07 Thread pe_lord
I try to format my html getfeatureinfo response with my geometry coordinate (point). In my html.html response, I want [shpxy] with a "&" separator. Here what I set into my html template: [shpxy xh="x=" yh="y=" cs="&"] and I get this response: x=701467,y=305958 I need to concatenate my x an y

Re: [mapserver-users] 7.2.1 html [shpxy] formating (templating)

2019-05-10 Thread pe_lord
Thanks Steve you were right! xf="&" -- 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] Mapserver 7.2.1 Classgroup

2019-07-23 Thread pe_lord
I have a layer defined with multiple classgroup. Here the getcapabilities response... Here my mapfile CLASSGROUP "group1" CLASS GROUP "group1" END CLASS GROUP "group2" ... END Do you know if there is a way to broadcast a different name for the style's title and the style's

Re: [mapserver-users] Combining WMS Filter and Style Parameters

2019-07-31 Thread pe_lord
Yes I encounter the same issue as you mentioned. -- 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] WMS-T with daterange attribute

2020-04-08 Thread pe_lord
I have a time enabled dataset containing various attributes, 3 of them are related to time. The temporal steps between the records are not constant... The dataset presents roads history. There is many overlap inside this dataset. 1st attribute = start_date 2nd attribute = end_date 3rd attribute =

Re: [mapserver-users] WMS-T with daterange attribute

2020-04-08 Thread pe_lord
I've forgot a important thing in my question: Do you know if there is a way for Mapserver to manage a daterange field (or a start_date AND end_date) in a wms-t request? The request only provide a single date, not a range. Does Mapserver could generate a SQL like : select ... from table where d