From mgrudzien7 at gmail.com Mon Aug 2 05:06:38 2021 From: mgrudzien7 at gmail.com (=?UTF-8?Q?Marcin_Grudzie=C5=84?=) Date: Mon, 2 Aug 2021 14:06:38 +0200 Subject: [mapserver-users] WFS changing NULL values to 0. Message-ID: Hi, I am publishing an SHP file via the WFS service using Mapserver 7.2.2 In some cases, attributes of a type double have NULL values in the SHP. In such cases, MapServer is publishing them as "0" in GetFeature responses which may be confusing to the data users. I would like to achieve a situation that if the attribute value is NULLin SHP, the attribute is not published in GetFeature response. For example the response instead of this 419591.224000 697399.714000 284301500 419591.224 697399.714 0 0 Should look like this 419591.224000 697399.714000 284301500 419591.224 697399.714 Can it be achieved in MapServer? Best regards, Marcin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Mon Aug 2 08:16:22 2021 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Mon, 2 Aug 2021 15:16:22 +0000 Subject: [mapserver-users] WFS changing NULL values to 0. Message-ID: <73477a9f8502402c88b93f96f45bf5a0@maanmittauslaitos.fi> Hi, Attributes of type double can not really be nulls in shapefile. See https://desktop.arcgis.com/en/arcmap/latest/manage-data/shapefiles/geoprocessing-considerations-for-shapefile-output.htm#GUID-A10ADA3B-0988-4AB1-9EBA-AD704F77B4A2. A value -1.7976931348623158e+308 might work as a null but I do not consider it generally reliable. Use some other format as a datasource. -Jukka Rahkonen- L?hett?j?: mapserver-users Puolesta Marcin Grudzien L?hetetty: maanantai 2. elokuuta 2021 15.07 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: [mapserver-users] WFS changing NULL values to 0. Hi, I am publishing an SHP file via the WFS service using Mapserver 7.2.2 In some cases, attributes of a type double have NULL values in the SHP. In such cases, MapServer is publishing them as "0" in GetFeature responses which may be confusing to the data users. I would like to achieve a situation that if the attribute value is NULLin SHP, the attribute is not published in GetFeature response. For example the response instead of this 419591.224000 697399.714000 284301500 419591.224 697399.714 0 0 Should look like this 419591.224000 697399.714000 284301500 419591.224 697399.714 Can it be achieved in MapServer? Best regards, Marcin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mgrudzien7 at gmail.com Wed Aug 4 04:28:55 2021 From: mgrudzien7 at gmail.com (=?UTF-8?Q?Marcin_Grudzie=C5=84?=) Date: Wed, 4 Aug 2021 13:28:55 +0200 Subject: [mapserver-users] WFS changing NULL values to 0. In-Reply-To: <73477a9f8502402c88b93f96f45bf5a0@maanmittauslaitos.fi> References: <73477a9f8502402c88b93f96f45bf5a0@maanmittauslaitos.fi> Message-ID: Dear Jukka, We have migrated data to the PostGIS database and now everything works fine. Thank you for your support. Best regards, Marcin On Mon, 2 Aug 2021 at 17:16, Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi> wrote: > Hi, > > > > Attributes of type double can not really be nulls in shapefile. See > https://desktop.arcgis.com/en/arcmap/latest/manage-data/shapefiles/geoprocessing-considerations-for-shapefile-output.htm#GUID-A10ADA3B-0988-4AB1-9EBA-AD704F77B4A2. > A value -1.7976931348623158e+308 might work as a null but I do not > consider it generally reliable. Use some other format as a datasource. > > > > -Jukka Rahkonen- > > > > *L?hett?j?:* mapserver-users *Puolesta > *Marcin Grudzien > *L?hetetty:* maanantai 2. elokuuta 2021 15.07 > *Vastaanottaja:* mapserver-users at lists.osgeo.org > *Aihe:* [mapserver-users] WFS changing NULL values to 0. > > > > Hi, > > > > I am publishing an SHP file via the WFS service using Mapserver 7.2.2 > > > > In some cases, attributes of a type double have NULL values in the SHP. In > such cases, MapServer is publishing them as "0" in GetFeature responses > which may be confusing to the data users. I would like to achieve a > situation that if the attribute value is NULLin SHP, the attribute is not > published in GetFeature response. > > > > For example the response instead of this > > > > > > 419591.224000 697399.714000 > > > 284301500 > 419591.224 > 697399.714 > 0 > 0 > > > > > > Should look like this > > > > > > 419591.224000 697399.714000 > > > 284301500 > 419591.224 > 697399.714 > > > > > > Can it be achieved in MapServer? > > > > Best regards, > > Marcin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bahbouba.909 at gmail.com Fri Aug 6 09:24:15 2021 From: bahbouba.909 at gmail.com (Boubacar Bah) Date: Fri, 6 Aug 2021 17:24:15 +0100 Subject: [mapserver-users] Asking help Message-ID: Hello everyone l have a problem with the extension pgrouting in postgresql. I try to execute pgr_dijkstra extension but they show me the function doesn't exist . I want to Know how l can load the pgrouting functions in databases the version of my postgresql is 12 Thanks before -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at state.mn.us Fri Aug 6 12:16:47 2021 From: steve.lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 6 Aug 2021 19:16:47 +0000 Subject: [mapserver-users] Asking help In-Reply-To: References: Message-ID: Hi! Seems like more of a question for the pgrouting project? --Steve From: mapserver-users On Behalf Of Boubacar Bah Sent: Friday, August 6, 2021 11:24 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Asking help Hello everyone l have a problem with the extension pgrouting in postgresql. I try to execute pgr_dijkstra extension but they show me the function doesn't exist . I want to Know how l can load the pgrouting functions in databases the version of my postgresql is 12 Thanks before -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Mon Aug 9 10:31:55 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Mon, 9 Aug 2021 17:31:55 +0000 Subject: [mapserver-users] [REMINDER] OSGeo Twin Cities (aka TCMUG) Local Chapter Meeting - Aug 11th Message-ID: <09D53C9E-C064-4677-AF5D-495F61286057@ci.stpaul.mn.us> All, MEETING REMINDER for this Wednesday afternoon. Still looking for a presenter for the online (virtual) portion. Can be anything geo related. We?ll still be doing the presentation as a Virtual component to the meeting with the face to face meet up afterwards at. Bobb Hello all, Great meeting last month, even if it was a smaller group, Nice seeing folks face to face after 15 months. Talked about all sorts of stuff too. I did not remember to take a photo of the group, sorry about that. Also, looking for a presenter for this upcoming meeting 15-20 min presentation. We decided at the last meeting to switch things up a bit in order to try and preserve the virtual aspect, and remote access of our meetings as well as start up again with our face to face meet ups. So, we?re going to run a Virtual meeting ahead of the face to face. Date: Aug 11th. Virtual location: As always, use the link below to get into the virtual meeting. Virtual meeting time: 4:00pm CDT (I know a little earlier than usual, presentation will start at 4:15, end by 4:45) Face to face Location: Bad Weather Brewing. Map. Face to face meeting Time: 5:00 ? ???? Bobb Meeting: https://meet.jit.si/osgeo_tcmug Chapter page: https://www.osgeo.org/local-chapters/twin-cities-mn-usa-chapter/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Wed Aug 11 09:54:19 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Wed, 11 Aug 2021 16:54:19 +0000 Subject: [mapserver-users] [REMINDER] OSGeo Twin Cities (aka TCMUG) Local Chapter Meeting - Aug 11th Message-ID: All, MEETING REMINDER for this Wednesday (Today) afternoon. No presenter/presentation materialized for this month, so just going to show up at the Bad Weather location at 5:00pm Bobb Hello all, Great meeting last month, even if it was a smaller group, Nice seeing folks face to face after 15 months. Talked about all sorts of stuff too. I did not remember to take a photo of the group, sorry about that. Also, looking for a presenter for this upcoming meeting 15-20 min presentation. We decided at the last meeting to switch things up a bit in order to try and preserve the virtual aspect, and remote access of our meetings as well as start up again with our face to face meet ups. So, we?re going to run a Virtual meeting ahead of the face to face. Date: Aug 11th. Virtual location: As always, use the link below to get into the virtual meeting. Virtual meeting time: 4:00pm CDT (I know a little earlier than usual, presentation will start at 4:15, end by 4:45) Face to face Location: Bad Weather Brewing. Map. Face to face meeting Time: 5:00 ? ???? Bobb Meeting: https://meet.jit.si/osgeo_tcmug Chapter page: https://www.osgeo.org/local-chapters/twin-cities-mn-usa-chapter/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Wed Aug 11 12:15:42 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Wed, 11 Aug 2021 19:15:42 +0000 Subject: [mapserver-users] CSS in a WMS GetFeatureInfo request. Message-ID: Can/should CSS stuff be returned in a GetFeatureInfo request? Does it need to be formatted a certain way? Thanks Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Wed Aug 11 12:39:34 2021 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Wed, 11 Aug 2021 19:39:34 +0000 Subject: [mapserver-users] CSS in a WMS GetFeatureInfo request. In-Reply-To: References: Message-ID: More info: I'm getting back a result from the GetFeatureInfo request, but only a Fragment of it. The highlighted chunk of the following TEMPLATE is what comes out of the request (and wrapped int the WMS DIV : class="wmsGetFeatureInfo")

IGLEHART AVE: WHEELER ST N - CARROLL AVE
Synergen ID: S-0509229
:

Image Text


[streetall]: [f_xstreet] - [t_xstreet]
Synergen ID: [cmmsparent]
[shpxy]
Map
From: mapserver-users On Behalf Of Basques, Bob (CI-StPaul) Sent: Wednesday, August 11, 2021 2:16 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] CSS in a WMS GetFeatureInfo request. Think Before You Click: This email originated outside our organization. Can/should CSS stuff be returned in a GetFeatureInfo request? Does it need to be formatted a certain way? Thanks Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpass at bgs.ac.uk Thu Aug 12 01:27:30 2021 From: jpass at bgs.ac.uk (James Passmore - BGS) Date: Thu, 12 Aug 2021 08:27:30 +0000 Subject: [mapserver-users] CSS in a WMS GetFeatureInfo request Message-ID: Message: 1 Date: Wed, 11 Aug 2021 19:15:42 +0000 From: "Basques, Bob (CI-StPaul)" To: "mapserver-users at lists.osgeo.org" Subject: [mapserver-users] CSS in a WMS GetFeatureInfo request. Message-ID: Content-Type: text/plain; charset="us-ascii" Can/should CSS stuff be returned in a GetFeatureInfo request? Does it need to be formatted a certain way? Thanks Bobb ---- I add CSS mostly as a file on the web server and reference the file in the HTML Query_header.html like: Terrafirma legacy PSI data service OGC WMS query result ...

Legend

Legend for [layer] but use some inline styling in the template like:
Request debugging:
crs=[CRS]
i=[I]
j=[J]
query_layers=[query_layers]
bbox=[BBOX]
feature_count=[FEATURE_COUNT]
Terrafirma 1:5000 ground motion report

Legend

Legend for [layer] but use some inline styling in the template like:
Request debugging:
crs=[CRS]
i=[I]
j=[J]
query_layers=[query_layers]
bbox=[BBOX]
feature_count=[FEATURE_COUNT]
Terrafirma 1:5000 ground motion report