From davidn at datalinktech.com.au Mon Jun 1 00:04:18 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Mon, 01 Jun 2009 17:04:18 +1000 Subject: [mapserver-users] Label opacity Message-ID: Hello all, While OPACITY [1-100] works fine for drawing features and symbols (ie. anything described in a STYLE section within the layer), it does not seem to affect labels. OPACITY does not appear to be a valid keyword in a LABEL section, so is there a way of achieving less than 100% opaque labels? Thanks, David From temiz at deprem.gov.tr Mon Jun 1 00:43:38 2009 From: temiz at deprem.gov.tr (orkun) Date: Mon, 01 Jun 2009 10:43:38 +0300 Subject: [mapserver-users] my grid layer doesn't work properly Message-ID: <1243842218.5953.8.camel@orkun-desktop> hello my grid layer doesn't work properly. Although at first it looks ok, when I zoom my map, Graticules (in UTM ) lost its format. It looks in scientific format. how can I correct this situation ? here is a part of my map ? LAYER NAME "GRID" TRANSPARENCY 10 PROJECTION 'proj=utm' 'zone=36' 'ellps=WGS84' 'datum=WGS84' 'units=m' 'no_defs' '' END TYPE LINE STATUS DEFAULT CLASS COLOR 0 0 0 LABEL TYPE BITMAP #SIZE MEDIUM SIZE SMALL COLOR 0 0 0 POSITION AUTO PARTIALS FALSE BUFFER 5 OUTLINECOLOR 255 255 255 END END GRID MAXARCS 5 MINARCS 3 # MAXINTERVAL 50 MAXSUBDIVIDE 2 #MINSUBDIVIDE 100 #MAXSUBDIVIDE 100 #MININTERVAL 10000 #MAXINTERVAL 50000 LABELFORMAT "%7.2f " END END regards -- Ahmet Temiz Jeo. M?h. Afet ??leri Gen. Md.l??? Deprem Ar. D. Ahmet Temiz Geo. Eng. General Dir. of Disaster Affairs TURKEY -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From Jukka.Rahkonen at mmmtike.fi Mon Jun 1 01:02:40 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 1 Jun 2009 11:02:40 +0300 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <4A237BDD.8070909@romtelecom.ro> References: <4A237BDD.8070909@romtelecom.ro> Message-ID: Hi, Terms and conditions of these services do not allow cascading Google/Yahoo maps through Mapserver. However, it is allowed to let the mapping client to make this integration. One example I found from my bookmarks is here: http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF -Jukka Rahkonen Adrian Popa wrote: > > Hello everybody, > > I'm not sure if it's been disscussed on the list already or > not, but I wanted to ask if it's possible to integrate > mapserver (and starting with which version?) with Google/Yahoo maps. > I would like to display the raster (satellite) images from > google/yahoo as a layer in the map. The thing is - I don't > want to store the actual raster data on my server - but to > make requests to google/yahoo on the fly. > > Thank you, > Adrian Popa > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From adrian_gh.popa at romtelecom.ro Mon Jun 1 02:15:35 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 01 Jun 2009 12:15:35 +0300 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: References: <4A237BDD.8070909@romtelecom.ro> Message-ID: <4A239C37.5000008@romtelecom.ro> Hello, Thank you for your clarification. So, I would need the client-side to support google/yahoo layers and mapserver would run to feed just its specific layers. Interesting. Anyway, do you know any other projects that offer (with an open license) access to raster satellite/aerial imagery that can be integrated with mapserver? Regards, Adrian Popa Rahkonen Jukka wrote: > Hi, > > Terms and conditions of these services do not allow cascading > Google/Yahoo maps through Mapserver. However, it is allowed to let the > mapping client to make this integration. One example I found from my > bookmarks is here: > > http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF > > -Jukka Rahkonen > > Adrian Popa wrote: > >> Hello everybody, >> >> I'm not sure if it's been disscussed on the list already or >> not, but I wanted to ask if it's possible to integrate >> mapserver (and starting with which version?) with Google/Yahoo maps. >> I would like to display the raster (satellite) images from >> google/yahoo as a layer in the map. The thing is - I don't >> want to store the actual raster data on my server - but to >> make requests to google/yahoo on the fly. >> >> Thank you, >> Adrian Popa >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Fawcett at state.mn.us Mon Jun 1 06:53:31 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Mon, 1 Jun 2009 08:53:31 -0500 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <4A239C37.5000008@romtelecom.ro> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> Take a look at OpenLayers. http://www.openlayers.org Here is an example of an OpenLayers application that uses Google as the base layer. http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html (When the app first loads, it is using OpenStreetMap data as the base layer. Click on the '+' icon on the right side of the map to expand the layer switcher and you can then switch to a Google layer.) You can also use Microsoft Virtual Earth data http://www.openlayers.org/dev/examples/ And using MapServer, you can publish your data as a WMS and pull it in to the same OpenLayers app. (You can also connect to MapServer with a native MapServer CGI call, but the developers are encouraging the use of a standard WMS call.) David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Adrian Popa Sent: Monday, June 01, 2009 4:16 AM To: Rahkonen Jukka Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Importing a Google/Yahoo maps raster layer Hello, Thank you for your clarification. So, I would need the client-side to support google/yahoo layers and mapserver would run to feed just its specific layers. Interesting. Anyway, do you know any other projects that offer (with an open license) access to raster satellite/aerial imagery that can be integrated with mapserver? Regards, Adrian Popa Rahkonen Jukka wrote: Hi, Terms and conditions of these services do not allow cascading Google/Yahoo maps through Mapserver. However, it is allowed to let the mapping client to make this integration. One example I found from my bookmarks is here: http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF -Jukka Rahkonen Adrian Popa wrote: Hello everybody, I'm not sure if it's been disscussed on the list already or not, but I wanted to ask if it's possible to integrate mapserver (and starting with which version?) with Google/Yahoo maps. I would like to display the raster (satellite) images from google/yahoo as a layer in the map. The thing is - I don't want to store the actual raster data on my server - but to make requests to google/yahoo on the fly. Thank you, Adrian Popa _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrian_gh.popa at romtelecom.ro Mon Jun 1 07:06:24 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 01 Jun 2009 17:06:24 +0300 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> Message-ID: <4A23E060.3040401@romtelecom.ro> Hello David, Unfortunatelly I am tied into a different web presentation layer - MsMap. It has some features (like marking locations at specific coordinates and adding interactive options to them) and I can't abandon it. I will look at openlayers, to see if it supports the functionality I need. Thank you for your help. Adrian Popa Fawcett, David wrote: > Take a look at OpenLayers. http://www.openlayers.org > > Here is an example of an OpenLayers application that uses Google as > the base layer. > http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html > (When the app first loads, it is using OpenStreetMap data as the base > layer. Click on the '+' icon on the right side of the map to expand > the layer switcher and you can then switch to a Google layer.) > > You can also use Microsoft Virtual Earth data > http://www.openlayers.org/dev/examples/ > > And using MapServer, you can publish your data as a WMS and pull it in > to the same OpenLayers app. (You can also connect to MapServer with a > native MapServer CGI call, but the developers are encouraging the use > of a standard WMS call.) > > David. > > -----Original Message----- > *From:* mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of > *Adrian Popa > *Sent:* Monday, June 01, 2009 4:16 AM > *To:* Rahkonen Jukka > *Cc:* mapserver-users at lists.osgeo.org > *Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps > raster layer > > Hello, > > Thank you for your clarification. So, I would need the client-side > to support google/yahoo layers and mapserver would run to feed > just its specific layers. > Interesting. > > Anyway, do you know any other projects that offer (with an open > license) access to raster satellite/aerial imagery that can be > integrated with mapserver? > > Regards, > Adrian Popa > > Rahkonen Jukka wrote: >> Hi, >> >> Terms and conditions of these services do not allow cascading >> Google/Yahoo maps through Mapserver. However, it is allowed to let the >> mapping client to make this integration. One example I found from my >> bookmarks is here: >> >> http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF >> >> -Jukka Rahkonen >> >> Adrian Popa wrote: >> >>> Hello everybody, >>> >>> I'm not sure if it's been disscussed on the list already or >>> not, but I wanted to ask if it's possible to integrate >>> mapserver (and starting with which version?) with Google/Yahoo maps. >>> I would like to display the raster (satellite) images from >>> google/yahoo as a layer in the map. The thing is - I don't >>> want to store the actual raster data on my server - but to >>> make requests to google/yahoo on the fly. >>> >>> Thank you, >>> Adrian Popa >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From crschmidt at metacarta.com Mon Jun 1 07:11:07 2009 From: crschmidt at metacarta.com (Christopher Schmidt) Date: Mon, 1 Jun 2009 10:11:07 -0400 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <4A23E060.3040401@romtelecom.ro> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> <4A23E060.3040401@romtelecom.ro> Message-ID: <20090601141106.GE17782@metacarta.com> On Mon, Jun 01, 2009 at 05:06:24PM +0300, Adrian Popa wrote: > Hello David, > > Unfortunatelly I am tied into a different web presentation layer - > MsMap. It has some features (like marking locations at specific > coordinates and adding interactive options to them) and I can't abandon it. > I will look at openlayers, to see if it supports the functionality I need. I'm assuming "Annotations" are visible marks on the map, and "adding interactive options to them" means that you can cause something to happen when you click. The first example that was given -- the 'sundials' example -- has both of these features. For a more advanced demonstration of OpenLayers technology, you might be interested in something more like: http://recovery-map.org/map/76/toxic-rivers-of-boston/ -- Chris > Thank you for your help. > Adrian Popa > > Fawcett, David wrote: > >Take a look at OpenLayers. http://www.openlayers.org > > > >Here is an example of an OpenLayers application that uses Google as > >the base layer. > >http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html > >(When the app first loads, it is using OpenStreetMap data as the base > >layer. Click on the '+' icon on the right side of the map to expand > >the layer switcher and you can then switch to a Google layer.) > > > >You can also use Microsoft Virtual Earth data > >http://www.openlayers.org/dev/examples/ > > > >And using MapServer, you can publish your data as a WMS and pull it in > >to the same OpenLayers app. (You can also connect to MapServer with a > >native MapServer CGI call, but the developers are encouraging the use > >of a standard WMS call.) > > > >David. > > > > -----Original Message----- > > *From:* mapserver-users-bounces at lists.osgeo.org > > [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of > > *Adrian Popa > > *Sent:* Monday, June 01, 2009 4:16 AM > > *To:* Rahkonen Jukka > > *Cc:* mapserver-users at lists.osgeo.org > > *Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps > > raster layer > > > > Hello, > > > > Thank you for your clarification. So, I would need the client-side > > to support google/yahoo layers and mapserver would run to feed > > just its specific layers. > > Interesting. > > > > Anyway, do you know any other projects that offer (with an open > > license) access to raster satellite/aerial imagery that can be > > integrated with mapserver? > > > > Regards, > > Adrian Popa > > > > Rahkonen Jukka wrote: > >> Hi, > >> > >> Terms and conditions of these services do not allow cascading > >> Google/Yahoo maps through Mapserver. However, it is allowed to let > >> the > >> mapping client to make this integration. One example I found from my > >> bookmarks is here: > >> > >> http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF > >> > >> -Jukka Rahkonen > >> > >> Adrian Popa wrote: > >> > >>> Hello everybody, > >>> > >>> I'm not sure if it's been disscussed on the list already or > >>> not, but I wanted to ask if it's possible to integrate > >>> mapserver (and starting with which version?) with Google/Yahoo maps. > >>> I would like to display the raster (satellite) images from > >>> google/yahoo as a layer in the map. The thing is - I don't > >>> want to store the actual raster data on my server - but to > >>> make requests to google/yahoo on the fly. > >>> > >>> Thank you, > >>> Adrian Popa > >>> > >>> _______________________________________________ > >>> mapserver-users mailing list > >>> mapserver-users at lists.osgeo.org > >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >>> > >>> > >> > >> > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Christopher Schmidt MetaCarta From adrian_gh.popa at romtelecom.ro Mon Jun 1 07:20:25 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 01 Jun 2009 17:20:25 +0300 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <20090601141106.GE17782@metacarta.com> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> <4A23E060.3040401@romtelecom.ro> <20090601141106.GE17782@metacarta.com> Message-ID: <4A23E3A9.1030602@romtelecom.ro> Hello Christopher, Your example has the elements that I need :) Is this basic functionality included in openlayers by default, or is it an addon? Also - will openlayers work with mapserver by default - or through WMS (I don't have experience with WMS)? Thanks for your references. Christopher Schmidt wrote: > On Mon, Jun 01, 2009 at 05:06:24PM +0300, Adrian Popa wrote: > >> Hello David, >> >> Unfortunatelly I am tied into a different web presentation layer - >> MsMap. It has some features (like marking locations at specific >> coordinates and adding interactive options to them) and I can't abandon it. >> I will look at openlayers, to see if it supports the functionality I need. >> > > I'm assuming "Annotations" are visible marks on the map, and "adding > interactive options to them" means that you can cause something to > happen when you click. The first example that was given -- the > 'sundials' example -- has both of these features. > > For a more advanced demonstration of OpenLayers technology, you might be > interested in something more like: > > http://recovery-map.org/map/76/toxic-rivers-of-boston/ > > -- Chris > > >> Thank you for your help. >> Adrian Popa >> >> Fawcett, David wrote: >> >>> Take a look at OpenLayers. http://www.openlayers.org >>> >>> Here is an example of an OpenLayers application that uses Google as >>> the base layer. >>> http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html >>> (When the app first loads, it is using OpenStreetMap data as the base >>> layer. Click on the '+' icon on the right side of the map to expand >>> the layer switcher and you can then switch to a Google layer.) >>> >>> You can also use Microsoft Virtual Earth data >>> http://www.openlayers.org/dev/examples/ >>> >>> And using MapServer, you can publish your data as a WMS and pull it in >>> to the same OpenLayers app. (You can also connect to MapServer with a >>> native MapServer CGI call, but the developers are encouraging the use >>> of a standard WMS call.) >>> >>> David. >>> >>> -----Original Message----- >>> *From:* mapserver-users-bounces at lists.osgeo.org >>> [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of >>> *Adrian Popa >>> *Sent:* Monday, June 01, 2009 4:16 AM >>> *To:* Rahkonen Jukka >>> *Cc:* mapserver-users at lists.osgeo.org >>> *Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps >>> raster layer >>> >>> Hello, >>> >>> Thank you for your clarification. So, I would need the client-side >>> to support google/yahoo layers and mapserver would run to feed >>> just its specific layers. >>> Interesting. >>> >>> Anyway, do you know any other projects that offer (with an open >>> license) access to raster satellite/aerial imagery that can be >>> integrated with mapserver? >>> >>> Regards, >>> Adrian Popa >>> >>> Rahkonen Jukka wrote: >>> >>>> Hi, >>>> >>>> Terms and conditions of these services do not allow cascading >>>> Google/Yahoo maps through Mapserver. However, it is allowed to let >>>> the >>>> mapping client to make this integration. One example I found from my >>>> bookmarks is here: >>>> >>>> http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF >>>> >>>> -Jukka Rahkonen >>>> >>>> Adrian Popa wrote: >>>> >>>> >>>>> Hello everybody, >>>>> >>>>> I'm not sure if it's been disscussed on the list already or >>>>> not, but I wanted to ask if it's possible to integrate >>>>> mapserver (and starting with which version?) with Google/Yahoo maps. >>>>> I would like to display the raster (satellite) images from >>>>> google/yahoo as a layer in the map. The thing is - I don't >>>>> want to store the actual raster data on my server - but to >>>>> make requests to google/yahoo on the fly. >>>>> >>>>> Thank you, >>>>> Adrian Popa >>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>>> >>>> >>>> > > >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Mon Jun 1 08:11:52 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 01 Jun 2009 10:11:52 -0500 Subject: [mapserver-users] Label opacity In-Reply-To: References: Message-ID: <4A23A967.5157.008F.0@dnr.state.mn.us> Not at the moment, no. The label cache rendering takes place independently of layer drawing and layer opacity isn't taken into account when labels are rendered. Probably should be... I start a ticket. Labels would need their own OPACITY keyword in this case or would have to respect LAYER OPACITY. Labels drawn independently of the cache, e.g. LABELPRECACHE ON are affected by LAYER OPACITY but are not subject to collision avoidance. Steve >>> On 6/1/2009 at 2:04 AM, in message , "David Nugent" wrote: > Hello all, > > While OPACITY [1-100] works fine for drawing features and symbols (ie. > anything described in a STYLE section within the layer), it does not seem > to affect labels. > > OPACITY does not appear to be a valid keyword in a LABEL section, so is > there a way of achieving less than 100% opaque labels? > > Thanks, > David > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From crschmidt at metacarta.com Mon Jun 1 08:25:21 2009 From: crschmidt at metacarta.com (Christopher Schmidt) Date: Mon, 1 Jun 2009 11:25:21 -0400 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <4A23E3A9.1030602@romtelecom.ro> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> <4A23E060.3040401@romtelecom.ro> <20090601141106.GE17782@metacarta.com> <4A23E3A9.1030602@romtelecom.ro> Message-ID: <20090601152521.GF17782@metacarta.com> On Mon, Jun 01, 2009 at 05:20:25PM +0300, Adrian Popa wrote: > Hello Christopher, > > Your example has the elements that I need :) Is this basic functionality > included in openlayers by default, or is it an addon? > Also - will openlayers work with mapserver by default - or through WMS > (I don't have experience with WMS)? Both, but WMS is highly recommended, because using MapServer as CGI is prone to hide errors due to misconfiguration. (Setting up WMS requires only adding: metadata web wms_srs "EPSG:4326" end end to your mapfile to work minimally; everything else is optional.) The recovery map example has a significant amount of code, but it is using the trunk version of OpenLayers with no additional features. The UI, some of the popups, the layer addition/removal are all additional pieces added to that UI, but there are other toolkits (Like GeoExt) that provide these in open source software as well. Best Regards, -- Christopher Schmidt MetaCarta From Steve.Lime at dnr.state.mn.us Mon Jun 1 09:42:08 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 01 Jun 2009 11:42:08 -0500 Subject: [mapserver-users] Label opacity In-Reply-To: <4A23A967.5157.008F.0@dnr.state.mn.us> References: <4A23A967.5157.008F.0@dnr.state.mn.us> Message-ID: <4A23BE8F.5157.008F.0@dnr.state.mn.us> Ticket #3033 (http://trac.osgeo.org/mapserver/ticket/3033) in case anyone is interested. Steve >>> On 6/1/2009 at 10:11 AM, in message <4A23A967.5157.008F.0 at dnr.state.mn.us>, "Steve Lime" wrote: > Not at the moment, no. The label cache rendering takes place independently of > layer drawing and > layer opacity isn't taken into account when labels are rendered. Probably > should be... I start a > ticket. Labels would need their own OPACITY keyword in this case or would > have to respect LAYER > OPACITY. > > Labels drawn independently of the cache, e.g. LABELPRECACHE ON are affected > by LAYER OPACITY > but are not subject to collision avoidance. > > Steve > >>>> On 6/1/2009 at 2:04 AM, in message , > "David Nugent" wrote: >> Hello all, >> >> While OPACITY [1-100] works fine for drawing features and symbols (ie. >> anything described in a STYLE section within the layer), it does not seem >> to affect labels. >> >> OPACITY does not appear to be a valid keyword in a LABEL section, so is >> there a way of achieving less than 100% opaque labels? >> >> Thanks, >> David >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From robhyx at gmail.com Mon Jun 1 09:47:40 2009 From: robhyx at gmail.com (Robert Hicks) Date: Mon, 1 Jun 2009 12:47:40 -0400 Subject: [mapserver-users] Using mapserver to print a large "plotter" sized image Message-ID: Hello all, I am trying to figure out a way I can use Mapserver to print out a large image, one that will look good coming off a plotter (probably around 300 dpi). There is an open ticket (http://mapserver.org/development/rfc/ms-rfc-55.html) for something somewhat related but it offers some good advice on what I am trying to do, however the maximum size that Mapserver allows you to request is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old size) * 300 (new resolution that is good for 300 dpi according to ticket) / 72 (old resolution) = 3154.1666666666666666666666666667 which is way to big to request from Mapserver. Does anyone have experience with this? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith at usace.army.mil Mon Jun 1 09:50:40 2009 From: michael.smith at usace.army.mil (Michael Smith) Date: Mon, 01 Jun 2009 12:50:40 -0400 Subject: [mapserver-users] Using mapserver to print a large "plotter" sized image In-Reply-To: Message-ID: Robert, To increase the maximum size that MapServer will generate, add the MAXSIZE keyword to you mapfile (in the MAP section) eg MAXSIZE 8000 See more here ( http://mapserver.org/mapfile/map.html ) Mike On 6/1/09 12:47 PM, "Robert Hicks" wrote: > Hello all, I am trying to figure out a way I can use Mapserver to print out a > large image, one that will look good coming off a plotter (probably around 300 > dpi). > > There is an open ticket > (http://mapserver.org/development/rfc/ms-rfc-55.html)?for something somewhat > related but it offers some good advice on what I am trying to do, however the > maximum size that Mapserver allows you to request is 2048 x 2048, and my > current viewport is 757 which scales like:?757 (old size) * 300 (new > resolution that is good for 300 dpi according to ticket) / 72 (old resolution) > =?3154.1666666666666666666666666667 which is way to big to request from > Mapserver. > > Does anyone have experience with this?? > > Thanks! > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bob.Basques at ci.stpaul.mn.us Mon Jun 1 10:34:50 2009 From: Bob.Basques at ci.stpaul.mn.us (Bob Basques) Date: Mon, 01 Jun 2009 12:34:50 -0500 Subject: [mapserver-users] Using mapserver to print a large "plotter" sizedimage In-Reply-To: References: Message-ID: <4A23CAEA.163B.00A8.0@ci.stpaul.mn.us> Robert, That's not so big. You can compile MapServer with larger output numbers, I think there is even an optional output method that has been recently added (or is going to be added) to help with this type of thing. The limits are in place for good reason BTW, so be careful with what you set up. We set our up for larger than stock image output as well. But we still have an upper limit in place. See here. http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243 ( http://gis.ci.stpaul.mn.us/datasets/SHP/METC/TLG/CENTERLINES_TLG/tlg_googlish1_public.map?mapext=531979.4411764706%20126619.81457800511%20611328.5588235294%20183199.1854219949&mapsize=3000%203000&mode=map&MOOSETIME=1243877325243 ) You can see that it takes a little while for the response to come back with this larger image size (3000x3000), but the images does eventually com back. You can bog your server down if you have too many folks grabbing too big of images too often. I've been contemplating a whole separate server just for this type of printing operation on this end for example. We still run into problems with folks using multiple monitor spanning Browser windows that request really large images, but this has only sporadically been a problem so far. But I can tell that the newer users are starting to expect some of these capabilities as well as newer high rez screens are installed. bobb >>> Robert Hicks wrote: Hello all, I am trying to figure out a way I can use Mapserver to print out a large image, one that will look good coming off a plotter (probably around 300 dpi). There is an open ticket (http://mapserver.org/development/rfc/ms-rfc-55.html) for something somewhat related but it offers some good advice on what I am trying to do, however the maximum size that Mapserver allows you to request is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old size) * 300 (new resolution that is good for 300 dpi according to ticket) / 72 (old resolution) = 3154.1666666666666666666666666667 which is way to big to request from Mapserver. Does anyone have experience with this? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From darenas2001 at yahoo.es Mon Jun 1 11:07:31 2009 From: darenas2001 at yahoo.es (darenas) Date: Mon, 1 Jun 2009 11:07:31 -0700 (PDT) Subject: [mapserver-users] HTML Query Template Message-ID: <1243879651472-3007697.post@n2.nabble.com> Hi everyone! I?m trying to create a HTML Query Template to use in a WMS service. Therefore, the idea is when I use the IDENTIFY tool, I want a table that give me back information about several fields from a GEODATABASE, just like this example: http://n2.nabble.com/file/n3007697/captured.jpg Sincerely, I?m a bit confuse of creating that Thanks a million David -- View this message in context: http://n2.nabble.com/HTML-Query-Template-tp3007697p3007697.html Sent from the Mapserver - User mailing list archive at Nabble.com. From cclabaugh at centwire.com Mon Jun 1 12:31:55 2009 From: cclabaugh at centwire.com (Chad Clabaugh) Date: Mon, 1 Jun 2009 15:31:55 -0400 Subject: [mapserver-users] Multiple shapefiles, one layer Message-ID: <006e01c9e2ef$9f7d9b40$de78d1c0$@com> Hello, I'm attempting to render two or possibly more shapefiles on a single layer. I found this http://old-mapserver.gis.umn.edu/data2/wilma/mapserver-users/0204/msg00111.h tml suggsting that it's possible but I'm not sure exactly what the post is explaining to do. Any thoughts or advice on this? Many thanks. Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Mon Jun 1 12:56:55 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 1 Jun 2009 22:56:55 +0300 Subject: [mapserver-users] Using mapserver to print a large "plotter" sizedimage References: Message-ID: Hi, There is nowadays MAXSIZE that is used at MAP level. Set it to 5000 and try again. MAXSIZE [integer] Sets the maximum size of the map image. This will override the default value. For example, setting this to 2048 means that you can have up to 2048 pixels in both dimensions (i.e. max of 2048x2048). -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users-bounces at lists.osgeo.org puolesta: Robert Hicks L?hetetty: ma 1.6.2009 19:47 Vastaanottaja: mapserver-users at lists.osgeo.org; MAPSERVER-USERS at lists.umn.edu Aihe: [mapserver-users] Using mapserver to print a large "plotter" sizedimage Hello all, I am trying to figure out a way I can use Mapserver to print out a large image, one that will look good coming off a plotter (probably around 300 dpi). There is an open ticket (http://mapserver.org/development/rfc/ms-rfc-55.html) for something somewhat related but it offers some good advice on what I am trying to do, however the maximum size that Mapserver allows you to request is 2048 x 2048, and my current viewport is 757 which scales like: 757 (old size) * 300 (new resolution that is good for 300 dpi according to ticket) / 72 (old resolution) = 3154.1666666666666666666666666667 which is way to big to request from Mapserver. Does anyone have experience with this? Thanks! From Jukka.Rahkonen at mmmtike.fi Mon Jun 1 13:05:43 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 1 Jun 2009 23:05:43 +0300 Subject: [mapserver-users] Multiple shapefiles, one layer References: <006e01c9e2ef$9f7d9b40$de78d1c0$@com> Message-ID: Hi, Ogrtindex is what you are searching for, http://mapserver.org/optimization/tileindex.html#tileindex -Jukka Rahkonen- Chad Clabaugh wrote: Hello, I'm attempting to render two or possibly more shapefiles on a single layer. I found this http://old-mapserver.gis.umn.edu/data2/wilma/mapserver-users/0204/msg00111.h tml suggsting that it's possible but I'm not sure exactly what the post is explaining to do. Any thoughts or advice on this? Many thanks. Chad From Steve.Lime at dnr.state.mn.us Mon Jun 1 13:11:21 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 01 Jun 2009 15:11:21 -0500 Subject: [mapserver-users] Finding the centroid given the feature In-Reply-To: <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> References: <6db14d250905280801q3660a6a7ycbcd5f5a238c595c@mail.gmail.com> <4A1E8DBD.5157.008F.0@dnr.state.mn.us> <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> Message-ID: <4A23EF98.5157.008F.0@dnr.state.mn.us> MapServer templates can produce a center point for a geometry but it's not a true centroid but those aren't guaranteed to be "in" the polygon. MapScript could be used as well I suppose. In either case you'd send a lookup request to the CGI or MapScript, do an attribute query and return whatever you'd need. Steve >>> On 5/29/2009 at 9:32 AM, in message <6db14d250905290732pb01747wce200eddfe73d1b2 at mail.gmail.com>, Varun saraf wrote: > I am using mapserver 5.0 with google maps and the data source is the > US Census tracts as shape files and dbf files. > > On Thu, May 28, 2009 at 2:12 PM, Steve Lime > wrote: >> What version are you using? What data source? >> >> Steve >> >>>>> On 5/28/2009 at 10:01 AM, in message >> <6db14d250905280801q3660a6a7ycbcd5f5a238c595c at mail.gmail.com>, Varun saraf >> wrote: >>> Hi, >>> >>> I know mapserver uses a point-in-polygon method to find a feature >>> given a set of co-ordinates, but can it do the same thing reversed? >>> For example. Each polygon I draw has a number associated with it which >>> is in a "dbf" file with the same name as the "shp" file that mapserver >>> uses to draw the polygons. My current map file allows me to fetch that >>> unique number whenever I pass the co-ordinates of any point inside >>> that polygon (mapserver uses the point-in-polygon method to fetch me >>> the polygonID). The query I use is >>> >>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa >>> p.map&mode=query&mapxy=-77.098617 >>> 38.87795 >>> >>> where mapxy keeps changing based on the user's click. The html >>> template I send just has the variable name [polygonID] which helps me >>> get the polygon ID of the point I specify in the mapxy variable. Now, >>> is there a way in which I can send this polygonID to mapserver and get >>> hold of any point (perhaps the centroid) inside of this polygon? Can >>> someone point me in the right direction here? >>> >>> Thanks a lot. >>> >>> -Varun >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From chrisweed at gmail.com Mon Jun 1 14:44:29 2009 From: chrisweed at gmail.com (Chris Weed) Date: Mon, 1 Jun 2009 17:44:29 -0400 Subject: [mapserver-users] sample WMS raster map file and sample data Message-ID: <359e4bf50906011444l38bf0f7bwb0af0467c4edd1ad@mail.gmail.com> Hi, I am trying to set up a WMS mapserver, but I can't find a sample image and map file to test with. Any help would be greatly appreciated. Thanks, Chris From Tom.Kralidis at ec.gc.ca Mon Jun 1 15:24:19 2009 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Mon, 1 Jun 2009 18:24:19 -0400 Subject: [mapserver-users] sample WMS raster map file and sample data References: <359e4bf50906011444l38bf0f7bwb0af0467c4edd1ad@mail.gmail.com> Message-ID: <23842457308FD64AA88A8EE62F2A7D5B83B48D@OntExch3.ontario.int.ec.gc.ca> Check out the MapServer OGC Web Services Workshop at http://ms-ogc-workshop.maptools.org/). There are mapfile examples for WMS with vector and raster data. ..Tom -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org on behalf of Chris Weed Sent: Mon 01-Jun-09 17:44 To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] sample WMS raster map file and sample data Hi, I am trying to set up a WMS mapserver, but I can't find a sample image and map file to test with. Any help would be greatly appreciated. Thanks, Chris _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From adrian_gh.popa at romtelecom.ro Mon Jun 1 22:23:56 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Tue, 02 Jun 2009 08:23:56 +0300 Subject: [mapserver-users] Importing a Google/Yahoo maps raster layer In-Reply-To: <20090601152521.GF17782@metacarta.com> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA540@s-sp22.pca.state.mn.us> <4A23E060.3040401@romtelecom.ro> <20090601141106.GE17782@metacarta.com> <4A23E3A9.1030602@romtelecom.ro> <20090601152521.GF17782@metacarta.com> Message-ID: <4A24B76C.6030006@romtelecom.ro> Thank you for the info - I will give it a try on a testbed installation :) Christopher Schmidt wrote: > On Mon, Jun 01, 2009 at 05:20:25PM +0300, Adrian Popa wrote: > >> Hello Christopher, >> >> Your example has the elements that I need :) Is this basic functionality >> included in openlayers by default, or is it an addon? >> Also - will openlayers work with mapserver by default - or through WMS >> (I don't have experience with WMS)? >> > > Both, but WMS is highly recommended, because using MapServer as CGI is > prone to hide errors due to misconfiguration. (Setting up WMS requires > only adding: > > metadata > web > wms_srs "EPSG:4326" > end > end > > to your mapfile to work minimally; everything else is optional.) > > The recovery map example has a significant amount of code, but it is > using the trunk version of OpenLayers with no additional features. The > UI, some of the popups, the layer addition/removal are all additional > pieces added to that UI, but there are other toolkits (Like GeoExt) that > provide these in open source software as well. > > Best Regards, > > -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nelson.branco at co.sapo.pt Tue Jun 2 03:44:35 2009 From: nelson.branco at co.sapo.pt (Nelson Branco) Date: Tue, 2 Jun 2009 11:44:35 +0100 Subject: [mapserver-users] Non stoping generation Message-ID: <53B3A4AEEC2D3842BDEE7ABAB93320EF02386D452D07@SPOLSBEX04.sapo.corppt.com> I have a problem generating a few images, tiles with TileCache, that run "forever" until Web server timed out (after more than 5 minutes). The tiles failing are a rare occurrence, 1 in a half million or so, and all in zoom level with a resolution of 0.29858214168548585 in epsg:900913 projection (very close zoom, the roads are about 50px wide). Any idea to solve the problem or to help identifying it? Thanks. Nelson Branco -------------- next part -------------- An HTML attachment was scrubbed... URL: From jfalvarez at vesifront.org Mon Jun 1 20:56:10 2009 From: jfalvarez at vesifront.org (Juan Felipe Alvarez Saldarriaga) Date: Mon, 1 Jun 2009 22:56:10 -0500 Subject: [mapserver-users] WMS + Layers with OPACITY Message-ID: <61f49d0f0906012056w37bbfe90v9a58b4efcfd51c3b@mail.gmail.com> Hey, I'm trying to use a WMS map from the NASA as myy BASE map and som other layers (SHP), but I don't know why the image looks so ugly, I'm using OpenLayers to render the map and mapserver on Ubuntu, I set the WMS as png and the other layers too, can somebody help me with this?, the map and the image are attached, Thx. This is the mapserver config: MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT =OGR INPUT=GDAL INPUT=SHAPEFILE My OpenLayers config: function showMap() { objOpenLayers = new OpenLayers.Map( "show-map", { controls: [], /* zoom: 5 */ maxResolution: 'auto' } ); objOpenLayers.addControl( new OpenLayers.Control.PanZoomBar() ); objOpenLayers.addControl( new OpenLayers.Control.MouseToolbar() ); objOpenLayers.addControl( new OpenLayers.Control.LayerSwitcher() ); // objOpenLayers.addControl( new OpenLayers.Control.Permalink() ); // objOpenLayers.addControl( new OpenLayers.Control.ScaleLine() ); // objOpenLayers.addControl( new OpenLayers.Control.Permalink( 'permalink' ) ); objOpenLayers.addControl( new OpenLayers.Control.MousePosition() ); // objOpenLayers.addControl( new OpenLayers.Control.OverviewMap() ); objOpenLayers.addControl( new OpenLayers.Control.KeyboardDefaults() ); var twms = new OpenLayers.Layer.WMS( "NASA", "http://wms.jpl.nasa.gov/wms.cgi?", { map: '/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/9182340517c2d323061dc1cffea6e431.map', layers: 'BMNG', format: 'image/png'}, {isBaseLayer: true} ); objOpenLayers.addLayer(twms); var objMapServer17 = new OpenLayers.Layer.MapServer( "Colombia Departamentos", "http://vesifront.org/cgi-bin/mapserv", { map: "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/9182340517c2d323061dc1cffea6e431.map", layers: "Colombia_Departamentos", // maxResolution: "auto", transparent: "true", format: "image/png" } ); objOpenLayers.addLayer( objMapServer17 ); var objMapServer18 = new OpenLayers.Layer.MapServer( "Zona Bananera 2", "http://vesifront.org/cgi-bin/mapserv", { map: "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/9182340517c2d323061dc1cffea6e431.map", layers: "Zona_Bananera_2", // maxResolution: "auto", transparent: "true", format: "image/png" } ); objOpenLayers.addLayer( objMapServer18 ); var objMapServer19 = new OpenLayers.Layer.MapServer( "Zona Bananera 1", "http://vesifront.org/cgi-bin/mapserv", { map: "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/9182340517c2d323061dc1cffea6e431.map", layers: "Zona_Bananera_1", // maxResolution: "auto", transparent: "true", format: "image/png" } ); if ( !objOpenLayers.getCenter() ) { objOpenLayers.zoomToMaxExtent(); } } -------------- next part -------------- A non-text attachment was scrubbed... Name: 9182340517c2d323061dc1cffea6e431.map Type: application/octet-stream Size: 5226 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mapserver-ugly-layers.JPG Type: image/jpeg Size: 179802 bytes Desc: not available URL: From pauljame at gmail.com Tue Jun 2 06:12:56 2009 From: pauljame at gmail.com (Paul james) Date: Tue, 2 Jun 2009 10:12:56 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <4A1FFD49.8060400@mapgears.com> <33fad6880905290840h10fd7606i5508697161fda7d@mail.gmail.com> <4A2005B2.70704@mapgears.com> <33fad6880905290926g62a9d75ci90d281e53867f368@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> Message-ID: <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> Probably is a mapserver CGI bug... Paul On Sat, May 30, 2009 at 11:56 PM, Brian Fischer wrote: > Paul, > > Just to let you know you are not alone. I am experiencing the same problem > with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W project. > Here?s a link to the bug report > http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard > anything back on a solution yet. I?m not sure if this is a MapServer bug or > a bug with the way the MS4W package was compiled. It runs fine of Apache > for me. > > > > Brian Fischer > > Houston Engineering, Inc. > > > > *From:* mapserver-users-bounces at lists.osgeo.org [mailto: > mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james > *Sent:* Friday, May 29, 2009 1:08 PM > *To:* Steve Lime > *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette > *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI > error on IIS(5.1 and 6.0) ... Possible BUG? > > > > > http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 > > Paul > > On Fri, May 29, 2009 at 3:01 PM, Steve Lime > wrote: > > What's the full URL submitted against the CGI? > > >>> On 5/29/2009 at 12:59 PM, in message > <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul > james > > wrote: > > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w > beta... > > 2 - I?m using normal CGI > > 3 - My tests are only with Postgis... I?ll generate a shapefile to > test > > later ... > > > > Paul > > > > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres > wrote: > > > >> Hi Paul, > >> > >> Did you experience the same with the release-1310 and release-1400 > >> versions? Did you experience the same with the development version? > >> Are you using fastCGI or normal cgi? > >> Is this just a PostGIS related problem or you get the same with a > simple > >> shapefile? > >> > >> Sorry for the bunch of the questions... > >> > >> Best regards, > >> > >> Tamas > >> > >> > >> > >> 2009/5/29 Paul james > >> > >>> Yes Daniel... I deleted all previous files and put only 5.4 > files... My > >>> mapscript application is working fine on 5.4... > >>> But the CGI dont... > >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... > >>> > >>> Paul > >>> > >>> > >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < > >>> dmorissette at mapgears.com> wrote: > >>> > >>>> Paul james wrote: > >>>> > >>>>> Hi Daniel... > >>>>> I got the binaries from Tamas build : > >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx > >>>>> And from MS4W 3.0 beta2... > >>>>> Same result with both... > >>>>> > >>>>> That error you got is my fault... I took off the : > >>>>> IMAGE "..\Map.png" > >>>>> from REFERENCE definition when copy the code to email... > >>>>> > >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 > >>>>> Just replacing with 5.4 binary I got that 502 error... > >>>>> > >>>>> > >>>> Hopefully you always make sure you update all DLLs as well when > you > >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, > if they > >>>> come from different build environments or versions they may not > be > >>>> compatible and could cause the kind of crashes that you are > experiencing. > >>>> > >>>> > >>>> Daniel > >>>> -- > >>>> Daniel Morissette > >>>> http://www.mapgears.com/ > >>>> > >>> > >>> > >>> _______________________________________________ > >>> mapserver-users mailing list > >>> mapserver-users at lists.osgeo.org > >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >>> > >>> > >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Tue Jun 2 07:04:45 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Tue, 2 Jun 2009 17:04:45 +0300 Subject: [mapserver-users] WMS + Layers with OPACITY In-Reply-To: <61f49d0f0906012056w37bbfe90v9a58b4efcfd51c3b@mail.gmail.com> References: <61f49d0f0906012056w37bbfe90v9a58b4efcfd51c3b@mail.gmail.com> Message-ID: Hi, Satellite images tend to look ugly with 8 bits as you are serving now. Try with 24-bit png by changing IMAGEMODE to RGB. -Jukka Rahkonen- Alvarez Saldarriaga wrote: > > Hey, I'm trying to use a WMS map from the NASA as myy BASE > map and som other layers (SHP), but I don't know why the > image looks so ugly, I'm using OpenLayers to render the map > and mapserver on Ubuntu, I set the WMS as png and the other > layers too, can somebody help me with this?, the map and the > image are attached, Thx. > > This is the mapserver config: > > MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG > SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER > SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT > SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS > SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT =OGR INPUT=GDAL > INPUT=SHAPEFILE > > My OpenLayers config: > > function showMap() > { > objOpenLayers = new OpenLayers.Map( "show-map", > { controls: [], /* > zoom: 5 */ maxResolution: 'auto' } ); > > objOpenLayers.addControl( new > OpenLayers.Control.PanZoomBar() ); > objOpenLayers.addControl( new > OpenLayers.Control.MouseToolbar() ); > objOpenLayers.addControl( new > OpenLayers.Control.LayerSwitcher() ); > // objOpenLayers.addControl( new > OpenLayers.Control.Permalink() ); > // objOpenLayers.addControl( new > OpenLayers.Control.ScaleLine() ); > // objOpenLayers.addControl( new > OpenLayers.Control.Permalink( 'permalink' ) ); > objOpenLayers.addControl( new > OpenLayers.Control.MousePosition() ); > // objOpenLayers.addControl( new > OpenLayers.Control.OverviewMap() ); > objOpenLayers.addControl( new > OpenLayers.Control.KeyboardDefaults() ); > > var twms = new OpenLayers.Layer.WMS( "NASA", > "http://wms.jpl.nasa.gov/wms.cgi?", > { map: > '/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/91 82340517c2d323061dc1cffea6e431.map', > layers: 'BMNG', > format: 'image/png'}, {isBaseLayer: true} ); > objOpenLayers.addLayer(twms); > > var objMapServer17 = new OpenLayers.Layer.MapServer( > "Colombia Departamentos", > "http://vesifront.org/cgi-bin/mapserv", > { > map: > "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/91 82340517c2d323061dc1cffea6e431.map", > layers: "Colombia_Departamentos", > // maxResolution: "auto", > transparent: "true", > format: "image/png" > } > ); > objOpenLayers.addLayer( objMapServer17 ); > > var objMapServer18 = > new OpenLayers.Layer.MapServer( > "Zona Bananera 2", > "http://vesifront.org/cgi-bin/mapserv", > { > map: > "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/91 82340517c2d323061dc1cffea6e431.map", > layers: "Zona_Bananera_2", > // maxResolution: "auto", > transparent: "true", > format: "image/png" > } > ); > > objOpenLayers.addLayer( objMapServer18 ); > > var objMapServer19 = > new OpenLayers.Layer.MapServer( > "Zona Bananera 1", > "http://vesifront.org/cgi-bin/mapserv", > { > map: > "/home/jfalvarez/projects/cms/branches/V1/docroot/map-files/91 82340517c2d323061dc1cffea6e431.map", > layers: "Zona_Bananera_1", > // maxResolution: "auto", > transparent: "true", > format: "image/png" > } > ); > > if ( !objOpenLayers.getCenter() ) > { > objOpenLayers.zoomToMaxExtent(); > } > } > From vsaraf.gmu at gmail.com Tue Jun 2 10:17:03 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Tue, 2 Jun 2009 13:17:03 -0400 Subject: [mapserver-users] Finding the centroid given the feature In-Reply-To: <4A23EF98.5157.008F.0@dnr.state.mn.us> References: <6db14d250905280801q3660a6a7ycbcd5f5a238c595c@mail.gmail.com> <4A1E8DBD.5157.008F.0@dnr.state.mn.us> <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> <4A23EF98.5157.008F.0@dnr.state.mn.us> Message-ID: <6db14d250906021017kb56f49ak36b4d0e4be417152@mail.gmail.com> Center of the geometry works perfect. I need to get access to any point inside the polygon feature. I believe I can use an itemQuery on mapserver to query the attribute but how does mapserver return the center point? Do I need to create an HTML template for that too? On Mon, Jun 1, 2009 at 4:11 PM, Steve Lime wrote: > MapServer templates can produce a center point for a geometry but it's not a true centroid but those > aren't guaranteed to be "in" the polygon. MapScript could be used as well I suppose. In either case you'd > send a lookup request to the CGI or MapScript, do an attribute query and return whatever you'd need. > > Steve > >>>> On 5/29/2009 at 9:32 AM, in message > <6db14d250905290732pb01747wce200eddfe73d1b2 at mail.gmail.com>, Varun saraf > wrote: >> I am using mapserver 5.0 with google maps and the data source is the >> US Census tracts as shape files and dbf files. >> >> On Thu, May 28, 2009 at 2:12 PM, Steve Lime >> wrote: >>> What version are you using? What data source? >>> >>> Steve >>> >>>>>> On 5/28/2009 at 10:01 AM, in message >>> <6db14d250905280801q3660a6a7ycbcd5f5a238c595c at mail.gmail.com>, Varun saraf >>> wrote: >>>> Hi, >>>> >>>> I know mapserver uses a point-in-polygon method to find a feature >>>> given a set of co-ordinates, but can it do the same thing reversed? >>>> For example. Each polygon I draw has a number associated with it which >>>> is in a "dbf" file with the same name as the "shp" file that mapserver >>>> uses to draw the polygons. My current map file allows me to fetch that >>>> unique number whenever I pass the co-ordinates of any point inside >>>> that polygon (mapserver uses the point-in-polygon method to fetch me >>>> the polygonID). The query I use is >>>> >>>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa >>>> p.map&mode=query&mapxy=-77.098617 >>>> 38.87795 >>>> >>>> where mapxy keeps changing based on the user's click. The html >>>> template I send just has the variable name [polygonID] which helps me >>>> get the polygon ID of the point I specify in the mapxy variable. Now, >>>> is there a way in which I can send this polygonID to mapserver and get >>>> hold of any point (perhaps the centroid) inside of this polygon? Can >>>> someone point me in the right direction here? >>>> >>>> Thanks a lot. >>>> >>>> -Varun >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From adube at mapgears.com Tue Jun 2 10:39:46 2009 From: adube at mapgears.com (Alexandre Dube) Date: Tue, 02 Jun 2009 13:39:46 -0400 Subject: [mapserver-users] Non stoping generation In-Reply-To: <53B3A4AEEC2D3842BDEE7ABAB93320EF02386D452D07@SPOLSBEX04.sapo.corppt.com> References: <53B3A4AEEC2D3842BDEE7ABAB93320EF02386D452D07@SPOLSBEX04.sapo.corppt.com> Message-ID: <4A2563E2.2000301@mapgears.com> Hi, That looks like a TileCache problem. Try the TileCache mailing list. Do you use a MapServerLayer in your tilecache.cfg ? If so, use WMSLayer instead. Alexandre Nelson Branco wrote: > > I have a problem generating a few images, tiles with TileCache, that > run ?forever? until Web server timed out (after more than 5 minutes). > > The tiles failing are a rare occurrence, 1 in a half million or so, > and all in zoom level with a resolution of 0.29858214168548585 in > epsg:900913 projection (very close zoom, the roads are about 50px wide). > > Any idea to solve the problem or to help identifying it? > > Thanks. > > Nelson Branco > > ------------------------------------------------------------------------ > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Alexandre Dub? Mapgears www.mapgears.com From Steve.Lime at dnr.state.mn.us Tue Jun 2 10:50:17 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 02 Jun 2009 12:50:17 -0500 Subject: [mapserver-users] Finding the centroid given the feature In-Reply-To: <6db14d250906021017kb56f49ak36b4d0e4be417152@mail.gmail.com> References: <6db14d250905280801q3660a6a7ycbcd5f5a238c595c@mail.gmail.com> <4A1E8DBD.5157.008F.0@dnr.state.mn.us> <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> <4A23EF98.5157.008F.0@dnr.state.mn.us> <6db14d250906021017kb56f49ak36b4d0e4be417152@mail.gmail.com> Message-ID: <4A252008.5157.008F.0@dnr.state.mn.us> Yes, you'd need to create a template for that. You could return JSON, XML, csv or whatever. This would be the most straightfoward using 5.2 or ideally 5.4.1 (due out today) and the new style templates. You could create a template output format to use like so: OUTPUTFORMAT NAME 'geom_center' DRIVER 'TEMPLATE' MIMETYPE 'text/plain' FORMATOPTION 'FILE=geom_center.tmpl' END where geom_center.tmpl might look like: [shpmidx],[shpmidy] and your query would look like: http://.../cgi-bin/mapserv?map=foo.map&...itemquery stuff...&qformat=geom_center Steve >>> On 6/2/2009 at 12:17 PM, in message <6db14d250906021017kb56f49ak36b4d0e4be417152 at mail.gmail.com>, Varun saraf wrote: > Center of the geometry works perfect. I need to get access to any > point inside the polygon feature. I believe I can use an itemQuery on > mapserver to query the attribute but how does mapserver return the > center point? Do I need to create an HTML template for that too? > > On Mon, Jun 1, 2009 at 4:11 PM, Steve Lime wrote: >> MapServer templates can produce a center point for a geometry but it's not a > true centroid but those >> aren't guaranteed to be "in" the polygon. MapScript could be used as well I > suppose. In either case you'd >> send a lookup request to the CGI or MapScript, do an attribute query and > return whatever you'd need. >> >> Steve >> >>>>> On 5/29/2009 at 9:32 AM, in message >> <6db14d250905290732pb01747wce200eddfe73d1b2 at mail.gmail.com>, Varun saraf >> wrote: >>> I am using mapserver 5.0 with google maps and the data source is the >>> US Census tracts as shape files and dbf files. >>> >>> On Thu, May 28, 2009 at 2:12 PM, Steve Lime >>> wrote: >>>> What version are you using? What data source? >>>> >>>> Steve >>>> >>>>>>> On 5/28/2009 at 10:01 AM, in message >>>> <6db14d250905280801q3660a6a7ycbcd5f5a238c595c at mail.gmail.com>, Varun saraf >>>> wrote: >>>>> Hi, >>>>> >>>>> I know mapserver uses a point-in-polygon method to find a feature >>>>> given a set of co-ordinates, but can it do the same thing reversed? >>>>> For example. Each polygon I draw has a number associated with it which >>>>> is in a "dbf" file with the same name as the "shp" file that mapserver >>>>> uses to draw the polygons. My current map file allows me to fetch that >>>>> unique number whenever I pass the co-ordinates of any point inside >>>>> that polygon (mapserver uses the point-in-polygon method to fetch me >>>>> the polygonID). The query I use is >>>>> >>>>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa >>>>> p.map&mode=query&mapxy=-77.098617 >>>>> 38.87795 >>>>> >>>>> where mapxy keeps changing based on the user's click. The html >>>>> template I send just has the variable name [polygonID] which helps me >>>>> get the polygon ID of the point I specify in the mapxy variable. Now, >>>>> is there a way in which I can send this polygonID to mapserver and get >>>>> hold of any point (perhaps the centroid) inside of this polygon? Can >>>>> someone point me in the right direction here? >>>>> >>>>> Thanks a lot. >>>>> >>>>> -Varun >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From vsaraf.gmu at gmail.com Tue Jun 2 13:16:15 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Tue, 2 Jun 2009 16:16:15 -0400 Subject: [mapserver-users] Finding the centroid given the feature In-Reply-To: <4A252008.5157.008F.0@dnr.state.mn.us> References: <6db14d250905280801q3660a6a7ycbcd5f5a238c595c@mail.gmail.com> <4A1E8DBD.5157.008F.0@dnr.state.mn.us> <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> <4A23EF98.5157.008F.0@dnr.state.mn.us> <6db14d250906021017kb56f49ak36b4d0e4be417152@mail.gmail.com> <4A252008.5157.008F.0@dnr.state.mn.us> Message-ID: <6db14d250906021316o47a1ed6i43aadf17d04dbea3@mail.gmail.com> Thanks a lot Steve. I am able to use the itemquery to fetch the other attributes correctly but somehow, the center of polygon isn't working right. Its returning to me, the co-ordinates that are outside the bounds of the mapping application. All my data is in the actual geographic co-ordinate system followed by Google maps and it returns a latitude/longitude pair corresponsing to some place in Antarctica. Any idea on what might be wrong? On Tue, Jun 2, 2009 at 1:50 PM, Steve Lime wrote: > Yes, you'd need to create a template for that. You could return JSON, XML, csv or whatever. This would > be the most straightfoward using 5.2 or ideally 5.4.1 (due out today) and the new style templates. You > could create a template output format to use like so: > > OUTPUTFORMAT > ?NAME 'geom_center' > ?DRIVER 'TEMPLATE' > ?MIMETYPE 'text/plain' > ?FORMATOPTION 'FILE=geom_center.tmpl' > END > > where geom_center.tmpl might look like: > > > [shpmidx],[shpmidy] > > and your query would look like: > > http://.../cgi-bin/mapserv?map=foo.map&...itemquery stuff...&qformat=geom_center > > Steve > >>>> On 6/2/2009 at 12:17 PM, in message > <6db14d250906021017kb56f49ak36b4d0e4be417152 at mail.gmail.com>, Varun saraf > wrote: >> Center of the geometry works perfect. I need to get access to any >> point inside the polygon feature. I believe I can use an itemQuery on >> mapserver to query the attribute but how does mapserver return the >> center point? Do I need to create an HTML template for that too? >> >> On Mon, Jun 1, 2009 at 4:11 PM, Steve Lime wrote: >>> MapServer templates can produce a center point for a geometry but it's not a >> true centroid but those >>> aren't guaranteed to be "in" the polygon. MapScript could be used as well I >> suppose. In either case you'd >>> send a lookup request to the CGI or MapScript, do an attribute query and >> return whatever you'd need. >>> >>> Steve >>> >>>>>> On 5/29/2009 at 9:32 AM, in message >>> <6db14d250905290732pb01747wce200eddfe73d1b2 at mail.gmail.com>, Varun saraf >>> wrote: >>>> I am using mapserver 5.0 with google maps and the data source is the >>>> US Census tracts as shape files and dbf files. >>>> >>>> On Thu, May 28, 2009 at 2:12 PM, Steve Lime >>>> wrote: >>>>> What version are you using? What data source? >>>>> >>>>> Steve >>>>> >>>>>>>> On 5/28/2009 at 10:01 AM, in message >>>>> <6db14d250905280801q3660a6a7ycbcd5f5a238c595c at mail.gmail.com>, Varun saraf >>>>> wrote: >>>>>> Hi, >>>>>> >>>>>> I know mapserver uses a point-in-polygon method to find a feature >>>>>> given a set of co-ordinates, but can it do the same thing reversed? >>>>>> For example. Each polygon I draw has a number associated with it which >>>>>> is in a "dbf" file with the same name as the "shp" file that mapserver >>>>>> uses to draw the polygons. My current map file allows me to fetch that >>>>>> unique number whenever I pass the co-ordinates of any point inside >>>>>> that polygon (mapserver uses the point-in-polygon method to fetch me >>>>>> the polygonID). The query I use is >>>>>> >>>>>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa >>>>>> p.map&mode=query&mapxy=-77.098617 >>>>>> 38.87795 >>>>>> >>>>>> where mapxy keeps changing based on the user's click. The html >>>>>> template I send just has the variable name [polygonID] which helps me >>>>>> get the polygon ID of the point I specify in the mapxy variable. Now, >>>>>> is there a way in which I can send this polygonID to mapserver and get >>>>>> hold of any point (perhaps the centroid) inside of this polygon? Can >>>>>> someone point me in the right direction here? >>>>>> >>>>>> Thanks a lot. >>>>>> >>>>>> -Varun >>>>>> _______________________________________________ >>>>>> mapserver-users mailing list >>>>>> mapserver-users at lists.osgeo.org >>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From vsaraf.gmu at gmail.com Tue Jun 2 13:40:22 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Tue, 2 Jun 2009 16:40:22 -0400 Subject: [mapserver-users] Finding the centroid given the feature In-Reply-To: <6db14d250906021316o47a1ed6i43aadf17d04dbea3@mail.gmail.com> References: <6db14d250905280801q3660a6a7ycbcd5f5a238c595c@mail.gmail.com> <4A1E8DBD.5157.008F.0@dnr.state.mn.us> <6db14d250905290732pb01747wce200eddfe73d1b2@mail.gmail.com> <4A23EF98.5157.008F.0@dnr.state.mn.us> <6db14d250906021017kb56f49ak36b4d0e4be417152@mail.gmail.com> <4A252008.5157.008F.0@dnr.state.mn.us> <6db14d250906021316o47a1ed6i43aadf17d04dbea3@mail.gmail.com> Message-ID: <6db14d250906021340l7d4c49c4g66aa0739ad9f2381@mail.gmail.com> I had my mapfile extent changed and it worked "Perfect". Thanks a lot Steve. It was a great help! On Tue, Jun 2, 2009 at 4:16 PM, Varun saraf wrote: > Thanks a lot Steve. I am able to use the itemquery to fetch the other > attributes correctly but somehow, the center of polygon isn't working > right. Its returning to me, the co-ordinates that are outside the > bounds of the mapping application. All my data is in the actual > geographic co-ordinate system followed by Google maps and it returns a > latitude/longitude pair corresponsing to some place in Antarctica. Any > idea on what might be wrong? > > On Tue, Jun 2, 2009 at 1:50 PM, Steve Lime wrote: >> Yes, you'd need to create a template for that. You could return JSON, XML, csv or whatever. This would >> be the most straightfoward using 5.2 or ideally 5.4.1 (due out today) and the new style templates. You >> could create a template output format to use like so: >> >> OUTPUTFORMAT >> ?NAME 'geom_center' >> ?DRIVER 'TEMPLATE' >> ?MIMETYPE 'text/plain' >> ?FORMATOPTION 'FILE=geom_center.tmpl' >> END >> >> where geom_center.tmpl might look like: >> >> >> [shpmidx],[shpmidy] >> >> and your query would look like: >> >> http://.../cgi-bin/mapserv?map=foo.map&...itemquery stuff...&qformat=geom_center >> >> Steve >> >>>>> On 6/2/2009 at 12:17 PM, in message >> <6db14d250906021017kb56f49ak36b4d0e4be417152 at mail.gmail.com>, Varun saraf >> wrote: >>> Center of the geometry works perfect. I need to get access to any >>> point inside the polygon feature. I believe I can use an itemQuery on >>> mapserver to query the attribute but how does mapserver return the >>> center point? Do I need to create an HTML template for that too? >>> >>> On Mon, Jun 1, 2009 at 4:11 PM, Steve Lime wrote: >>>> MapServer templates can produce a center point for a geometry but it's not a >>> true centroid but those >>>> aren't guaranteed to be "in" the polygon. MapScript could be used as well I >>> suppose. In either case you'd >>>> send a lookup request to the CGI or MapScript, do an attribute query and >>> return whatever you'd need. >>>> >>>> Steve >>>> >>>>>>> On 5/29/2009 at 9:32 AM, in message >>>> <6db14d250905290732pb01747wce200eddfe73d1b2 at mail.gmail.com>, Varun saraf >>>> wrote: >>>>> I am using mapserver 5.0 with google maps and the data source is the >>>>> US Census tracts as shape files and dbf files. >>>>> >>>>> On Thu, May 28, 2009 at 2:12 PM, Steve Lime >>>>> wrote: >>>>>> What version are you using? What data source? >>>>>> >>>>>> Steve >>>>>> >>>>>>>>> On 5/28/2009 at 10:01 AM, in message >>>>>> <6db14d250905280801q3660a6a7ycbcd5f5a238c595c at mail.gmail.com>, Varun saraf >>>>>> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I know mapserver uses a point-in-polygon method to find a feature >>>>>>> given a set of co-ordinates, but can it do the same thing reversed? >>>>>>> For example. Each polygon I draw has a number associated with it which >>>>>>> is in a "dbf" file with the same name as the "shp" file that mapserver >>>>>>> uses to draw the polygons. My current map file allows me to fetch that >>>>>>> unique number whenever I pass the co-ordinates of any point inside >>>>>>> that polygon (mapserver uses the point-in-polygon method to fetch me >>>>>>> the polygonID). The query I use is >>>>>>> >>>>>>> http://127.0.0.1:8123/cgi-bin/mapserv.exe?&map=C:/ms4w/apps/workshop-5.0/testMa >>>>>>> p.map&mode=query&mapxy=-77.098617 >>>>>>> 38.87795 >>>>>>> >>>>>>> where mapxy keeps changing based on the user's click. The html >>>>>>> template I send just has the variable name [polygonID] which helps me >>>>>>> get the polygon ID of the point I specify in the mapxy variable. Now, >>>>>>> is there a way in which I can send this polygonID to mapserver and get >>>>>>> hold of any point (perhaps the centroid) inside of this polygon? Can >>>>>>> someone point me in the right direction here? >>>>>>> >>>>>>> Thanks a lot. >>>>>>> >>>>>>> -Varun >>>>>>> _______________________________________________ >>>>>>> mapserver-users mailing list >>>>>>> mapserver-users at lists.osgeo.org >>>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > From gonzalo at sepp0.com.ar Tue Jun 2 16:56:17 2009 From: gonzalo at sepp0.com.ar (Gonzalo Lionel Rodriguez) Date: Tue, 2 Jun 2009 20:56:17 -0300 Subject: [mapserver-users] White Picture Message-ID: Hi everyone, I have a problem with my mapserver when i test the map, with shp2img i have this error: # ./shp2img -m /home/orsep/public_html/gis/mapoteca/presas_gis/presas_gis.map -o /home/orsep/public_html/gis/tocado.png -all_debug 3 [Tue Jun 2 20:53:25 2009].653282 msLoadMap(): 0.002s [Tue Jun 2 20:53:25 2009].655864 msDrawRasterLayerLow(Argentina): entering. [Tue Jun 2 20:53:25 2009].656424 msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg [Tue Jun 2 20:53:25 2009].656438 Unable to open file argentina_gg for layer Argentina ... fatal error. [Tue Jun 2 20:53:25 2009].663669 msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'. msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'.
msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg
The layer configuration is: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS ON PROJECTION 'init=epsg:4326' END TYPE RASTER TRANSPARENCY 50 TOLERANCE 7 TOLERANCEUNITS pixels METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'WMSTitel' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END #METADATA END #LAYER Any idea? Regards From David.Fawcett at state.mn.us Tue Jun 2 20:37:00 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 2 Jun 2009 22:37:00 -0500 Subject: [mapserver-users] White Picture In-Reply-To: Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA55F@s-sp22.pca.state.mn.us> It sounds like MapServer can't find the raster that you are using as the data source for your layer. Have you set a SHAPEPATH at the MAP level? I am guessing that you either need to put the path to your raster in SHAPEPATH, or put the absolute path to your raster in the LAYER DATA statement. If you have a file named 'argentina_gg' in the same directory as your map file or you have correctly specified the path and file name correctly, it could be a permissions issue. David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Gonzalo Lionel Rodriguez Sent: Tuesday, June 02, 2009 6:56 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] White Picture Hi everyone, I have a problem with my mapserver when i test the map, with shp2img i have this error: # ./shp2img -m /home/orsep/public_html/gis/mapoteca/presas_gis/presas_gis.map -o /home/orsep/public_html/gis/tocado.png -all_debug 3 [Tue Jun 2 20:53:25 2009].653282 msLoadMap(): 0.002s [Tue Jun 2 20:53:25 2009].655864 msDrawRasterLayerLow(Argentina): entering. [Tue Jun 2 20:53:25 2009].656424 msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg [Tue Jun 2 20:53:25 2009].656438 Unable to open file argentina_gg for layer Argentina ... fatal error. [Tue Jun 2 20:53:25 2009].663669 msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'. msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'.
msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg
The layer configuration is: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS ON PROJECTION 'init=epsg:4326' END TYPE RASTER TRANSPARENCY 50 TOLERANCE 7 TOLERANCEUNITS pixels METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'WMSTitel' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END #METADATA END #LAYER Any idea? Regards _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Jukka.Rahkonen at mmmtike.fi Tue Jun 2 21:54:02 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Wed, 3 Jun 2009 07:54:02 +0300 Subject: [mapserver-users] White Picture References: Message-ID: Hi, Mapserver does not find your image. Try with an full image name starting with driwe letter in DATA. By the way, Is Argentina_gg for sure the name of your raster image? -Jukka Rahkonen- Gonzalo Lionel Rodriguez wrote: Hi everyone, I have a problem with my mapserver when i test the map, with shp2img i have this error: # ./shp2img -m /home/orsep/public_html/gis/mapoteca/presas_gis/presas_gis.map -o /home/orsep/public_html/gis/tocado.png -all_debug 3 [Tue Jun 2 20:53:25 2009].653282 msLoadMap(): 0.002s [Tue Jun 2 20:53:25 2009].655864 msDrawRasterLayerLow(Argentina): entering. [Tue Jun 2 20:53:25 2009].656424 msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg [Tue Jun 2 20:53:25 2009].656438 Unable to open file argentina_gg for layer Argentina ... fatal error. [Tue Jun 2 20:53:25 2009].663669 msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'. msDrawMap(): Image handling error. Failed to draw layer named 'Argentina'.
msDrawRaster(): Unable to access file. argentina_gg using full path argentina_gg
The layer configuration is: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS ON PROJECTION 'init=epsg:4326' END TYPE RASTER TRANSPARENCY 50 TOLERANCE 7 TOLERANCEUNITS pixels METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'WMSTitel' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END #METADATA END #LAYER Any idea? Regards _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From temiz at deprem.gov.tr Wed Jun 3 01:25:01 2009 From: temiz at deprem.gov.tr (orkun) Date: Wed, 03 Jun 2009 11:25:01 +0300 Subject: [mapserver-users] grid in utm format Message-ID: <1244017501.6205.7.camel@orkun-desktop> Hello I couldn't manage GRID layer and graticules in "UTM" projection. After zooming, format of graticule labels is having a unwanted looks like xe+xx. I would like to see it as "xxxxxx.xx" format. how can I do this ? regards -- Ahmet Temiz Jeo. M?h. Afet ??leri Gen. Md.l??? Deprem Ar. D. Ahmet Temiz Geo. Eng. General Dir. of Disaster Affairs TURKEY -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From nelson.branco at co.sapo.pt Wed Jun 3 03:37:07 2009 From: nelson.branco at co.sapo.pt (Nelson Branco) Date: Wed, 3 Jun 2009 11:37:07 +0100 Subject: [mapserver-users] Non stoping generation In-Reply-To: <4A2563E2.2000301@mapgears.com> References: <53B3A4AEEC2D3842BDEE7ABAB93320EF02386D452D07@SPOLSBEX04.sapo.corppt.com> <4A2563E2.2000301@mapgears.com> Message-ID: <4A265253.4050105@co.sapo.pt> Hi Alexandre, the Web server I'am mentioning is the MapServer Web Server. I can observe the mapserv process running by more than 5 minutes (of CPU time at 100%). So, that doesn't seem to be the problem. Thanks any way. Meantime, I isolate the problem even more, I find that the "similiar" request direct to MapServer worked, the difference is that TileCache is configured do add a extent of 20px to eliminate miss match tile junctions. However, the same request with that extra size direct to MapServer also run forever... Here is the URLs: - Faling one with extent: http://127.0.0.1:8881/cgi-bin/mapserv.exe?map=mapfile.map &transparent=true &layers=mylayer &styles= &service=WMS &width=552 &format=image%2Fpng &request=GetMap &height=552 &srs=epsg%3A900913 &version=1.1.1 &bbox=-916644.789907%2C5099560.83129%2C-916315.155222%2C5099890.46597 - Successful without extent: http://127.0.0.1:8881/cgi-bin/mapserv.exe?map=mapfile.map &transparent=false &layers=mylayer &styles= &service=WMS &width=512 &format=image%2Fpng &request=GetMap &height=512 &srs=epsg%3A900913 &version=1.1.1 &bbox=-916632.846621%2C5099572.77457%2C-916327.098508%2C5099878.52268 Any more ideas? Nelson Branco Alexandre Dube wrote: > Hi, > > That looks like a TileCache problem. Try the TileCache mailing list. > > Do you use a MapServerLayer in your tilecache.cfg ? If so, use WMSLayer > instead. > > Alexandre > > Nelson Branco wrote: > >> I have a problem generating a few images, tiles with TileCache, that >> run ?forever? until Web server timed out (after more than 5 minutes). >> >> The tiles failing are a rare occurrence, 1 in a half million or so, >> and all in zoom level with a resolution of 0.29858214168548585 in >> epsg:900913 projection (very close zoom, the roads are about 50px wide). >> >> Any idea to solve the problem or to help identifying it? >> >> Thanks. >> >> Nelson Branco >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > From npj at i-gis.dk Wed Jun 3 04:07:50 2009 From: npj at i-gis.dk (Niels-Peter Jensen) Date: Wed, 3 Jun 2009 13:07:50 +0200 Subject: [mapserver-users] cSharp Mapscript to support WMS 1.3.0 Message-ID: <048CC8218BEC4BACBDE11F5BA467F300@T61p> As far as I can tell the 5.4 release should include wms 1.3.0 support. I have been trying to use the mapscript csharp to do some WMS 1.3.0 mapping. But it seems that the binaries I am using are to old. I have downloaded the most recent ms4win package, but is still getting : msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION parameter in the connection string). Does anybody know if mapscript supports wms 1.3.0 and eventually where to get cSharp binaries ? Thanks Niels-Peter From szekerest at gmail.com Wed Jun 3 04:53:09 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Wed, 3 Jun 2009 13:53:09 +0200 Subject: [mapserver-users] cSharp Mapscript to support WMS 1.3.0 In-Reply-To: <048CC8218BEC4BACBDE11F5BA467F300@T61p> References: <048CC8218BEC4BACBDE11F5BA467F300@T61p> Message-ID: Hi Niels-Peter, In my understanding wms 1.3.0 support have been incorporated in the WMS server at the moment, and perhaps you use a WMS layer in this case. You might want to file a ticket to have this option added to the WMS client requests as well. You can anyway find daily build binary packages downloadable from this location containing the most recent features in the stable and development versions for various compilers and architectures. http://vbkto.dyndns.org:1280/sdk/Default.aspx Best regards, Tamas 2009/6/3 Niels-Peter Jensen > As far as I can tell the 5.4 release should include wms 1.3.0 support. > > I have been trying to use the mapscript csharp to do some WMS 1.3.0 > mapping. > But it seems that the binaries I am using are to old. I have downloaded the > most recent ms4win package, but is still getting : > msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS > 1.0.0 to 1.1.1 (please verify the VERSION parameter in the connection > string). > > Does anybody know if mapscript supports wms 1.3.0 and eventually where to > get cSharp binaries ? > > Thanks > > Niels-Peter > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Fawcett at state.mn.us Wed Jun 3 06:44:06 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Wed, 3 Jun 2009 08:44:06 -0500 Subject: [mapserver-users] White Picture In-Reply-To: Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA560@s-sp22.pca.state.mn.us> Gonzalo, It looks like you have corrected the original error. You were trying to use a shape file as the data source for a raster layer. Now, you have changed the layer type to polygon and you are getting a different error. You also didn't mention that you were using pmapper. I recommend stripping down your map file to the bare case needed to get it working. Then, you can add back complexity and determine if the problem lies in your map file or if it is somewhere else. Try using something like this for your layer definition: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS DEFAULT TYPE Polygon CLASS NAME 'Argentina' STYLE OUTLINECOLOR 129 0 0 END #STYLE END #CLASS END #LAYER This assumes that you have SHAPEPATH '/home/orsep/public_html/gis/mapoteca/presas_gis/data/' in your map file. Also, for testing purposes, get rid of all of the other layers in your map file and take any projection info out of your map file. Then, either use shp2img or a simple mode=map call to mapserver CGI to test your map file. e.g. http://127.0.0.1/cgi-bin/mapserv?mode=map&map=/home/orsep/public_html/gis/mapoteca/presas_gis/argentina.map (Of course, you will have to modify this to point to the correct domain/ip and use the correct name of your map file.) David. -----Original Message----- From: Gonzalo Lionel Rodriguez [mailto:gonzalo at sepp0.com.ar] Sent: Tuesday, June 02, 2009 10:56 PM To: Fawcett, David Subject: Re: [mapserver-users] White Picture Hi David, The sharedpath in .map is: SHAPEPATH '/home/orsep/public_html/gis/mapoteca/presas_gis/data/' There are this files: -rw-r--r-- 1 orsep orsep 5216 Apr 26 2007 argentina_gg.dbf -rw-r--r-- 1 orsep orsep 636 Apr 26 2007 argentina_gg.sbn -rw-r--r-- 1 orsep orsep 172 Apr 26 2007 argentina_gg.sbx -rw-r--r-- 1 orsep orsep 1510004 Apr 26 2007 argentina_gg.shp -rw-r--r-- 1 orsep orsep 348 Apr 26 2007 argentina_gg.shx If in the .map set this: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS on TYPE Polygon TRANSPARENCY 50 TOLERANCE 7 TOLERANCEUNITS pixels METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'WMSTitel' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END #METADATA PROJECTION 'init=epsg:4326' END CLASSITEM 'NOMBRE' CLASS NAME 'Argentina_gg.shp' EXPRESSION /./ STYLE #COLOR 129 0 0 OUTLINECOLOR 129 0 0 END #STYLE END #CLASS END #LAYER I have a Internal server error whit this apache error_log message: [Tue Jun 2 23:30:37 2009] [error] [client 190.190.4.193] Premature end of script headers: /home/orsep/public_html/gis/map.phtml [Tue Jun 2 23:33:19 2009] [error] [client 190.190.4.193] Premature end of script headers: /home/orsep/public_html/gis/map.phtml If in the .map set this: LAYER NAME 'Argentina' DATA 'argentina_gg' STATUS on TYPE Polygon TRANSPARENCY 50 TOLERANCE 7 TOLERANCEUNITS pixels METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'WMSTitel' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END #METADATA PROJECTION 'init=epsg:4326' END # CLASSITEM 'NOMBRE' # CLASS # NAME 'Argentina_gg.shp' # EXPRESSION /./ # STYLE #COLOR 129 0 0 # OUTLINECOLOR 129 0 0 # END #STYLE # END #CLASS END #LAYER Pmapper works, but dont draw. And no apache error. Please help me :( 2009/6/3 Fawcett, David : > It sounds like MapServer can't find the raster that you are using as > the data source for your layer. ?Have you set a SHAPEPATH at the MAP > level? I am guessing that you either need to put the path to your > raster in SHAPEPATH, or put the absolute path to your raster in the > LAYER DATA statement. > > If you have a file named 'argentina_gg' in the same directory as your > map file or you have correctly specified the path and file name > correctly, it could be a permissions issue. > > David. > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Gonzalo > Lionel Rodriguez > Sent: Tuesday, June 02, 2009 6:56 PM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] White Picture > > > Hi everyone, > > I have a problem with my mapserver when i test the map, with shp2img i > have this error: > > # ./shp2img -m > /home/orsep/public_html/gis/mapoteca/presas_gis/presas_gis.map > -o /home/orsep/public_html/gis/tocado.png -all_debug 3 > [Tue Jun ?2 20:53:25 2009].653282 msLoadMap(): 0.002s > [Tue Jun ?2 20:53:25 2009].655864 msDrawRasterLayerLow(Argentina): > entering. [Tue Jun ?2 20:53:25 2009].656424 msDrawRaster(): Unable to > access file. argentina_gg using full path argentina_gg [Tue Jun ?2 > 20:53:25 2009].656438 Unable to open file argentina_gg for layer > Argentina ... fatal error. [Tue Jun ?2 20:53:25 2009].663669 > msDrawMap(): Image handling error. Failed to draw layer named > 'Argentina'. > msDrawMap(): Image handling error. Failed to draw layer named > 'Argentina'.
> msDrawRaster(): Unable to access file. argentina_gg using full path > argentina_gg
> > The layer configuration is: > > LAYER > ?NAME 'Argentina' > ?DATA 'argentina_gg' > ?STATUS ON > ?PROJECTION > ?'init=epsg:4326' > ?END > > ?TYPE RASTER > ?TRANSPARENCY 50 > ?TOLERANCE 7 > ?TOLERANCEUNITS pixels > > ?METADATA > ?WMS_SRS ?'epsg:4326' > ?WMS_TITLE 'WMSTitel' > ?WMS_FEATURE_INFO_MIME_TYPE 'text/html' > ?END #METADATA > > END #LAYER > > > Any idea? > > Regards > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From yassefa at dmsolutions.ca Wed Jun 3 06:58:09 2009 From: yassefa at dmsolutions.ca (Yewondwossen Assefa) Date: Wed, 03 Jun 2009 09:58:09 -0400 Subject: [mapserver-users] cSharp Mapscript to support WMS 1.3.0 In-Reply-To: References: <048CC8218BEC4BACBDE11F5BA467F300@T61p> Message-ID: <4A268171.1020307@dmsolutions.ca> Tamas Szekeres wrote: > Hi Niels-Peter, > > In my understanding wms 1.3.0 support have been incorporated in the WMS > server at the moment, and perhaps you use a WMS layer in this case. You > might want to file a ticket to have this option added to the WMS client > requests as well. > WMS 1.3.0 for Mapserver acting as a client is not yet supported. I have entered a enhancement ticket (http://trac.osgeo.org/mapserver/ticket/3039) on it and will implement it in the coming weeks and It should be available for the next MapServer release. Best Regards -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From Steve.Lime at dnr.state.mn.us Wed Jun 3 08:08:33 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Wed, 03 Jun 2009 10:08:33 -0500 Subject: [mapserver-users] MapServer Version 5.4.1 Source Released Message-ID: <4A264BA0.5157.008F.0@dnr.state.mn.us> Hi all: I'm pleased to announce that MapServer version 5.4.1 is available. The source code is available at: http://mapserver.org/download.html Binary distributions will follow shortly. This is a maintenance release that fixes a number of bugs found in the 5.4.0. No new functionality has been added. The full 5.4.1 change log can be found at: http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-1/mapserver/HISTORY.TXT Steve From djutopie at hotmail.com Wed Jun 3 08:54:18 2009 From: djutopie at hotmail.com (djutopie) Date: Wed, 3 Jun 2009 08:54:18 -0700 (PDT) Subject: [mapserver-users] User session and new layer Message-ID: <1244044458614-3019120.post@n2.nabble.com> Hi everybody, I m working on a mapserver project, but i'm stuck. I'm adding dynamically a new layer via $newlayer=ms_newLayerObj($map); but when i'm refreshing the map, the layer disappear... Is there a way to keep all new layers added to the map until the end of the user's session? Thanks for the help! Julien. -- View this message in context: http://n2.nabble.com/User-session-and-new-layer-tp3019120p3019120.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Tim.Nolte at ipcswirelessinc.com Wed Jun 3 08:56:29 2009 From: Tim.Nolte at ipcswirelessinc.com (Nolte, Tim) Date: Wed, 3 Jun 2009 11:56:29 -0400 Subject: [mapserver-users] Zoom Level Layer Changes In-Reply-To: <4A264BA0.5157.008F.0@dnr.state.mn.us> References: <4A264BA0.5157.008F.0@dnr.state.mn.us> Message-ID: OK, wondering if anyone has encountered this situation, and what I'm trying to accomplish. I have two groups of layers "Propagations" and "Coverage". The "Coverage" layers are on by default when first viewing the initial extents, the "Propagations" layers are off by default. The "Propagations" layers have a min/max scale of: MINSCALE 0 MAXSCALE 1200000 The "Coverage" layers can be on at any scale. Now here is what I want to accomplish. When the users first loads the map I still want the "Coverage" layers to be ON and when the user zooms to a scale of 1200000 or below I want the "Coverage" layers turned off and the "Propagations" layers turned on. Now here's the catch, I still want the user to be able to turn the "Coverage" layers back on at a scale of 1200000 or less. I tried adding a "STATUS" option at the CLASS level which didn't really work. I'm not sure if the only way to accomplish something like this is with duplicating the layer definitions with different scales and status? - Tim ---- Timothy J Nolte - tnolte at ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com From Doug_Newcomb at fws.gov Wed Jun 3 09:09:02 2009 From: Doug_Newcomb at fws.gov (Doug_Newcomb at fws.gov) Date: Wed, 3 Jun 2009 12:09:02 -0400 Subject: [mapserver-users] Using mapserver to print a large "plotter" sized image In-Reply-To: Message-ID: Robert, I've set maxsize to 24000 in my .map file to plot WMS layers at 600dpi on a 40" wide plot without a problem. Doug Doug Newcomb USFWS Raleigh, NC 919-856-4520 ext. 14 doug_newcomb at fws.gov --------------------------------------------------------------------------------------------------------- The opinions I express are my own and are not representative of the official policy of the U.S.Fish and Wildlife Service or Dept. of Interior. Life is too short for undocumented, proprietary data formats. Michael Smith To Sent by: Robert Hicks , mapserver-users-b , ounces at lists.osge o.org cc Subject 06/01/2009 12:50 Re: [mapserver-users] Using PM mapserver to print a large "plotter" sized image Robert, To increase the maximum size that MapServer will generate, add the MAXSIZE keyword to you mapfile (in the MAP section) eg MAXSIZE 8000 See more here ( http://mapserver.org/mapfile/map.html ) Mike On 6/1/09 12:47 PM, "Robert Hicks" wrote: Hello all, I am trying to figure out a way I can use Mapserver to print out a large image, one that will look good coming off a plotter (probably around 300 dpi). There is an open ticket ( http://mapserver.org/development/rfc/ms-rfc-55.html)?for something somewhat related but it offers some good advice on what I am trying to do, however the maximum size that Mapserver allows you to request is 2048 x 2048, and my current viewport is 757 which scales like:?757 (old size) * 300 (new resolution that is good for 300 dpi according to ticket) / 72 (old resolution) =?3154.1666666666666666666666666667 which is way to big to request from Mapserver. Does anyone have experience with this? Thanks! _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic16512.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From m.kofahl at gmx.net Wed Jun 3 11:31:31 2009 From: m.kofahl at gmx.net (Martin Kofahl) Date: Wed, 03 Jun 2009 20:31:31 +0200 Subject: [mapserver-users] mapserv with fast-cgi Message-ID: <4A26C183.8010508@gmx.net> Hi, I have mapserv with fast-cgi support running on a 4-cpu linux box with apache2 + mod_fastcgi. I used apaches ab (with 20+ concurrent requests) to compare between fcgi and cgi. While mapserv as cgi appeared a couple of times on the process monitor using about 4x100% cpu, there was only one mapserv process launched by the fcgid deamon using about 1x80% cpu. Performance results are accordingly. FastCgiConfig is taken from http://mapserver.org/optimization/fastcgi.html and minProcesses is '2' (but I still see one only). Raw data for this test are in tiff format, no pgsql. Is mapserv-cgi expected to be faster than -fcgi? Martin From djutopie at hotmail.com Wed Jun 3 13:20:34 2009 From: djutopie at hotmail.com (djutopie) Date: Wed, 3 Jun 2009 13:20:34 -0700 (PDT) Subject: [mapserver-users] I have problem to run then demo PHP applications,pls HELP. In-Reply-To: <1243761408907-3001337.post@n2.nabble.com> References: <1243761408907-3001337.post@n2.nabble.com> Message-ID: <1244060434951-3020807.post@n2.nabble.com> Try with http://127.0.0.1:80/php_ogr/ http://127.0.0.1:80/php_ogr/ -- View this message in context: http://n2.nabble.com/I-have-problem-to-run-then-demo-PHP-applications%2Cpls-HELP.-tp3001337p3020807.html Sent from the Mapserver - User mailing list archive at Nabble.com. From MMaganti at oriongis.com Wed Jun 3 14:29:44 2009 From: MMaganti at oriongis.com (Murty Maganti) Date: Wed, 3 Jun 2009 17:29:44 -0400 Subject: [mapserver-users] C# map script help Message-ID: Hi I am trying to load mapObj using C# mapscript and I get the following error. "The procedure entry point ?open at CNCSJP2File@@UAE?AVCNCSError@@PAG_n at Z could not be located in the dynamic link library libecwj2.dll" The above referenced Dll is present in the executable folder of my application. This is happening on a XP machine. Same application works fine on other XP machines. Appreciate any help. Thanks Murty -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Wed Jun 3 15:31:49 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Thu, 4 Jun 2009 00:31:49 +0200 Subject: [mapserver-users] C# map script help In-Reply-To: References: Message-ID: Strange indeed. Are you sure the Visual Studio runtime is installed on both of the machines? Tamas 2009/6/3 Murty Maganti > Hi > > > > I am trying to load mapObj using C# mapscript and I get the following > error. > > > > ?The procedure entry point ?open at CNCSJP2File@@UAE?AVCNCSError@@PAG_n at Zcould not be located in the dynamic link library libecwj2.dll? > > > > The above referenced Dll is present in the executable folder of my > application. This is happening on a XP machine. Same application works fine > on other XP machines. > > > > Appreciate any help. > > > > Thanks > > Murty > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Phil.Fong at ec.gc.ca Wed Jun 3 15:54:19 2009 From: Phil.Fong at ec.gc.ca (Fong,Phil [Burlington]) Date: Wed, 3 Jun 2009 18:54:19 -0400 Subject: [mapserver-users] MapServer SOS eventtime problems Message-ID: Hi, I'm having some problems in getting an SOS GetObservation request to return back data when an eventtime filter is specified. No data is being returned when I know there should be something. The request is working (i.e., I'm getting data back) when there is no eventtime parameter and also when there is a filter (using result= ) on a non-date field. The data are stored in a SQL Server 2005 database and the connection is done using a OGRVRTDataSource and ODBC. I'm using MapServer 5.2.1 and gdal 1.6 (I believe). Does anyone know of any issues with this setup? Thanks in advance. -Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From pramsey at cleverelephant.ca Wed Jun 3 16:42:37 2009 From: pramsey at cleverelephant.ca (Paul Ramsey) Date: Wed, 3 Jun 2009 16:42:37 -0700 Subject: [mapserver-users] Fwd: Last minute scramble for FOSS4G papers ... In-Reply-To: <4A270860.7070800@lisasoft.com> References: <4A270860.7070800@lisasoft.com> Message-ID: <30fe546d0906031642r120dc75cj598e4ec0eb3b29f2@mail.gmail.com> FYI! Submit!! ---------- Forwarded message ---------- From: Cameron Shorter Date: Wed, Jun 3, 2009 at 4:33 PM Subject: [OSGeo-Discuss] Last minute scramble for FOSS4G papers ... To: OSGeo Discussions Cc: foss4g2009 There are four days left to submit byour Open Source Geospatial Abstracts. Abstracts are due Monday 8 June 2009. If you are a last minute crammer, then now is the time to get your FOSS4G abstracts submitted. http://2009.foss4g.org/presentations/ -- Cameron Shorter Geospatial Systems Architect Tel: +61 (0)2 8570 5050 Mob: +61 (0)419 142 254 From davidn at datalinktech.com.au Wed Jun 3 18:28:29 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 04 Jun 2009 11:28:29 +1000 Subject: [mapserver-users] php mapscript feature request Message-ID: A quick feature request. :-) I've just noticed $imageObj.getBytes() in the perl mapscript implementation and was wondering if equivalent functionality could be implemented for mapscript/php. This is very useful for tiling engines that split up a mapserver produced graphic into tiles (rather than producing smaller tiles individually) without having to write it to disk and reread just to get an in-memory copy of the image. Regards, David From Tom.Kralidis at ec.gc.ca Thu Jun 4 05:23:36 2009 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Thu, 4 Jun 2009 08:23:36 -0400 Subject: [mapserver-users] MapServer SOS eventtime problems In-Reply-To: References: Message-ID: <23842457308FD64AA88A8EE62F2A7D5BD7424F@OntExch3.ontario.int.ec.gc.ca> > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of > Fong,Phil [Burlington] > Sent: Wednesday, 03 June 2009 18:54 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] MapServer SOS eventtime problems > > > Hi, > > I'm having some problems in getting an SOS GetObservation > request to return back data when an eventtime filter is > specified. No data is being returned when I know there should > be something. The request is working (i.e., I'm getting data > back) when there is no eventtime parameter and also when > there is a filter (using result= ) on a > non-date field. > > The data are stored in a SQL Server 2005 database and the > connection is done using a OGRVRTDataSource and ODBC. > I'm using MapServer 5.2.1 and gdal 1.6 (I believe). > > Does anyone know of any issues with this setup? > Phil: eventTime support should be working. Can you email me offlist so we can work through your setup (mapfile, request, etc.). Thanks ..Tom From wal3 at mindspring.com Thu Jun 4 06:43:58 2009 From: wal3 at mindspring.com (Worth Lutz) Date: Thu, 4 Jun 2009 09:43:58 -0400 Subject: [mapserver-users] PHP Mapscript - layer->queryByAttribute problem Message-ID: <4C20B75B43564D69942EDDEB25CC9D5E@Worthlaptop> Using MapServer 5.4.0: I have two shapefile layers in NC State Plane system, one in ft and one in meters. The PROJECTION in the layers allows the map to be drawn correctly. My problem occurs when trying to use PHP mapscript to queryByAttribute. I am locating NC counties from two different shapefiles. Using the layer which is the same projection at the map there is no problem. Using the other layer, the bounds of the query result appear to be in meters and not ft. Is this normal? Do I have to make the conversion? Using mapserver 5.4.0 PHP mapscript: $ms = ms_newMapObj( $mapfile ); $ms->setSize($mapVpWidth,$mapVpHeight); $groupnames = $ms->getAllGroupNames(); for($i=0; $i < sizeof($layerNames); $i++) { if(in_array($layerNames[$i],$groupnames)) { $layerIndexes = $ms->getLayersIndexByGroup($layerNames[$i]); for($j=0; $j < sizeof($layerIndexes); $j++) { $layer = $ms->getLayer($layerIndexes[$j]); $layer->set("status", MS_ON); } } else { $layer = $ms->getLayerByName($layerNames[$i]); $layer->set("status", MS_ON); } } $layer = $ms->getLayerByName($layername); $layer->set('status', MS_ON); $layer->queryByAttributes($attribute, $expression, MS_MULTIPLE); $numresults = $layer->getNumResults(); if ($numresults < 1) { $err->msg = 'No results in '.$layername.' for '.$attribute.' = '.$expression.'.'; $error = true; } else { $result = $layer->getResult(0); $layer->open(); $shapeObj = $layer->getFeature($result->shapeindex); $layer->close(); $minx = $shapeObj->bounds->minx; $miny = $shapeObj->bounds->miny; $maxx = $shapeObj->bounds->maxx; $maxy = $shapeObj->bounds->maxy; $ms->setExtent( $minx, $miny, $maxx, $maxy ); $img = $ms->drawquery(); $tmpMapImg = $img->saveWebImage(); } *Layer data from mapfile: LAYER NAME "county_outlines" TYPE POLYGON MINSCALE 1200 MAXSCALEDENOM 3750001 STATUS off PROJECTION "init=epsg:2264" # NAD 83 North Carolina (ftUS) END DATA CountyBoundaryShoreline TEMPLATE void CLASS NAME "county lines" STYLE OUTLINECOLOR 128 128 128 END END END LAYER NAME "county_outlines2" TYPE POLYGON MINSCALE 1200 MAXSCALEDENOM 3750001 STATUS off PROJECTION "init=epsg:32119" # NAD 83 North Carolina (meters US) END DATA cb100_poly TEMPLATE void LABELITEM "co_name" LABELMAXSCALEDENOM 1500000 LABELMINSCALEDENOM 100000 CLASS NAME "cb100_poly" STYLE OUTLINECOLOR 200 0 0 END LABEL COLOR 0 0 0 #SHADOWCOLOR 218 218 218 #SHADOWSIZE 2 2 TYPE BITMAP SIZE tiny POSITION CC PARTIALS FALSE BUFFER 2 END END END From MMaganti at oriongis.com Thu Jun 4 06:57:07 2009 From: MMaganti at oriongis.com (Murty Maganti) Date: Thu, 4 Jun 2009 09:57:07 -0400 Subject: [mapserver-users] C# map script help In-Reply-To: References: Message-ID: Hi It is resolved now. I had an earlier version of the same DLL in system32 folder, though not sure how it ended up there. After removing it, it works fine. Thanks Murty From: Tamas Szekeres [mailto:szekerest at gmail.com] Sent: Wednesday, June 03, 2009 6:32 PM To: Murty Maganti Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] C# map script help Strange indeed. Are you sure the Visual Studio runtime is installed on both of the machines? Tamas 2009/6/3 Murty Maganti Hi I am trying to load mapObj using C# mapscript and I get the following error. "The procedure entry point ?open at CNCSJP2File@@UAE?AVCNCSError@@PAG_n at Z could not be located in the dynamic link library libecwj2.dll" The above referenced Dll is present in the executable folder of my application. This is happening on a XP machine. Same application works fine on other XP machines. Appreciate any help. Thanks Murty _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlacroix at mapgears.com Thu Jun 4 07:03:49 2009 From: jlacroix at mapgears.com (Julien-Samuel Lacroix) Date: Thu, 04 Jun 2009 10:03:49 -0400 Subject: [mapserver-users] Zoom Level Layer Changes In-Reply-To: References: <4A264BA0.5157.008F.0@dnr.state.mn.us> Message-ID: <4A27D445.5030207@mapgears.com> If you are not using MapScript, I think the easiest way is to add a second coverage layer that is OFF by default and put a MINSCALE 1200000 in the first Coverage layer. Julien Nolte, Tim wrote: > OK, wondering if anyone has encountered this situation, and what I'm > trying to accomplish. I have two groups of layers "Propagations" and > "Coverage". The "Coverage" layers are on by default when first viewing > the initial extents, the "Propagations" layers are off by default. The > "Propagations" layers have a min/max scale of: > > MINSCALE 0 > MAXSCALE 1200000 > > The "Coverage" layers can be on at any scale. Now here is what I want to > accomplish. When the users first loads the map I still want the > "Coverage" layers to be ON and when the user zooms to a scale of 1200000 > or below I want the "Coverage" layers turned off and the "Propagations" > layers turned on. Now here's the catch, I still want the user to be able > to turn the "Coverage" layers back on at a scale of 1200000 or less. I > tried adding a "STATUS" option at the CLASS level which didn't really > work. I'm not sure if the only way to accomplish something like this is > with duplicating the layer definitions with different scales and status? > > - Tim > > ---- > Timothy J Nolte - tnolte at ilpcs.com > Network Planning Engineer > > iPCS Wireless, Inc. > 4717 Broadmoor Ave, Suite G > Kentwood, MI 49512 > > Office: 616-656-5163 > PCS: 616-706-2438 > Fax: 616-554-6484 > Web: www.ipcswirelessinc.com > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Julien-Samuel Lacroix Mapgears http://www.mapgears.com/ From Tim.Nolte at ipcswirelessinc.com Thu Jun 4 07:28:05 2009 From: Tim.Nolte at ipcswirelessinc.com (Nolte, Tim) Date: Thu, 4 Jun 2009 10:28:05 -0400 Subject: [mapserver-users] Zoom Level Layer Changes In-Reply-To: <4A27D445.5030207@mapgears.com> References: <4A264BA0.5157.008F.0@dnr.state.mn.us> <4A27D445.5030207@mapgears.com> Message-ID: Anything that would work with Fusion also? I did just try this setup and as a result end up having multiple different scale layers showing up in the layer control. While for the technical mapping people this isn't a problem I need things to be super simple for non-technical/GIS users. - Tim ---- Timothy J Nolte - tnolte at ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com -----Original Message----- From: Julien-Samuel Lacroix [mailto:jlacroix at mapgears.com] Sent: Thursday, June 04, 2009 10:04 AM To: Nolte, Tim Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Zoom Level Layer Changes If you are not using MapScript, I think the easiest way is to add a second coverage layer that is OFF by default and put a MINSCALE 1200000 in the first Coverage layer. Julien Nolte, Tim wrote: > OK, wondering if anyone has encountered this situation, and what I'm > trying to accomplish. I have two groups of layers "Propagations" and > "Coverage". The "Coverage" layers are on by default when first viewing > the initial extents, the "Propagations" layers are off by default. The > "Propagations" layers have a min/max scale of: > > MINSCALE 0 > MAXSCALE 1200000 > > The "Coverage" layers can be on at any scale. Now here is what I want to > accomplish. When the users first loads the map I still want the > "Coverage" layers to be ON and when the user zooms to a scale of 1200000 > or below I want the "Coverage" layers turned off and the "Propagations" > layers turned on. Now here's the catch, I still want the user to be able > to turn the "Coverage" layers back on at a scale of 1200000 or less. I > tried adding a "STATUS" option at the CLASS level which didn't really > work. I'm not sure if the only way to accomplish something like this is > with duplicating the layer definitions with different scales and status? > > - Tim > > ---- > Timothy J Nolte - tnolte at ilpcs.com > Network Planning Engineer > > iPCS Wireless, Inc. > 4717 Broadmoor Ave, Suite G > Kentwood, MI 49512 > > Office: 616-656-5163 > PCS: 616-706-2438 > Fax: 616-554-6484 > Web: www.ipcswirelessinc.com > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Julien-Samuel Lacroix Mapgears http://www.mapgears.com/ From valemunoz at gmail.com Thu Jun 4 08:03:47 2009 From: valemunoz at gmail.com (=?ISO-8859-1?Q?Valeria_Mu=F1oz?=) Date: Thu, 4 Jun 2009 11:03:47 -0400 Subject: [mapserver-users] help with 3d maps Message-ID: <4b56aefe0906040803s7b9e9267jfb8c76117c2a5efd@mail.gmail.com> hi i would like to work with 3d maps(like google street for NY), but i do not know if can i do it with mapserver and openlayer? what kind of data i need ...3d shapes?..etc thank for the help -------------- next part -------------- An HTML attachment was scrubbed... URL: From saltalungo at gmail.com Thu Jun 4 08:22:27 2009 From: saltalungo at gmail.com (saltalungo) Date: Thu, 4 Jun 2009 08:22:27 -0700 (PDT) Subject: [mapserver-users] MapServer,Mod_python and tilecache Message-ID: <1244128947575-3025358.post@n2.nabble.com> Hi, I'm trying to configure the tilecache on mapserver with mod_python. the components that I have are: Apache 2.2.11 Mod_python 3.3.1 python 2.5 tilecache 2.10 I have a problem displaying the data that are insert inside the file tilecache.cfg when i send the request http://localhost/tilecache/tilecache.py/1.0.0/basic i receive a "Not Found" The requested URL /tilecache/tilecache.py/1.0.0/basic was not found on this server. Is the problem that it can't read the tilecache.cfg? on the httpd.conf of apache i have tthose lines: AddHandler python-program .py PythonHandler TileCache.Service PythonPath "['C:/ms4w/Apache/htdocs/tilecache/'] + sys.path" PythonOption TileCacheConfig "C:/ms4w/Apache/htdocs/tilecache/tilecache.cfg" PythonDebug On Anyone have a idea on where i miss the right? thanx saltalungo -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3025358.html Sent from the Mapserver - User mailing list archive at Nabble.com. From project10 at project10.net Thu Jun 4 08:34:46 2009 From: project10 at project10.net (Shawn Gervais) Date: Thu, 04 Jun 2009 10:34:46 -0500 Subject: [mapserver-users] MapServer,Mod_python and tilecache In-Reply-To: <1244128947575-3025358.post@n2.nabble.com> References: <1244128947575-3025358.post@n2.nabble.com> Message-ID: <4A27E996.8000409@project10.net> > on the httpd.conf of apache i have tthose lines: > > I think this path is incorrect, it should likely read: -S From saltalungo at gmail.com Thu Jun 4 10:18:04 2009 From: saltalungo at gmail.com (saltalungo) Date: Thu, 4 Jun 2009 10:18:04 -0700 (PDT) Subject: [mapserver-users] MapServer,Mod_python and tilecache In-Reply-To: <4A27E996.8000409@project10.net> References: <1244128947575-3025358.post@n2.nabble.com> <4A27E996.8000409@project10.net> Message-ID: <1244135884651-3025963.post@n2.nabble.com> thanx, but if I change that line, the Apache doesn't restart. Shawn Gervais wrote: > >> on the httpd.conf of apache i have tthose lines: >> >> > > I think this path is incorrect, it should likely read: > > > > -S > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3025963.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Steve.Toutant at inspq.qc.ca Thu Jun 4 10:20:16 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Thu, 4 Jun 2009 13:20:16 -0400 Subject: [mapserver-users] WFS data do not load In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA3CD@s-sp22.pca.state.mn.us> Message-ID: Hi, I set a WFS server that I'm pretty sure works correctly since I get a xml file when submitting this to the browser http://geo.inspq.rtss.qc.ca/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante2.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=DLM_shp_wfs2 Don't try it you don't have access to this domain. But when I try to view the data with gaia, gvSig or openLayers I get nothing and can not find a useful log. I guess it is a permission issue to load the data because I don't have any problem to view a WMS from the same mapfile. Any suggestion on where could be the problem? Here is the definition of the wfs layer LAYER NAME 'DLM_shp_wfs2' TYPE POINT DATA 'dlm/dlm_dmh' DUMP true STATUS ON METADATA 'wfs_title' 'DLM en wfs' 'gml_featureid' 'IDBATIMENT' 'gml_include_items' 'all' END PROJECTION "init=epsg:4326" END CLASS STYLE COLOR 0 0 255 SYMBOL 'CIRCLE' SIZE 8 END END #class END Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From zachc1980 at gmail.com Thu Jun 4 11:28:23 2009 From: zachc1980 at gmail.com (zach cruise) Date: Thu, 4 Jun 2009 14:28:23 -0400 Subject: [mapserver-users] mapserver map as wms in google maps - update? Message-ID: i can show mapserver wms in google earth. and i can find a lot of online resources to show mapserver wms in google maps, like http://roadlessland.org/notes/wms-shapefile-example.html, http://n2.nabble.com/Serving-WMS-in-Google-Maps-using-nested-layers-td1989615.html, but it's a little confusing. what's the most up-to-date recommendation considering all upgrades? From erobert_zv at hotmail.com Thu Jun 4 11:55:10 2009 From: erobert_zv at hotmail.com (Elder Robert Zavaleta Veneros) Date: Thu, 4 Jun 2009 13:55:10 -0500 Subject: [mapserver-users] map server + java In-Reply-To: <20090603160025.577E7E019B1@lists.osgeo.org> References: <20090603160025.577E7E019B1@lists.osgeo.org> Message-ID: hola a todos: estoy tratando de desarrollar un proyecto postgist + mapaserver pero como me puedo iteractuar mapsever con java por ejemplo: como cargar un archivo map con codigo java gracias de ante mano Robert _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafael at opengeo.com.br Thu Jun 4 12:03:09 2009 From: rafael at opengeo.com.br (Rafael Almeida Fernandez Soto) Date: Thu, 4 Jun 2009 16:03:09 -0300 Subject: [mapserver-users] map server + java In-Reply-To: References: <20090603160025.577E7E019B1@lists.osgeo.org> Message-ID: <90a5e5b30906041203r13728963q1132722708773ca4@mail.gmail.com> Hola Elder, Trate de estudiar el java Mapscript ! Saludos, Rafael SOto 2009/6/4 Elder Robert Zavaleta Veneros > hola a todos: > estoy tratando de desarrollar un proyecto postgist + mapaserver > pero como me puedo iteractuar mapsever con java > > por ejemplo: > como cargar un archivo map con codigo java > > gracias de ante mano > > Robert > > > ------------------------------ > What can you do with the new Windows Live? Find out > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- RAFAEL Almeida Fernandez Soto :: rafael at opengeo.com.br Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600 OpenGEO :: On-demand training and solutions :: www.opengeo.com.br GEO Livre community:: Because Geoinformation should be free :: www.geolivre.org.br Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS, gvSIG... -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanksje at yahoo.com Thu Jun 4 11:58:11 2009 From: shanksje at yahoo.com (Jennifer Shanks) Date: Thu, 4 Jun 2009 11:58:11 -0700 (PDT) Subject: [mapserver-users] mapserver map as wms in google maps - update? In-Reply-To: References: Message-ID: <339013.18068.qm@web83406.mail.sp1.yahoo.com> Hi Zach, Here's a link to a blog post written by Christopher Schmidt that describes steps for using MapServer WMS and TileCache for generating tiles and displaying them on a Google map: http://crschmidt.net/blog/311/using-tilecache-with-google-maps-and-virtual-earth/ The advantage of using TileCache is the load on your server will be much lighter. If tiles for a requested area have already been generated, they will be served up. If the tiles do not yet exist, they'll be generated and cached. Here's a site that I created following the steps in the blog post: www.parkinfo.org Here's the map javascript I use for loading the a TileCache layer. I use GTileLayers rather than GTileLayerOverlays so that I can create a custom map type with my data layers beneath the Google roads and labels. //create the tile layer var tileParks = new GTileLayer(null,null,null,{ tileUrlTemplate: 'http://www.parkinfo.org/tilecache/tilecache.py/1.0.0/parkinfo_parks/{Z}/{X}/{Y}.png?type=google', isPng:true}); tileParks.getOpacity = function() { return .6; } //create a custom satellite map type with imagery on the bottom, parks tile on top of that, and roads places labels on top. lyr_parks_sat=[G_HYBRID_MAP.getTileLayers()[0],tileParks,G_HYBRID_MAP.getTileLayers()[1]]; lyr_sat=[G_HYBRID_MAP.getTileLayers()[0],G_HYBRID_MAP.getTileLayers()[1]]; parkssat = new GMapType(lyr_parks_sat, G_NORMAL_MAP.getProjection(), "Satellite", {errorMessage:"Data currently unavailable"}); map.addMapType(parkssat); Hope this helps, Jennifer ----- Original Message ---- From: zach cruise To: mapserver-users at lists.osgeo.org Sent: Thursday, June 4, 2009 1:28:23 PM Subject: [mapserver-users] mapserver map as wms in google maps - update? i can show mapserver wms in google earth. and i can find a lot of online resources to show mapserver wms in google maps, like http://roadlessland.org/notes/wms-shapefile-example.html, http://n2.nabble.com/Serving-WMS-in-Google-Maps-using-nested-layers-td1989615.html, but it's a little confusing. what's the most up-to-date recommendation considering all upgrades? _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From no-reply at neogeo-online.net Thu Jun 4 11:08:08 2009 From: no-reply at neogeo-online.net (Guillaume Sueur) Date: Thu, 04 Jun 2009 20:08:08 +0200 Subject: [mapserver-users] MapServer,Mod_python and tilecache In-Reply-To: <1244128947575-3025358.post@n2.nabble.com> References: <1244128947575-3025358.post@n2.nabble.com> Message-ID: <4A280D88.6020808@neogeo-online.net> Hi, Tilecache user-list would have been a more appropriate list to post this problem to, but I can give you a couple of clues. As tilecache readme says (http://tilecache.org/docs/README), you should try : http://example.com/yourdir/tilecache.cgi/1.0.0/basic/0/0/0.png before any tile of the tileset has been drawn, its root directory (basic here) has not been created yet. That's why you get 404 I think. Best regards, Guillaume saltalungo a ?crit : > Hi, > I'm trying to configure the tilecache on mapserver with mod_python. > the components that I have are: > Apache 2.2.11 > Mod_python 3.3.1 > python 2.5 > tilecache 2.10 > > I have a problem displaying the data that are insert inside the file > tilecache.cfg > > when i send the request > http://localhost/tilecache/tilecache.py/1.0.0/basic > i receive a "Not Found" > The requested URL /tilecache/tilecache.py/1.0.0/basic was not found on this > server. > > Is the problem that it can't read the tilecache.cfg? > > on the httpd.conf of apache i have tthose lines: > > > AddHandler python-program .py > PythonHandler TileCache.Service > PythonPath "['C:/ms4w/Apache/htdocs/tilecache/'] + sys.path" > PythonOption TileCacheConfig "C:/ms4w/Apache/htdocs/tilecache/tilecache.cfg" > PythonDebug On > > > > Anyone have a idea on where i miss the right? > > thanx > > saltalungo > > From zachc1980 at gmail.com Thu Jun 4 12:56:02 2009 From: zachc1980 at gmail.com (zach cruise) Date: Thu, 4 Jun 2009 15:56:02 -0400 Subject: [mapserver-users] mapserver map as wms in google maps - update? In-Reply-To: <339013.18068.qm@web83406.mail.sp1.yahoo.com> References: <339013.18068.qm@web83406.mail.sp1.yahoo.com> Message-ID: great site jennifer! unfortunately i can't use tilecache locally because of python. On Thu, Jun 4, 2009 at 2:58 PM, Jennifer Shanks wrote: > > Hi Zach, > > Here's a link to a blog post written by Christopher Schmidt that describes steps for using MapServer WMS and TileCache for generating tiles and displaying them on a Google map: > http://crschmidt.net/blog/311/using-tilecache-with-google-maps-and-virtual-earth/ > > The advantage of using TileCache is the load on your server will be much lighter. ?If tiles for a requested area have already been generated, they will be served up. ?If the tiles do not yet exist, they'll be generated and cached. > > Here's a site that I created following the steps in the blog post: > www.parkinfo.org > > Here's the map javascript I use for loading the a TileCache layer. ?I use GTileLayers rather than GTileLayerOverlays so that I can create a custom map type with my data layers beneath the Google roads and labels. > > ? ?//create the tile layer > ? ?var tileParks = new GTileLayer(null,null,null,{ > ? ?tileUrlTemplate: 'http://www.parkinfo.org/tilecache/tilecache.py/1.0.0/parkinfo_parks/{Z}/{X}/{Y}.png?type=google', > ? ?isPng:true}); > ? ?tileParks.getOpacity = function() { return .6; } > > ? //create a custom satellite map type with imagery on the bottom, parks tile on top of that, and roads places labels on top. > ? ?lyr_parks_sat=[G_HYBRID_MAP.getTileLayers()[0],tileParks,G_HYBRID_MAP.getTileLayers()[1]]; > ? ?lyr_sat=[G_HYBRID_MAP.getTileLayers()[0],G_HYBRID_MAP.getTileLayers()[1]]; > ? ?parkssat = new GMapType(lyr_parks_sat, G_NORMAL_MAP.getProjection(), "Satellite", {errorMessage:"Data currently unavailable"}); > > ? ?map.addMapType(parkssat); > > Hope this helps, > Jennifer > > > > ----- Original Message ---- > From: zach cruise > To: mapserver-users at lists.osgeo.org > Sent: Thursday, June 4, 2009 1:28:23 PM > Subject: [mapserver-users] mapserver map as wms in google maps - update? > > i can show mapserver wms in google earth. and i can find a lot of > online resources to show mapserver wms in google maps, like > http://roadlessland.org/notes/wms-shapefile-example.html, > http://n2.nabble.com/Serving-WMS-in-Google-Maps-using-nested-layers-td1989615.html, > but it's a little confusing. > > what's the most up-to-date recommendation considering all upgrades? > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From peterw at borstad.com Thu Jun 4 13:25:02 2009 From: peterw at borstad.com (Peter Willis) Date: Thu, 04 Jun 2009 13:25:02 -0700 Subject: [mapserver-users] Does Mapserver WMS support '' ? Message-ID: <4A282D9E.5070806@borstad.com> Hello, Does mapserver support the WFS specification 'Dimension' parameters? If so what parameters do we need in the MAP file? Thanks Peter From Tom.Kralidis at ec.gc.ca Thu Jun 4 13:33:54 2009 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Thu, 4 Jun 2009 16:33:54 -0400 Subject: [mapserver-users] Does Mapserver WMS support '' ? In-Reply-To: <4A282D9E.5070806@borstad.com> References: <4A282D9E.5070806@borstad.com> Message-ID: <23842457308FD64AA88A8EE62F2A7D5BD74256@OntExch3.ontario.int.ec.gc.ca> > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of > Peter Willis > Sent: Thursday, 04 June 2009 16:25 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Does Mapserver WMS support '' ? > > Hello, > > Does mapserver support the WFS specification 'Dimension' > parameters? > You mean WMS, I imagine? The only Dimension support in WMS is for Time. > If so what parameters do we need in the MAP file? > See the WMS Time HowTo http://www.mapserver.org/ogc/wms_time.html for more info on configuration. ..Tom From peterw at borstad.com Thu Jun 4 14:10:39 2009 From: peterw at borstad.com (Peter Willis) Date: Thu, 04 Jun 2009 14:10:39 -0700 Subject: [mapserver-users] Does Mapserver WMS support '' ? In-Reply-To: <23842457308FD64AA88A8EE62F2A7D5BD74256@OntExch3.ontario.int.ec.gc.ca> References: <4A282D9E.5070806@borstad.com> <23842457308FD64AA88A8EE62F2A7D5BD74256@OntExch3.ontario.int.ec.gc.ca> Message-ID: <4A28384F.4070506@borstad.com> Kralidis,Tom [Ontario] wrote: > > >> -----Original Message----- >> From: mapserver-users-bounces at lists.osgeo.org >> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of >> Peter Willis >> Sent: Thursday, 04 June 2009 16:25 >> To: mapserver-users at lists.osgeo.org >> Subject: [mapserver-users] Does Mapserver WMS support '' ? >> >> Hello, >> >> Does mapserver support the WFS specification 'Dimension' >> parameters? >> > > You mean WMS, I imagine? Sorry. Yes, WMS is the context. > > The only Dimension support in WMS is for Time. > >> If so what parameters do we need in the MAP file? >> > > See the WMS Time HowTo http://www.mapserver.org/ogc/wms_time.html for > more info on configuration. > > ..Tom > > > I see,.... I guess I could fudge it and enter the MAP file as: "wms_timeitem" "WAVELENGTH" That's a bit goofy though.... Peter From kreshna_iceheart at yahoo.com Thu Jun 4 23:07:30 2009 From: kreshna_iceheart at yahoo.com (kreshna_iceheart at yahoo.com) Date: Thu, 4 Jun 2009 23:07:30 -0700 (PDT) Subject: [mapserver-users] Layer selection checkbox with PHPMapScript? (pardon the noob question) Message-ID: <828892.3473.qm@web110607.mail.gq1.yahoo.com> Hi, I've been tinkering around with PHP MapScript lately, and I start to like it even better than MapServer CGI. However, I'm still at loss at enabling the layer selection checkbox. In MapServer CGI, you create the checkbox with such code: River I have tried Google for sample codes, but couldn't find any. I have tried MapServer.pdf documentation too, and still couldn't find anything useful. However, it seems to me that unlike MapServer CGI, in PHPMapScript we don't have to hardcode each layer's name. Instead, it can dynamically recognize layer names through looping routine. Am I being correct here? Does anyone have sample codes for such purpose? And how about groups? Could PHPMapScript recognize layer groups as well? Many thanks, -Kresh From liste at geo-dienstleistung.de Fri Jun 5 00:43:42 2009 From: liste at geo-dienstleistung.de (Frank Broniewski) Date: Fri, 5 Jun 2009 09:43:42 +0200 Subject: [mapserver-users] WMS Overlay shift Message-ID: <200906050943.42687.liste@geo-dienstleistung.de> Hello list, I am debugging a problem with my WMS server. I am serving administrational boundaries in a national reference system for use in different applications. Just yesterday I noticed a shift of the WMS layer to the east when I overlay the WMS layer with the original shapefile in ArcGIS. The shift is approx. 29m and I have no clue where to start looking for a solution. There is only one projection in the mapfile, and I set the view in ArcGis to the same projection. I checked the projection definition in ArcGis already to see if there is some mismatch but I couldn't find any. So I am rather clueless where to start looking for the reason of the shift. I checked also in OpenJump to see wether this is an ESRI effect, but there is the same shift in OpenJump Any hints are welcome ... Frank From saltalungo at gmail.com Fri Jun 5 02:32:41 2009 From: saltalungo at gmail.com (saltalungo) Date: Fri, 5 Jun 2009 02:32:41 -0700 (PDT) Subject: [mapserver-users] MapServer,Mod_python and tilecache In-Reply-To: <1244135884651-3025963.post@n2.nabble.com> References: <1244128947575-3025358.post@n2.nabble.com> <4A27E996.8000409@project10.net> <1244135884651-3025963.post@n2.nabble.com> Message-ID: <1244194361421-3029309.post@n2.nabble.com> You are in the right, I have change this line and now apache is start again **it's important to not forget to putout "\" after \tilecache!** saltalungo wrote: > > thanx, but > > if I change that line, the Apache doesn't restart. > > > > > Shawn Gervais wrote: >> >>> on the httpd.conf of apache i have tthose lines: >>> >>> >> >> I think this path is incorrect, it should likely read: >> >> >> >> -S >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3029309.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Jukka.Rahkonen at mmmtike.fi Fri Jun 5 02:43:29 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Fri, 5 Jun 2009 12:43:29 +0300 Subject: [mapserver-users] WMS Overlay shift In-Reply-To: <200906050943.42687.liste@geo-dienstleistung.de> References: <200906050943.42687.liste@geo-dienstleistung.de> Message-ID: Hi, It must be related somehow to projections, but could you please give us a bit more information? Do you have a PROJECTION block at MAP level and/or at LAYER level? What do you have in "wms_srs" element in METADATA? -Jukka Rahkonen- > -----Alkuper?inen viesti----- > L?hett?j?: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta > Frank Broniewski > L?hetetty: 5. kes?kuuta 2009 10:44 > Vastaanottaja: mapserver-users at lists.osgeo.org > Aihe: [mapserver-users] WMS Overlay shift > > Hello list, > > I am debugging a problem with my WMS server. I am serving > administrational boundaries in a national reference system > for use in different applications. > > Just yesterday I noticed a shift of the WMS layer to the east > when I overlay the WMS layer with the original shapefile in > ArcGIS. The shift is approx. 29m and I have no clue where to > start looking for a solution. > > There is only one projection in the mapfile, and I set the > view in ArcGis to the same projection. I checked the > projection definition in ArcGis already to see if there is > some mismatch but I couldn't find any. So I am rather > clueless where to start looking for the reason of the shift. > > I checked also in OpenJump to see wether this is an ESRI > effect, but there is the same shift in OpenJump > > Any hints are welcome ... > > Frank > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From liste at geo-dienstleistung.de Fri Jun 5 04:30:27 2009 From: liste at geo-dienstleistung.de (Frank Broniewski) Date: Fri, 5 Jun 2009 13:30:27 +0200 Subject: [mapserver-users] WMS Overlay shift In-Reply-To: <4A28E0B4.8080802@zeelandnet.nl> References: <200906050943.42687.liste@geo-dienstleistung.de> <4A28E0B4.8080802@zeelandnet.nl> Message-ID: <200906051330.27982.liste@geo-dienstleistung.de> Thanks for the answers, finally I found the reason. I had an additional towgs parameter set in the layers projection block. Don't remember why I put it there, but it was causing the shift. I am using init=epsg:2169 as projection definition now as the only projection definition in the maps projection block and things are in place. On Friday 05 June 2009 11:09:08 Milo van der Linden wrote: > Hello Frank, > > The shift probably has to do with the reference ellipsoid, If it is not > defined explicitly in the projection BUT is different from wgs84 you > should define the towgs parameter. > > You can check out a mail discussion describing a wgs84 ellipsoid shift > issue here: > http://postgis.refractions.net/pipermail/postgis-users/2006-October/013571. >html > > perhaps it will clear things. > > You can also check out map projections used in germany in more detail here: > http://www.mapref.org/MapProjectionsDE.html > > It may also help if you post your proj4 string or the EPSG code you use > so we can see the difference. > > Frank Broniewski wrote: > > Hello list, > > > > I am debugging a problem with my WMS server. I am serving > > administrational boundaries in a national reference system for use in > > different applications. > > > > Just yesterday I noticed a shift of the WMS layer to the east when I > > overlay the WMS layer with the original shapefile in ArcGIS. The shift is > > approx. 29m and I have no clue where to start looking for a solution. > > > > There is only one projection in the mapfile, and I set the view in ArcGis > > to the same projection. I checked the projection definition in ArcGis > > already to see if there is some mismatch but I couldn't find any. So I am > > rather clueless where to start looking for the reason of the shift. > > > > I checked also in OpenJump to see wether this is an ESRI effect, but > > there is the same shift in OpenJump > > > > Any hints are welcome ... > > > > Frank > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users From torrycn at gmail.com Sat Jun 6 00:20:38 2009 From: torrycn at gmail.com (=?UTF-8?B?5aS05aSq5pmV?=) Date: Sat, 6 Jun 2009 15:20:38 +0800 Subject: [mapserver-users] If I use wms,the road be problem Message-ID: <5ccd697a0906060020r26b9b393pce6f9b364a5a19a2@mail.gmail.com> Hello friends, I have a question. If I use wms on mapserver, the road will be problem. The style of line: STYLE WIDTH 7 COLOR 0 0 0 ANTIALIAS TRUE END STYLE WIDTH 5 COLOR 255 255 0 ANTIALIAS TRUE END The picture of the map in mail attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: road.jpg Type: image/jpeg Size: 17137 bytes Desc: not available URL: From danlittle at yahoo.com Sat Jun 6 04:53:43 2009 From: danlittle at yahoo.com (Dan Little) Date: Sat, 6 Jun 2009 04:53:43 -0700 (PDT) Subject: [mapserver-users] If I use wms,the road be problem In-Reply-To: <5ccd697a0906060020r26b9b393pce6f9b364a5a19a2@mail.gmail.com> References: <5ccd697a0906060020r26b9b393pce6f9b364a5a19a2@mail.gmail.com> Message-ID: <199047.63722.qm@web51401.mail.re2.yahoo.com> Are you using a tiled map? One created with pmapper or tilecache? ________________________________ From: ??? To: mapserver-users at lists.osgeo.org Sent: Saturday, June 6, 2009 2:20:38 AM Subject: [mapserver-users] If I use wms,the road be problem Hello friends, I have a question. If I use wms on mapserver, the road will be problem. The style of line: STYLE WIDTH 7 COLOR 0 0 0 ANTIALIAS TRUE END STYLE WIDTH 5 COLOR 255 255 0 ANTIALIAS TRUE END The picture of the map in mail attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From snaperski at gmail.com Mon Jun 8 00:27:30 2009 From: snaperski at gmail.com (Raivo Alla) Date: Mon, 8 Jun 2009 10:27:30 +0300 Subject: [mapserver-users] labeling streets Message-ID: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> Hello! I'm stuck in simple-looking problem, but the solution is just hiding somewhere. The question is: how I can label only those line features, whos label does not run over the line like that: http://picasaweb.google.com/snaperski/Ort#5344831130138846050 As street lengths are very different, I cant solve the problem by setting suitable MINFEATURESIZE for respective MINSCALE,MAXSCALE range. All the best, Raivo Alla From cnieman at dmsolutions.ca Mon Jun 8 02:55:16 2009 From: cnieman at dmsolutions.ca (Christy Nieman) Date: Mon, 08 Jun 2009 05:55:16 -0400 Subject: [mapserver-users] labeling streets In-Reply-To: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> References: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> Message-ID: <4A2CE004.5070907@dmsolutions.ca> Hi, You could set MINFEATURESIZE to AUTO and then only the labels that fit on the lines should be drawn. Regards, Christy Raivo Alla wrote: > Hello! > > I'm stuck in simple-looking problem, but the solution is just hiding somewhere. > > The question is: how I can label only those line features, whos label > does not run over the line like that: > > http://picasaweb.google.com/snaperski/Ort#5344831130138846050 > > As street lengths are very different, I cant solve the problem by > setting suitable MINFEATURESIZE for > > respective MINSCALE,MAXSCALE range. > > > All the best, > Raivo Alla > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From carl.brydon at geonet-tech.com Mon Jun 8 06:12:45 2009 From: carl.brydon at geonet-tech.com (cbrydon) Date: Mon, 8 Jun 2009 06:12:45 -0700 (PDT) Subject: [mapserver-users] Need help with ProxyPass configuration, please In-Reply-To: References: Message-ID: <1244466765213-3042849.post@n2.nabble.com> AJ, Did you ever get an answer to you question? I have a similar problem I think. Below is a description of what I am trying to deal with. I'm just getting into Apache and have used IIS for a few small sites. My current situation is that I have Apache and IIS running on the same server with one IP address. IIS is running on port 8080 and Apache is running on port 80. Access to both my apache sites and iis sites work so long as I type in the :8080 for the iis sites. I now have a need for users to no longer type in the port 8080 so I have attempted to add some virtual hosts in my apache vhosts.conf file. Below are the contents of that file... NameVirtualHost 111.111.111.111:80 NameVirtualHost 111.111.111.111:8080 # Apache Site DocumentRoot "/ms4w/Apache/htdocs" ServerName 111.111.111.111 # IIS Site ServerName 111.111.111.111:8080 DocumentRoot F:/Applications/2009/Custom/SomeTown ProxyRequests OFF ProxyPass / http://111.111.111.111:8080/ ProxyPassReverse / http://111.111.111.111:8080/ Access to the apache sites work fine, however access to the IIS sites do not work unless I still type in the :8080. If I replace the IP:port number with * in the VirtualHost tags AND make the IIS Site the first in the list then I can access my IIS sites without typing port 8080 in the URL, however the Apache sites are not accessible. I have also tried the following (among other configurations), but just can't seem to get thiings to work.... NameVirtualHost 111.111.111.111:80 # Apache Site DocumentRoot "/ms4w/Apache/htdocs" ServerName 111.111.111.111 # IIS Site ServerName 111.111.111.111:80 DocumentRoot F:/Applications/2009/Custom/SomeTown ProxyRequests OFF ProxyPass / http://111.111.111.111:8080/ ProxyPassReverse / http://111.111.111.111:8080/ The above code doesn't work either; it seems as though the 2nd virtual host isn't being recognized. SomeTown is actually in F:/Applications/2009/Custom. Below is the output of an error log file. Hope you can help. Thanks, Carl [Thu Jun 04 08:43:07 2009] [notice] Apache/2.2.10 (Win32) configured -- resuming normal operations [Thu Jun 04 08:43:07 2009] [notice] Server built: Oct 10 2008 12:39:04 [Thu Jun 04 08:43:07 2009] [notice] Parent: Created child process 844 [Thu Jun 04 08:43:07 2009] [notice] Child 844: Child process is running [Thu Jun 04 08:43:07 2009] [notice] Child 844: Acquired the start mutex. [Thu Jun 04 08:43:07 2009] [notice] Child 844: Starting 64 worker threads. [Thu Jun 04 08:43:07 2009] [notice] Child 844: Starting thread to listen on port 80. [Thu Jun 04 08:43:23 2009] [error] [client 111.111.111.111] File does not exist: C:/ms4w/Apache/htdocs/SomeTown [Thu Jun 04 08:43:28 2009] [error] [client 111.111.111.111] File does not exist: C:/ms4w/Apache/htdocs/SomeTown -- View this message in context: http://n2.nabble.com/Need-help-with-ProxyPass-configuration%2C-please-tp1972267p3042849.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Alexandre.Laplante at statcan.gc.ca Mon Jun 8 06:34:31 2009 From: Alexandre.Laplante at statcan.gc.ca (Alexandre.Laplante at statcan.gc.ca) Date: Mon, 8 Jun 2009 09:34:31 -0400 Subject: [mapserver-users] Ignoring top level settings Message-ID: <4620211203EFB04B91AC83F33DF0ECF795B79A@stcem12.statcan.ca> Hello list, It seems as though my top level settings in my mapfile are being ignored. No matter what I put as projection, the output doesn't change (unless it's an invalid projection). Changing the values of EXTENT doesn't change anything either, as my map always starts zoomed out very far. I also have not been able to make my base layer output as anything other than jpg. I have a feeling that this is related to an invalid /tmp/ location in the mapfile. I have not been able to write the location of the /tmp/ folder (it's on the root of my c: drive) in a way that mapserver will use it. Apart from these things, everything works fine. I've been able to sort of counter-act the projection ignoring by telling mapserver that the layer's projection has lat_0=-49 when in fact, it is in epsg:43204 meaning lat_0=49. I've attached my mapfile. Thanks in advance, Alexandre Laplante ?tudiant Co-op / Co-op Student Division de l'Agriculture / Agriculture Division Statistique Canada / Statistics Canada 170 Tunney's Pasture Driveway ?d. Jean-Talon, 12? ?tage D1 / Jean-Talon Building, 12th floor D1 Ottawa, Ontario <> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: alex.map Type: application/octet-stream Size: 2097 bytes Desc: alex.map URL: From dmorissette at mapgears.com Mon Jun 8 07:36:27 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Mon, 08 Jun 2009 10:36:27 -0400 Subject: [mapserver-users] Need help with ProxyPass configuration, please In-Reply-To: <1244466765213-3042849.post@n2.nabble.com> References: <1244466765213-3042849.post@n2.nabble.com> Message-ID: <4A2D21EB.1050301@mapgears.com> cbrydon wrote: > I have also tried the following (among other configurations), but just can't > seem to get thiings to work.... > > NameVirtualHost 111.111.111.111:80 > > # Apache Site > > DocumentRoot "/ms4w/Apache/htdocs" > ServerName 111.111.111.111 > > > # IIS Site > > ServerName 111.111.111.111:80 > DocumentRoot F:/Applications/2009/Custom/SomeTown > ProxyRequests OFF > ProxyPass / http://111.111.111.111:8080/ > ProxyPassReverse / http://111.111.111.111:8080/ > > > > The above code doesn't work either; it seems as though the 2nd virtual host > isn't being recognized. SomeTown is actually in F:/Applications/2009/Custom. > Below is the output of an error log file. > Carl, You need a single VirtualHost for what you're trying to do. You have to decide which directories go to the proxy'd (IIS) server and list them there, and then let the local (MS4W) server handle the rest. For instance, if what you want is: http://111.111.111.111/SomeTown -> IIS http://111.111.111.111/AnotherTown -> IIS http://111.111.111.111/ (anything else) -> MS4W Then a config as follows should do the trick: NameVirtualHost 111.111.111.111:80 # Apache Site DocumentRoot "/ms4w/Apache/htdocs" ServerName 111.111.111.111 # Forward some directories to the IIS server on port 8080 # Anything not explicitly proxy'd here is expected to be local by default. ProxyPass /SomeTown http://111.111.111.111:8080/SomeTown ProxyPassReverse /SomeTown http://111.111.111.111:8080/SomeTown ProxyPass /AnotherTown http://111.111.111.111:8080/AnotherTown ProxyPassReverse /AnotherTown http://111.111.111.111:8080/AnotherTown I hope that helps Daniel -- Daniel Morissette http://www.mapgears.com/ From mledford at terraphase.net Mon Jun 8 12:37:06 2009 From: mledford at terraphase.net (mledfor) Date: Mon, 8 Jun 2009 12:37:06 -0700 (PDT) Subject: [mapserver-users] CGI issue Message-ID: <1244489826230-3045085.post@n2.nabble.com> Hello, I compiled mapserver 5.4.0 and the process went smoothly. It created the mapserv executable. I am using Solaris 10 on a Unix box and Glasssfish as a web server. I set up the cgi-bin in WEB-INF and I checked it with some perl scripts and they worked fine (Hello, etc.) and I copied the mapserv executable to that location. I ran ./mapserv and ./mapserv -v and both returned the expected results (This script can only be used to decode form results and should be initiated as a CGI process via a httpd server. AND MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER S UPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER S UPPORTS=THREADS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE.) I was able to create an image using shp2img at the command prompt also. However, when I use a web browser to test a map (http://mywebserver/cgi-bin/mapserv) I get a browser showing nothing. I checked the glassfish error log and saw this: ServletContext.log():cgi: runCGI (stderr):Unrecognized character \x7F at /export/home/www/gim/build/web/WEB-INF/cgi/mapserv line 1.|#. It seems as though CGI is trying to run mapserv as an script instead of as an executable. Last buy not least I made sure the proper directories and files had the right permissions. Any help would be appreciated. If i have not included some necessary information let me know and I will include it. Thanks -- View this message in context: http://n2.nabble.com/CGI-issue-tp3045085p3045085.html Sent from the Mapserver - User mailing list archive at Nabble.com. From wal3 at mindspring.com Mon Jun 8 13:41:04 2009 From: wal3 at mindspring.com (Worth Lutz) Date: Mon, 8 Jun 2009 16:41:04 -0400 Subject: [mapserver-users] PHP mapscript and getResult() In-Reply-To: <49DA41CD.4070402@dmsolutions.ca> References: <9621C11FBE5A4DB3BCF1FE27C7913C42@Worthlaptop> <49DA41CD.4070402@dmsolutions.ca> Message-ID: Did this get added into PHP mapscript in the 5.4.1 release? If so, is it a layer object method? -----Original Message----- From: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca] Sent: Monday, April 06, 2009 1:54 PM To: Worth Lutz Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] PHP mapscript and getResult() Worth Lutz wrote: > There is a SWIG mapscript reference to a "layerObj" method "getResults()" > returning a resultCacheObj. The resultCacheObj has an attribute "bounds" > which is the extent of the results. > > Is this available in PHP mapscript. It seems to be missing. > It is missing in php mapscript. Added a ticket on it and It should be available for the 5.4.1 release: http://trac.osgeo.org/mapserver/ticket/2967 Best Regards > Worth > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From davidn at datalinktech.com.au Mon Jun 8 18:31:47 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Tue, 09 Jun 2009 11:31:47 +1000 Subject: [mapserver-users] cartographic lines Message-ID: Hello all, i've come across a cosmetic issue I'm trying to solve and looking for advice. Specifically this relates to drawing street/road lines, although I guess it relates to any type of cartographic line. I'm using mapserver 5.4.1 using AGG renderer with quantize enabled: OUTPUTFORMAT NAME 'AGG_Q' DRIVER AGG/PNG IMAGEMODE RGB # FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_NEW=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256" END Mapserver was built with --with-experimental-png (which does indeed resolve the colour variations between tiles that I reported earlier). I'm drawing street layers with elipses, but I'm now wondering if that is the best way to achieve the result, being an inner colour with a border, viz: STYLE COLOR [border_color] SYMBOL "road_line" SIZE $x END STYLE COLOR [surface_colour] SYMBOL "road_line" SIZE $x-2 END where road_line is a simple SYMBOL elipse. The problem I'm seeing is two-fold. Firstly, the ends are rounded, which is not desirable where roads of different classes (defined in different layers) join. I think this can be solved by drawing all streets in the same layer and using different classes with EXPRESSION statements, but my brief experiment with this resulted in a large detriment effect on rendering speed. If it matters, the layers are in PostGIS (and appropriately indexed). So my question is, is there a better or at least an alternative way of drawing roads with borders which does not result in this problem? The second problem is that I'm trying to add OPACITY to some layers, such as tunnels, so that they either appear underneath other objects or at least allow other objects to show through. However - and it may be related to the use of symbols to draw the roads - this results rendering as shown in the attached file, with elipses of a different shade appearing where objects "intersect". Can this be avoided (perhaps by using a different method for drawing road lines)? Note that since I am rendering a flat tile which includes a background I'm using RGB rather than RGBA and I suspect this may affect rendering of OPACITY in layers. However I can't seem to find the magic that will render a background colour other than black (and yes, I'm using IMAGECOLOR in the MAP section, but it seems to have no effect when rendering with transparency). Best regards, David -------------- next part -------------- A non-text attachment was scrubbed... Name: map01.jpg Type: image/jpeg Size: 26564 bytes Desc: not available URL: From Jukka.Rahkonen at mmmtike.fi Mon Jun 8 21:06:09 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Tue, 9 Jun 2009 07:06:09 +0300 Subject: [mapserver-users] cartographic lines References: Message-ID: Hi, Thomas Bonfort seems to do it this way: CLASS EXPRESSION "primary" STYLE WIDTH 14 OUTLINECOLOR "#B7AC9A" OUTLINEWIDTH 1 MINWIDTH 1.5 MAXWIDTH 12 END STYLE WIDTH 14 COLOR "#FFFF7A" MINWIDTH 1.5 MAXWIDTH 12 END END See more at http://trac.osgeo.org/mapserver/wiki/RenderingOsmData, and the result is visible at Mapserver.org web site. -Jukka Rahkonen- David Nugent wrote. Hello all, i've come across a cosmetic issue I'm trying to solve and looking for advice. Specifically this relates to drawing street/road lines, although I guess it relates to any type of cartographic line. I'm using mapserver 5.4.1 using AGG renderer with quantize enabled: OUTPUTFORMAT NAME 'AGG_Q' DRIVER AGG/PNG IMAGEMODE RGB # FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_NEW=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256" END Mapserver was built with --with-experimental-png (which does indeed resolve the colour variations between tiles that I reported earlier). I'm drawing street layers with elipses, but I'm now wondering if that is the best way to achieve the result, being an inner colour with a border, viz: STYLE COLOR [border_color] SYMBOL "road_line" SIZE $x END STYLE COLOR [surface_colour] SYMBOL "road_line" SIZE $x-2 END where road_line is a simple SYMBOL elipse. The problem I'm seeing is two-fold. Firstly, the ends are rounded, which is not desirable where roads of different classes (defined in different layers) join. I think this can be solved by drawing all streets in the same layer and using different classes with EXPRESSION statements, but my brief experiment with this resulted in a large detriment effect on rendering speed. If it matters, the layers are in PostGIS (and appropriately indexed). So my question is, is there a better or at least an alternative way of drawing roads with borders which does not result in this problem? The second problem is that I'm trying to add OPACITY to some layers, such as tunnels, so that they either appear underneath other objects or at least allow other objects to show through. However - and it may be related to the use of symbols to draw the roads - this results rendering as shown in the attached file, with elipses of a different shade appearing where objects "intersect". Can this be avoided (perhaps by using a different method for drawing road lines)? Note that since I am rendering a flat tile which includes a background I'm using RGB rather than RGBA and I suspect this may affect rendering of OPACITY in layers. However I can't seem to find the magic that will render a background colour other than black (and yes, I'm using IMAGECOLOR in the MAP section, but it seems to have no effect when rendering with transparency). Best regards, David From snaperski at gmail.com Mon Jun 8 22:50:36 2009 From: snaperski at gmail.com (Raivo Alla) Date: Tue, 9 Jun 2009 08:50:36 +0300 Subject: [mapserver-users] labeling streets In-Reply-To: <4A2CE004.5070907@dmsolutions.ca> References: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> <4A2CE004.5070907@dmsolutions.ca> Message-ID: <49dc012b0906082250n18ccc862m6ba6f0898c840c46@mail.gmail.com> Thank You, so it should be, but somehow in my case it does not work properly. When i have no declaration of MINFEATURESIZE, then the picture looks fine: http://picasaweb.google.com/snaperski/Ort#5345194219497220482 But when I add MINFEATURESIZE AUTO, most labels just disappear, even if they have enough space to fit in: http://picasaweb.google.com/snaperski/Ort#5345195269825705586 And those labeled straight streets contain only one feature (line feature) each - so the label should fit in decently. Label is declared this way: LABEL TYPE truetype ANTIALIAS true FONT "arial" COLOR 240 240 240 OUTLINECOLOR 52 52 52 SIZE 9 force false MINDISTANCE 250 MINFEATURESIZE auto ANGLE follow POSITION cc BUFFER 1 END Changing FORCE or POSITION parameters didnt help either.... Raivo On Mon, Jun 8, 2009 at 12:55 PM, Christy Nieman wrote: > Hi, > > You could set MINFEATURESIZE to AUTO and then only the labels that fit on > the lines should be drawn. > > Regards, > Christy > > Raivo Alla wrote: >> >> Hello! >> >> I'm stuck in simple-looking problem, but the solution is just hiding >> somewhere. >> >> The question is: how I can label only those line features, whos label >> does not run over the line like that: >> >> http://picasaweb.google.com/snaperski/Ort#5344831130138846050 >> >> As street lengths are very different, I cant solve the problem by >> setting suitable MINFEATURESIZE for >> >> respective MINSCALE,MAXSCALE range. >> >> >> All the best, >> Raivo Alla >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > From thomas.bonfort at camptocamp.com Mon Jun 8 23:18:11 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Tue, 9 Jun 2009 08:18:11 +0200 Subject: [mapserver-users] labeling streets In-Reply-To: <49dc012b0906082250n18ccc862m6ba6f0898c840c46@mail.gmail.com> References: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> <4A2CE004.5070907@dmsolutions.ca> <49dc012b0906082250n18ccc862m6ba6f0898c840c46@mail.gmail.com> Message-ID: <2922382e0906082318j481d7e51h5330d2ae39e8554e@mail.gmail.com> Raivo, are you sure that your streets only contain one feature? If you are using 5.4+, you can check by appending a geomtransform style to your street layer, to draw a symbol at the beginning of each feature: style geomtransform "start" symbol "circle" color 255 0 0 size 15 end regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 9, 2009 at 07:50, Raivo Alla wrote: > Thank You, > > so it should be, but somehow in my case it does not work properly. > When i have no declaration of MINFEATURESIZE, then the picture looks fine: > http://picasaweb.google.com/snaperski/Ort#5345194219497220482 > But when I add MINFEATURESIZE AUTO, most labels just disappear, even > if they have enough space to fit in: > http://picasaweb.google.com/snaperski/Ort#5345195269825705586 > > And those labeled straight streets contain only one feature (line > feature) each - so the label should fit in decently. > > Label is declared this way: > ? ? ? ? ? ? ? ?LABEL > ? ? ? ? ? ? ? ? ? ? ? ?TYPE truetype > ? ? ? ? ? ? ? ? ? ? ? ?ANTIALIAS true > ? ? ? ? ? ? ? ? ? ? ? ?FONT "arial" > ? ? ? ? ? ? ? ? ? ? ? ?COLOR 240 240 240 > ? ? ? ? ? ? ? ? ? ? ? ?OUTLINECOLOR 52 52 52 > ? ? ? ? ? ? ? ? ? ? ? ?SIZE 9 > ? ? ? ? ? ? ? ? ? ? ? ?force false > ? ? ? ? ? ? ? ? ? ? ? ?MINDISTANCE 250 > ? ? ? ? ? ? ? ? ? ? ? ?MINFEATURESIZE auto > ? ? ? ? ? ? ? ? ? ? ? ?ANGLE follow > ? ? ? ? ? ? ? ? ? ? ? ?POSITION cc > ? ? ? ? ? ? ? ? ? ? ? ?BUFFER 1 > ? ? ? ? ? ? ? ?END > > Changing FORCE or POSITION parameters didnt help either.... > > > Raivo > > On Mon, Jun 8, 2009 at 12:55 PM, Christy Nieman wrote: >> Hi, >> >> You could set MINFEATURESIZE to AUTO and then only the labels that fit on >> the lines should be drawn. >> >> Regards, >> Christy >> >> Raivo Alla wrote: >>> >>> Hello! >>> >>> I'm stuck in simple-looking problem, but the solution is just hiding >>> somewhere. >>> >>> The question is: how I can label only those line features, whos label >>> does not run over the line like that: >>> >>> http://picasaweb.google.com/snaperski/Ort#5344831130138846050 >>> >>> As street lengths are very different, I cant solve the problem by >>> setting suitable MINFEATURESIZE for >>> >>> respective MINSCALE,MAXSCALE range. >>> >>> >>> All the best, >>> Raivo Alla >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From davidn at datalinktech.com.au Mon Jun 8 23:21:32 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Tue, 09 Jun 2009 16:21:32 +1000 Subject: [mapserver-users] cartographic lines In-Reply-To: References: Message-ID: On Tue, 09 Jun 2009 14:06:09 +1000, Rahkonen Jukka wrote: > Hi, > > Thomas Bonfort seems to do it this way: > CLASS > EXPRESSION "primary" > STYLE > WIDTH 14 > OUTLINECOLOR "#B7AC9A" > OUTLINEWIDTH 1 > MINWIDTH 1.5 > MAXWIDTH 12 > END > STYLE > WIDTH 14 > COLOR "#FFFF7A" > MINWIDTH 1.5 > MAXWIDTH 12 > END > END Thanks, I'll give it a shot and post the results. IIRC though when I tried a variation of this a couple of weeks back I kept getting the mapserver message: "Cartoline drawing is deprecated with AGG", so I figured that wasn't the correct way to do it. :-) And I had not realised that *COLOR directives accepted a hexadecimal value as an alternative to R G B values! That will make things easier. As to the other implied question in my OP - since I've discovered that rendering with transparency on fixes a number of artifacts - so does anyone know of a solution for setting background when rendering RGBA tiles since IMAGECOLOR no longer seems to work? > Note that since I am rendering a flat tile which includes a background > I'm using RGB rather than RGBA and I suspect this may affect rendering of > OPACITY in layers. However I can't seem to find the magic that will > render a background colour other than black (and yes, I'm using > IMAGECOLOR in the MAP section, but it seems to have no effect when > rendering with > transparency). Regards, David From snaperski at gmail.com Mon Jun 8 23:48:07 2009 From: snaperski at gmail.com (Raivo Alla) Date: Tue, 9 Jun 2009 09:48:07 +0300 Subject: [mapserver-users] labeling streets In-Reply-To: <2922382e0906082318j481d7e51h5330d2ae39e8554e@mail.gmail.com> References: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> <4A2CE004.5070907@dmsolutions.ca> <49dc012b0906082250n18ccc862m6ba6f0898c840c46@mail.gmail.com> <2922382e0906082318j481d7e51h5330d2ae39e8554e@mail.gmail.com> Message-ID: <49dc012b0906082348j1b307d45w51e761877ab37b9d@mail.gmail.com> Hi, I added red box to visualize line vertices (style geomtransform "start" symbol "box" color 255 0 0 size 6 end) and the result is displayed here: http://picasaweb.google.com/snaperski/Ort#5345215158256974066 Best wishes, Raivo On Tue, Jun 9, 2009 at 9:18 AM, Thomas Bonfort wrote: > Raivo, > > are you sure that your streets only contain one feature? > If you are using 5.4+, you can check by appending a geomtransform > style to your street layer, to draw a symbol at the beginning of each > feature: > > style > ?geomtransform "start" > ?symbol "circle" > ?color 255 0 0 > ?size 15 > end > > regards, > > thomas > > www.camptocamp.com > +33 4 79 26 57 97 > > > > On Tue, Jun 9, 2009 at 07:50, Raivo Alla wrote: >> Thank You, >> >> so it should be, but somehow in my case it does not work properly. >> When i have no declaration of MINFEATURESIZE, then the picture looks fine: >> http://picasaweb.google.com/snaperski/Ort#5345194219497220482 >> But when I add MINFEATURESIZE AUTO, most labels just disappear, even >> if they have enough space to fit in: >> http://picasaweb.google.com/snaperski/Ort#5345195269825705586 >> >> And those labeled straight streets contain only one feature (line >> feature) each - so the label should fit in decently. >> >> Label is declared this way: >> ? ? ? ? ? ? ? ?LABEL >> ? ? ? ? ? ? ? ? ? ? ? ?TYPE truetype >> ? ? ? ? ? ? ? ? ? ? ? ?ANTIALIAS true >> ? ? ? ? ? ? ? ? ? ? ? ?FONT "arial" >> ? ? ? ? ? ? ? ? ? ? ? ?COLOR 240 240 240 >> ? ? ? ? ? ? ? ? ? ? ? ?OUTLINECOLOR 52 52 52 >> ? ? ? ? ? ? ? ? ? ? ? ?SIZE 9 >> ? ? ? ? ? ? ? ? ? ? ? ?force false >> ? ? ? ? ? ? ? ? ? ? ? ?MINDISTANCE 250 >> ? ? ? ? ? ? ? ? ? ? ? ?MINFEATURESIZE auto >> ? ? ? ? ? ? ? ? ? ? ? ?ANGLE follow >> ? ? ? ? ? ? ? ? ? ? ? ?POSITION cc >> ? ? ? ? ? ? ? ? ? ? ? ?BUFFER 1 >> ? ? ? ? ? ? ? ?END >> >> Changing FORCE or POSITION parameters didnt help either.... >> >> >> Raivo >> >> On Mon, Jun 8, 2009 at 12:55 PM, Christy Nieman wrote: >>> Hi, >>> >>> You could set MINFEATURESIZE to AUTO and then only the labels that fit on >>> the lines should be drawn. >>> >>> Regards, >>> Christy >>> >>> Raivo Alla wrote: >>>> >>>> Hello! >>>> >>>> I'm stuck in simple-looking problem, but the solution is just hiding >>>> somewhere. >>>> >>>> The question is: how I can label only those line features, whos label >>>> does not run over the line like that: >>>> >>>> http://picasaweb.google.com/snaperski/Ort#5344831130138846050 >>>> >>>> As street lengths are very different, I cant solve the problem by >>>> setting suitable MINFEATURESIZE for >>>> >>>> respective MINSCALE,MAXSCALE range. >>>> >>>> >>>> All the best, >>>> Raivo Alla >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > From falcacibar at gmail.com Tue Jun 9 03:25:06 2009 From: falcacibar at gmail.com (Felipe Alcacibar) Date: Tue, 9 Jun 2009 06:25:06 -0400 Subject: [mapserver-users] msIO_getStdoutBufferBytes(), gdBuffer in mapscript perl In-Reply-To: <49DF4C8C.5030706@mapgears.com> References: <72e3fc8f0904091655n16847732s6b5e0b14001ddb63@mail.gmail.com> <49DF4C8C.5030706@mapgears.com> Message-ID: <72e3fc8f0906090325h50565f22k521dddb2818414b0@mail.gmail.com> i found this thread in my mail, and i have solutioned this, i made a patch.here is the url: http://counter.tryer.cl/mapserver/mapserver_mapscript_perl_gdbuffer_bytes.patch On Fri, Apr 10, 2009 at 9:41 AM, Daniel Morissette wrote: > Just a guess since I'm not very familiar with the Perl SWIG stuff, but maybe > the patch from this ticket could help? > ?http://trac.osgeo.org/mapserver/ticket/2962 > If I'm not mistaken it solves a similar problem with the imageObj.getBytes > return value, and I presume the problem you encountered needs a similar > solution. > > Daniel > > > Felipe Alcacibar wrote: >> >> Hi, i'm trying to implement a wms server with a perl api of mapscript >> but i cannot understand how msIO_getStdoutBufferBytes() work >> in the docs msIO_getStdoutBufferBytes() function return the binary >> content of the current output but i cannot see that, when i dump with >> Data::Dump::Streamer i got: >> >> -> $_p_gdBuffer1 = bless( \do { my $v = 152646680 }, '_p_gdBuffer' ); >> >> >> I go to read the sources of the mapscript perl implementation and i >> found a struct with properties data and size, but i cannot get that i >> got that when i try to dump data. >> >> -> Can't locate object method "data" via package "_p_gdBuffer" at >> /home/counter/mscacherd/maptest.pl line 36. >> >> >> How it works in perl, how i can get the data from the gdBuffer perl class? >> >> >> Thanks in advice. >> Greetings >> >> >> Felipe >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > -- > Daniel Morissette > http://www.mapgears.com/ > From yassefa at dmsolutions.ca Tue Jun 9 04:30:34 2009 From: yassefa at dmsolutions.ca (Yewondwossen Assefa) Date: Tue, 09 Jun 2009 07:30:34 -0400 Subject: [mapserver-users] PHP mapscript and getResult() In-Reply-To: References: <9621C11FBE5A4DB3BCF1FE27C7913C42@Worthlaptop> <49DA41CD.4070402@dmsolutions.ca> Message-ID: <4A2E47DA.4010105@dmsolutions.ca> Worth Lutz wrote: > Did this get added into PHP mapscript in the 5.4.1 release? If so, is it a > layer object method? > It missed the release. It is now committed in the the 5.4.x branch and the ticket is updated to reflect that. best regards, > -----Original Message----- > From: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca] > Sent: Monday, April 06, 2009 1:54 PM > To: Worth Lutz > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] PHP mapscript and getResult() > > > Worth Lutz wrote: >> There is a SWIG mapscript reference to a "layerObj" method "getResults()" >> returning a resultCacheObj. The resultCacheObj has an attribute "bounds" >> which is the extent of the results. >> >> Is this available in PHP mapscript. It seems to be missing. >> > > It is missing in php mapscript. Added a ticket on it and It should be > available for the 5.4.1 release: > http://trac.osgeo.org/mapserver/ticket/2967 > > Best Regards > > >> Worth >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From dmorissette at mapgears.com Tue Jun 9 06:51:29 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Tue, 09 Jun 2009 09:51:29 -0400 Subject: [mapserver-users] msIO_getStdoutBufferBytes(), gdBuffer in mapscript perl In-Reply-To: <72e3fc8f0906090325h50565f22k521dddb2818414b0@mail.gmail.com> References: <72e3fc8f0904091655n16847732s6b5e0b14001ddb63@mail.gmail.com> <49DF4C8C.5030706@mapgears.com> <72e3fc8f0906090325h50565f22k521dddb2818414b0@mail.gmail.com> Message-ID: <4A2E68E1.8000302@mapgears.com> Felipe Alcacibar wrote: > i found this thread in my mail, and i have solutioned this, i made a > patch.here is the url: > > http://counter.tryer.cl/mapserver/mapserver_mapscript_perl_gdbuffer_bytes.patch > Thanks for the patch. I have created a ticket for this and will let the Perl MapScript maintainer review and apply it: http://trac.osgeo.org/mapserver/ticket/3048 Daniel -- Daniel Morissette http://www.mapgears.com/ From pauljame at gmail.com Tue Jun 9 10:50:40 2009 From: pauljame at gmail.com (Paul james) Date: Tue, 9 Jun 2009 14:50:40 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905290840h10fd7606i5508697161fda7d@mail.gmail.com> <4A2005B2.70704@mapgears.com> <33fad6880905290926g62a9d75ci90d281e53867f368@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> Message-ID: <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> Just one update in my tests... Using FASTCGI It worked FINE (mapserver 5.4)... I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 Paul On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: > Probably is a mapserver CGI bug... > > Paul > > On Sat, May 30, 2009 at 11:56 PM, Brian Fischer wrote: > >> Paul, >> >> Just to let you know you are not alone. I am experiencing the same >> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >> project. Here?s a link to the bug report >> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >> anything back on a solution yet. I?m not sure if this is a MapServer bug or >> a bug with the way the MS4W package was compiled. It runs fine of Apache >> for me. >> >> >> >> Brian Fischer >> >> Houston Engineering, Inc. >> >> >> >> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >> *Sent:* Friday, May 29, 2009 1:08 PM >> *To:* Steve Lime >> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >> error on IIS(5.1 and 6.0) ... Possible BUG? >> >> >> >> >> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >> >> Paul >> >> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >> wrote: >> >> What's the full URL submitted against the CGI? >> >> >>> On 5/29/2009 at 12:59 PM, in message >> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >> james >> >> wrote: >> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >> beta... >> > 2 - I?m using normal CGI >> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >> test >> > later ... >> > >> > Paul >> > >> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >> wrote: >> > >> >> Hi Paul, >> >> >> >> Did you experience the same with the release-1310 and release-1400 >> >> versions? Did you experience the same with the development version? >> >> Are you using fastCGI or normal cgi? >> >> Is this just a PostGIS related problem or you get the same with a >> simple >> >> shapefile? >> >> >> >> Sorry for the bunch of the questions... >> >> >> >> Best regards, >> >> >> >> Tamas >> >> >> >> >> >> >> >> 2009/5/29 Paul james >> >> >> >>> Yes Daniel... I deleted all previous files and put only 5.4 >> files... My >> >>> mapscript application is working fine on 5.4... >> >>> But the CGI dont... >> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >> >>> >> >>> Paul >> >>> >> >>> >> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >> >>> dmorissette at mapgears.com> wrote: >> >>> >> >>>> Paul james wrote: >> >>>> >> >>>>> Hi Daniel... >> >>>>> I got the binaries from Tamas build : >> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >> >>>>> And from MS4W 3.0 beta2... >> >>>>> Same result with both... >> >>>>> >> >>>>> That error you got is my fault... I took off the : >> >>>>> IMAGE "..\Map.png" >> >>>>> from REFERENCE definition when copy the code to email... >> >>>>> >> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >> >>>>> Just replacing with 5.4 binary I got that 502 error... >> >>>>> >> >>>>> >> >>>> Hopefully you always make sure you update all DLLs as well when >> you >> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >> if they >> >>>> come from different build environments or versions they may not >> be >> >>>> compatible and could cause the kind of crashes that you are >> experiencing. >> >>>> >> >>>> >> >>>> Daniel >> >>>> -- >> >>>> Daniel Morissette >> >>>> http://www.mapgears.com/ >> >>>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> mapserver-users mailing list >> >>> mapserver-users at lists.osgeo.org >> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >>> >> >>> >> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Tue Jun 9 15:02:40 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Wed, 10 Jun 2009 00:02:40 +0200 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <4A2005B2.70704@mapgears.com> <33fad6880905290926g62a9d75ci90d281e53867f368@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> Message-ID: Paul, I've just tried with the latest 5.4 version and worked fine though I'm using OGR/mapinfo.tab data source. I suspect you may run into a problem related to the possible differences in the security settings. Some files may not be accessible by the current user executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. Best regards, Tamas 2009/6/9 Paul james > Just one update in my tests... > Using FASTCGI It worked FINE (mapserver 5.4)... > > I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 > > Paul > > > On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: > >> Probably is a mapserver CGI bug... >> >> Paul >> >> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer wrote: >> >>> Paul, >>> >>> Just to let you know you are not alone. I am experiencing the same >>> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >>> project. Here?s a link to the bug report >>> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >>> anything back on a solution yet. I?m not sure if this is a MapServer bug or >>> a bug with the way the MS4W package was compiled. It runs fine of Apache >>> for me. >>> >>> >>> >>> Brian Fischer >>> >>> Houston Engineering, Inc. >>> >>> >>> >>> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >>> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >>> *Sent:* Friday, May 29, 2009 1:08 PM >>> *To:* Steve Lime >>> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >>> error on IIS(5.1 and 6.0) ... Possible BUG? >>> >>> >>> >>> >>> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >>> >>> Paul >>> >>> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >>> wrote: >>> >>> What's the full URL submitted against the CGI? >>> >>> >>> On 5/29/2009 at 12:59 PM, in message >>> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >>> james >>> >>> wrote: >>> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >>> beta... >>> > 2 - I?m using normal CGI >>> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >>> test >>> > later ... >>> > >>> > Paul >>> > >>> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >>> wrote: >>> > >>> >> Hi Paul, >>> >> >>> >> Did you experience the same with the release-1310 and release-1400 >>> >> versions? Did you experience the same with the development version? >>> >> Are you using fastCGI or normal cgi? >>> >> Is this just a PostGIS related problem or you get the same with a >>> simple >>> >> shapefile? >>> >> >>> >> Sorry for the bunch of the questions... >>> >> >>> >> Best regards, >>> >> >>> >> Tamas >>> >> >>> >> >>> >> >>> >> 2009/5/29 Paul james >>> >> >>> >>> Yes Daniel... I deleted all previous files and put only 5.4 >>> files... My >>> >>> mapscript application is working fine on 5.4... >>> >>> But the CGI dont... >>> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>> >>> >>> >>> Paul >>> >>> >>> >>> >>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>> >>> dmorissette at mapgears.com> wrote: >>> >>> >>> >>>> Paul james wrote: >>> >>>> >>> >>>>> Hi Daniel... >>> >>>>> I got the binaries from Tamas build : >>> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>> >>>>> And from MS4W 3.0 beta2... >>> >>>>> Same result with both... >>> >>>>> >>> >>>>> That error you got is my fault... I took off the : >>> >>>>> IMAGE "..\Map.png" >>> >>>>> from REFERENCE definition when copy the code to email... >>> >>>>> >>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>> >>>>> Just replacing with 5.4 binary I got that 502 error... >>> >>>>> >>> >>>>> >>> >>>> Hopefully you always make sure you update all DLLs as well when >>> you >>> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >>> if they >>> >>>> come from different build environments or versions they may not >>> be >>> >>>> compatible and could cause the kind of crashes that you are >>> experiencing. >>> >>>> >>> >>>> >>> >>>> Daniel >>> >>>> -- >>> >>>> Daniel Morissette >>> >>>> http://www.mapgears.com/ >>> >>>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> mapserver-users mailing list >>> >>> mapserver-users at lists.osgeo.org >>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >>> >>> >> >>> >>> >>> >> >> > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpass at bgs.ac.uk Wed Jun 10 02:39:53 2009 From: jpass at bgs.ac.uk (Passmore, James H) Date: Wed, 10 Jun 2009 10:39:53 +0100 Subject: [mapserver-users] RE: Upgrading 5.2 -> 5.4 generating CGI error (5.1 and 6.0) ... Possible BUG? In-Reply-To: <20090609220244.EDF2DE0164C@lists.osgeo.org> References: <20090609220244.EDF2DE0164C@lists.osgeo.org> Message-ID: <4DC99887ECFBA1499899FACCDFF7F21A02571857EA@nerckwmb1.ad.nerc.ac.uk> I'm not sure if this helps anyone debug this issue, but I used MS4W 2.3.1 and then MapServer version 5.4.0-rc2 to obtain my binaries. I have these working on Microsoft Server 2003 / IIS 6 with shapefiles as my data to provide a WMS e.g. http://194.66.252.156:81/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=GBR_BGS_625k_BA&STYLES=default&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-8.6476,49.587144749082,1.76943,61.138955250918&WIDTH=817&HEIGHT=906 James Passmore GIS and WWW Specialist Information Systems and Infrastructure, British Geological Survey, http://www.bgs.ac.uk/ -- This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. From davidn at datalinktech.com.au Wed Jun 10 06:41:48 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Wed, 10 Jun 2009 23:41:48 +1000 Subject: [mapserver-users] Rendering order of objects in a layer Message-ID: Hello all, Is there any way in which the rendering order of objects in a layer can be determined by mapserver? For example, I want to ensure that major roads (highways, arterials) are rendered after local/minor/unimproved roads when all are rendered as a single layer; which tends to make joins between them look much nicer if the major roads are rendered first. This is for vector data coming from postgis, which ultimately results in executing the query on a view. I hesitate to fiddle with forcing index use here as I would think the gist queries on the geometry field would come into play. However, the results in the query seem to drop by chance regardless if the order of CLASS sections in the mapfile (which is what I would expect). Regards, David From pauljame at gmail.com Wed Jun 10 06:45:31 2009 From: pauljame at gmail.com (Paul james) Date: Wed, 10 Jun 2009 10:45:31 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905290926g62a9d75ci90d281e53867f368@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> Message-ID: <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> I don?t think its related to security settings... I can run the CGI on 5.2 ... And as well with fastcgi on 5.4 ... Anyway I gave all permission to all user in mapserver directory and app directory... Nothing changes... Anyone test that with Postgis layer? I?m trying to get a shapefile to test ... Paul On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres wrote: > Paul, > > I've just tried with the latest 5.4 version and worked fine though I'm > using OGR/mapinfo.tab data source. > > I suspect you may run into a problem related to the possible differences in > the security settings. Some files may not be accessible by the current user > executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI > and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. > > Best regards, > > Tamas > > > 2009/6/9 Paul james > > Just one update in my tests... >> Using FASTCGI It worked FINE (mapserver 5.4)... >> >> I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 >> >> Paul >> >> >> On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: >> >>> Probably is a mapserver CGI bug... >>> >>> Paul >>> >>> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer >> > wrote: >>> >>>> Paul, >>>> >>>> Just to let you know you are not alone. I am experiencing the same >>>> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >>>> project. Here?s a link to the bug report >>>> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >>>> anything back on a solution yet. I?m not sure if this is a MapServer bug or >>>> a bug with the way the MS4W package was compiled. It runs fine of Apache >>>> for me. >>>> >>>> >>>> >>>> Brian Fischer >>>> >>>> Houston Engineering, Inc. >>>> >>>> >>>> >>>> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >>>> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >>>> *Sent:* Friday, May 29, 2009 1:08 PM >>>> *To:* Steve Lime >>>> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >>>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating >>>> CGI error on IIS(5.1 and 6.0) ... Possible BUG? >>>> >>>> >>>> >>>> >>>> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >>>> >>>> Paul >>>> >>>> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >>>> wrote: >>>> >>>> What's the full URL submitted against the CGI? >>>> >>>> >>> On 5/29/2009 at 12:59 PM, in message >>>> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >>>> james >>>> >>>> wrote: >>>> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >>>> beta... >>>> > 2 - I?m using normal CGI >>>> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >>>> test >>>> > later ... >>>> > >>>> > Paul >>>> > >>>> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >>>> wrote: >>>> > >>>> >> Hi Paul, >>>> >> >>>> >> Did you experience the same with the release-1310 and release-1400 >>>> >> versions? Did you experience the same with the development version? >>>> >> Are you using fastCGI or normal cgi? >>>> >> Is this just a PostGIS related problem or you get the same with a >>>> simple >>>> >> shapefile? >>>> >> >>>> >> Sorry for the bunch of the questions... >>>> >> >>>> >> Best regards, >>>> >> >>>> >> Tamas >>>> >> >>>> >> >>>> >> >>>> >> 2009/5/29 Paul james >>>> >> >>>> >>> Yes Daniel... I deleted all previous files and put only 5.4 >>>> files... My >>>> >>> mapscript application is working fine on 5.4... >>>> >>> But the CGI dont... >>>> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>>> >>> >>>> >>> Paul >>>> >>> >>>> >>> >>>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>>> >>> dmorissette at mapgears.com> wrote: >>>> >>> >>>> >>>> Paul james wrote: >>>> >>>> >>>> >>>>> Hi Daniel... >>>> >>>>> I got the binaries from Tamas build : >>>> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>> >>>>> And from MS4W 3.0 beta2... >>>> >>>>> Same result with both... >>>> >>>>> >>>> >>>>> That error you got is my fault... I took off the : >>>> >>>>> IMAGE "..\Map.png" >>>> >>>>> from REFERENCE definition when copy the code to email... >>>> >>>>> >>>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>>> >>>>> Just replacing with 5.4 binary I got that 502 error... >>>> >>>>> >>>> >>>>> >>>> >>>> Hopefully you always make sure you update all DLLs as well when >>>> you >>>> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >>>> if they >>>> >>>> come from different build environments or versions they may not >>>> be >>>> >>>> compatible and could cause the kind of crashes that you are >>>> experiencing. >>>> >>>> >>>> >>>> >>>> >>>> Daniel >>>> >>>> -- >>>> >>>> Daniel Morissette >>>> >>>> http://www.mapgears.com/ >>>> >>>> >>>> >>> >>>> >>> >>>> >>> _______________________________________________ >>>> >>> mapserver-users mailing list >>>> >>> mapserver-users at lists.osgeo.org >>>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>> >>>> >>> >>>> >> >>>> >>>> >>>> >>> >>> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfischer at houstoneng.com Wed Jun 10 06:54:09 2009 From: bfischer at houstoneng.com (Brian Fischer) Date: Wed, 10 Jun 2009 08:54:09 -0500 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905290926g62a9d75ci90d281e53867f368@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> Message-ID: I would agree with Paul. I am running 5.2 and previous version just fine as well. Brian Fischer, CFM GIS Project Manager Houston Engineering, Inc. Phone: W: 763.493.4522 / M: 763.229.2734 From: Paul james [mailto:pauljame at gmail.com] Sent: Wednesday, June 10, 2009 8:46 AM To: Tamas Szekeres Cc: Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; Steve Lime Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? I don?t think its related to security settings... I can run the CGI on 5.2 ... And as well with fastcgi on 5.4 ... Anyway I gave all permission to all user in mapserver directory and app directory... Nothing changes... Anyone test that with Postgis layer? I?m trying to get a shapefile to test ... Paul On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres > wrote: Paul, I've just tried with the latest 5.4 version and worked fine though I'm using OGR/mapinfo.tab data source. I suspect you may run into a problem related to the possible differences in the security settings. Some files may not be accessible by the current user executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. Best regards, Tamas 2009/6/9 Paul james > Just one update in my tests... Using FASTCGI It worked FINE (mapserver 5.4)... I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 Paul On Tue, Jun 2, 2009 at 10:12 AM, Paul james > wrote: Probably is a mapserver CGI bug... Paul On Sat, May 30, 2009 at 11:56 PM, Brian Fischer > wrote: Paul, Just to let you know you are not alone. I am experiencing the same problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W project. Here?s a link to the bug report http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard anything back on a solution yet. I?m not sure if this is a MapServer bug or a bug with the way the MS4W package was compiled. It runs fine of Apache for me. Brian Fischer Houston Engineering, Inc. From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Paul james Sent: Friday, May 29, 2009 1:08 PM To: Steve Lime Cc: mapserver-users at lists.osgeo.org; Daniel Morissette Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 Paul On Fri, May 29, 2009 at 3:01 PM, Steve Lime > wrote: What's the full URL submitted against the CGI? >>> On 5/29/2009 at 12:59 PM, in message <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul james > wrote: > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w beta... > 2 - I?m using normal CGI > 3 - My tests are only with Postgis... I?ll generate a shapefile to test > later ... > > Paul > > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres > wrote: > >> Hi Paul, >> >> Did you experience the same with the release-1310 and release-1400 >> versions? Did you experience the same with the development version? >> Are you using fastCGI or normal cgi? >> Is this just a PostGIS related problem or you get the same with a simple >> shapefile? >> >> Sorry for the bunch of the questions... >> >> Best regards, >> >> Tamas >> >> >> >> 2009/5/29 Paul james > >> >>> Yes Daniel... I deleted all previous files and put only 5.4 files... My >>> mapscript application is working fine on 5.4... >>> But the CGI dont... >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>> >>> Paul >>> >>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>> dmorissette at mapgears.com> wrote: >>> >>>> Paul james wrote: >>>> >>>>> Hi Daniel... >>>>> I got the binaries from Tamas build : >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>>> And from MS4W 3.0 beta2... >>>>> Same result with both... >>>>> >>>>> That error you got is my fault... I took off the : >>>>> IMAGE "..\Map.png" >>>>> from REFERENCE definition when copy the code to email... >>>>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>>>> Just replacing with 5.4 binary I got that 502 error... >>>>> >>>>> >>>> Hopefully you always make sure you update all DLLs as well when you >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, if they >>>> come from different build environments or versions they may not be >>>> compatible and could cause the kind of crashes that you are experiencing. >>>> >>>> >>>> Daniel >>>> -- >>>> Daniel Morissette >>>> http://www.mapgears.com/ >>>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From danlittle at yahoo.com Wed Jun 10 09:08:54 2009 From: danlittle at yahoo.com (Dan Little) Date: Wed, 10 Jun 2009 09:08:54 -0700 (PDT) Subject: [mapserver-users] Rendering order of objects in a layer In-Reply-To: References: Message-ID: <611578.95927.qm@web51402.mail.re2.yahoo.com> If you're already pulling from a view, you might want to consider three views: interstates highways local roads (or how ever you layer it) Then create three separate layers for each one of the views. ----- Original Message ---- > From: David Nugent > To: mapserver-users at lists.osgeo.org > Sent: Wednesday, June 10, 2009 8:41:48 AM > Subject: [mapserver-users] Rendering order of objects in a layer > > Hello all, > > Is there any way in which the rendering order of objects in a layer can be > determined by mapserver? > > For example, I want to ensure that major roads (highways, arterials) are > rendered after local/minor/unimproved roads when all are rendered as a single > layer; which tends to make joins between them look much nicer if the major roads > are rendered first. > > This is for vector data coming from postgis, which ultimately results in > executing the query on a view. I hesitate to fiddle with forcing index use here > as I would think the gist queries on the geometry field would come into play. > However, the results in the query seem to drop by chance regardless if the order > of CLASS sections in the mapfile (which is what I would expect). > > Regards, > David > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From szekerest at gmail.com Wed Jun 10 09:14:15 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Wed, 10 Jun 2009 18:14:15 +0200 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905291059i5602a89q84d7673ddcfff511@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> Message-ID: It would anyway be helpful if you could describe the steps to reproduce the issue. I'm afraid I won't be able to find out the problem without inspecting that locally by using a debug version of the builds. There have been a lot of changes between 5.2 and 5.4 so it's quite difficult to identify the location and the related changeset just by looking into the change log in the subversion. Best regards, Tamas 2009/6/10 Brian Fischer > I would agree with Paul. I am running 5.2 and previous version just fine > as well. > > > > *Brian Fischer,* CFM GIS Project Manager > *Houston Engineering, Inc.* > Phone: W: 763.493.4522 / M: 763.229.2734 > > > > *From:* Paul james [mailto:pauljame at gmail.com] > *Sent:* Wednesday, June 10, 2009 8:46 AM > *To:* Tamas Szekeres > *Cc:* Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; > Steve Lime > > *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI > error on IIS(5.1 and 6.0) ... Possible BUG? > > > > I don?t think its related to security settings... I can run the CGI on 5.2 > ... And as well with fastcgi on 5.4 ... > Anyway I gave all permission to all user in mapserver directory and app > directory... Nothing changes... > > Anyone test that with Postgis layer? I?m trying to get a shapefile to test > ... > > Paul > > On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres > wrote: > > Paul, > > I've just tried with the latest 5.4 version and worked fine though I'm > using OGR/mapinfo.tab data source. > > I suspect you may run into a problem related to the possible differences in > the security settings. Some files may not be accessible by the current user > executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI > and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. > > Best regards, > > Tamas > > 2009/6/9 Paul james > > > > Just one update in my tests... > Using FASTCGI It worked FINE (mapserver 5.4)... > > I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 > > Paul > > > > On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: > > Probably is a mapserver CGI bug... > > > > > > > > > Paul > > > > On Sat, May 30, 2009 at 11:56 PM, Brian Fischer > wrote: > > Paul, > > Just to let you know you are not alone. I am experiencing the same problem > with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W project. > Here?s a link to the bug report > http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard > anything back on a solution yet. I?m not sure if this is a MapServer bug or > a bug with the way the MS4W package was compiled. It runs fine of Apache > for me. > > > > Brian Fischer > > Houston Engineering, Inc. > > > > *From:* mapserver-users-bounces at lists.osgeo.org [mailto: > mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james > *Sent:* Friday, May 29, 2009 1:08 PM > *To:* Steve Lime > *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette > *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI > error on IIS(5.1 and 6.0) ... Possible BUG? > > > > > http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 > > Paul > > On Fri, May 29, 2009 at 3:01 PM, Steve Lime > wrote: > > What's the full URL submitted against the CGI? > > >>> On 5/29/2009 at 12:59 PM, in message > <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul > james > > wrote: > > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w > beta... > > 2 - I?m using normal CGI > > 3 - My tests are only with Postgis... I?ll generate a shapefile to > test > > later ... > > > > Paul > > > > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres > wrote: > > > >> Hi Paul, > >> > >> Did you experience the same with the release-1310 and release-1400 > >> versions? Did you experience the same with the development version? > >> Are you using fastCGI or normal cgi? > >> Is this just a PostGIS related problem or you get the same with a > simple > >> shapefile? > >> > >> Sorry for the bunch of the questions... > >> > >> Best regards, > >> > >> Tamas > >> > >> > >> > >> 2009/5/29 Paul james > >> > >>> Yes Daniel... I deleted all previous files and put only 5.4 > files... My > >>> mapscript application is working fine on 5.4... > >>> But the CGI dont... > >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... > >>> > >>> Paul > >>> > >>> > >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < > >>> dmorissette at mapgears.com> wrote: > >>> > >>>> Paul james wrote: > >>>> > >>>>> Hi Daniel... > >>>>> I got the binaries from Tamas build : > >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx > >>>>> And from MS4W 3.0 beta2... > >>>>> Same result with both... > >>>>> > >>>>> That error you got is my fault... I took off the : > >>>>> IMAGE "..\Map.png" > >>>>> from REFERENCE definition when copy the code to email... > >>>>> > >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 > >>>>> Just replacing with 5.4 binary I got that 502 error... > >>>>> > >>>>> > >>>> Hopefully you always make sure you update all DLLs as well when > you > >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, > if they > >>>> come from different build environments or versions they may not > be > >>>> compatible and could cause the kind of crashes that you are > experiencing. > >>>> > >>>> > >>>> Daniel > >>>> -- > >>>> Daniel Morissette > >>>> http://www.mapgears.com/ > >>>> > >>> > >>> > >>> _______________________________________________ > >>> mapserver-users mailing list > >>> mapserver-users at lists.osgeo.org > >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >>> > >>> > >> > > > > > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauljame at gmail.com Wed Jun 10 09:35:04 2009 From: pauljame at gmail.com (Paul james) Date: Wed, 10 Jun 2009 13:35:04 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> Message-ID: <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> I tested with a Shapefile, same bug with 5.4 and CGI.... Working fine with fastcgi... Paul On Wed, Jun 10, 2009 at 1:14 PM, Tamas Szekeres wrote: > It would anyway be helpful if you could describe the steps to reproduce the > issue. I'm afraid I won't be able to find out the problem without inspecting > that locally by using a debug version of the builds. There have been a lot > of changes between 5.2 and 5.4 so it's quite difficult to identify the > location and the related changeset just by looking into the change log in > the subversion. > > Best regards, > > Tamas > > > > 2009/6/10 Brian Fischer > > I would agree with Paul. I am running 5.2 and previous version just fine >> as well. >> >> >> >> *Brian Fischer,* CFM GIS Project Manager >> *Houston Engineering, Inc.* >> Phone: W: 763.493.4522 / M: 763.229.2734 >> >> >> >> *From:* Paul james [mailto:pauljame at gmail.com] >> *Sent:* Wednesday, June 10, 2009 8:46 AM >> *To:* Tamas Szekeres >> *Cc:* Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; >> Steve Lime >> >> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >> error on IIS(5.1 and 6.0) ... Possible BUG? >> >> >> >> I don?t think its related to security settings... I can run the CGI on 5.2 >> ... And as well with fastcgi on 5.4 ... >> Anyway I gave all permission to all user in mapserver directory and app >> directory... Nothing changes... >> >> Anyone test that with Postgis layer? I?m trying to get a shapefile to test >> ... >> >> Paul >> >> On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres >> wrote: >> >> Paul, >> >> I've just tried with the latest 5.4 version and worked fine though I'm >> using OGR/mapinfo.tab data source. >> >> I suspect you may run into a problem related to the possible differences >> in the security settings. Some files may not be accessible by the current >> user executing mapserv.exe which may be "IUSR_[computername]" for the normal >> CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. >> >> Best regards, >> >> Tamas >> >> 2009/6/9 Paul james >> >> >> >> Just one update in my tests... >> Using FASTCGI It worked FINE (mapserver 5.4)... >> >> I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 >> >> Paul >> >> >> >> On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: >> >> Probably is a mapserver CGI bug... >> >> >> >> >> >> >> >> >> Paul >> >> >> >> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer >> wrote: >> >> Paul, >> >> Just to let you know you are not alone. I am experiencing the same >> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >> project. Here?s a link to the bug report >> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >> anything back on a solution yet. I?m not sure if this is a MapServer bug or >> a bug with the way the MS4W package was compiled. It runs fine of Apache >> for me. >> >> >> >> Brian Fischer >> >> Houston Engineering, Inc. >> >> >> >> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >> *Sent:* Friday, May 29, 2009 1:08 PM >> *To:* Steve Lime >> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >> error on IIS(5.1 and 6.0) ... Possible BUG? >> >> >> >> >> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >> >> Paul >> >> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >> wrote: >> >> What's the full URL submitted against the CGI? >> >> >>> On 5/29/2009 at 12:59 PM, in message >> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >> james >> >> wrote: >> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >> beta... >> > 2 - I?m using normal CGI >> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >> test >> > later ... >> > >> > Paul >> > >> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >> wrote: >> > >> >> Hi Paul, >> >> >> >> Did you experience the same with the release-1310 and release-1400 >> >> versions? Did you experience the same with the development version? >> >> Are you using fastCGI or normal cgi? >> >> Is this just a PostGIS related problem or you get the same with a >> simple >> >> shapefile? >> >> >> >> Sorry for the bunch of the questions... >> >> >> >> Best regards, >> >> >> >> Tamas >> >> >> >> >> >> >> >> 2009/5/29 Paul james >> >> >> >>> Yes Daniel... I deleted all previous files and put only 5.4 >> files... My >> >>> mapscript application is working fine on 5.4... >> >>> But the CGI dont... >> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >> >>> >> >>> Paul >> >>> >> >>> >> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >> >>> dmorissette at mapgears.com> wrote: >> >>> >> >>>> Paul james wrote: >> >>>> >> >>>>> Hi Daniel... >> >>>>> I got the binaries from Tamas build : >> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >> >>>>> And from MS4W 3.0 beta2... >> >>>>> Same result with both... >> >>>>> >> >>>>> That error you got is my fault... I took off the : >> >>>>> IMAGE "..\Map.png" >> >>>>> from REFERENCE definition when copy the code to email... >> >>>>> >> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >> >>>>> Just replacing with 5.4 binary I got that 502 error... >> >>>>> >> >>>>> >> >>>> Hopefully you always make sure you update all DLLs as well when >> you >> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >> if they >> >>>> come from different build environments or versions they may not >> be >> >>>> compatible and could cause the kind of crashes that you are >> experiencing. >> >>>> >> >>>> >> >>>> Daniel >> >>>> -- >> >>>> Daniel Morissette >> >>>> http://www.mapgears.com/ >> >>>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> mapserver-users mailing list >> >>> mapserver-users at lists.osgeo.org >> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >>> >> >>> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfischer at houstoneng.com Wed Jun 10 09:58:00 2009 From: bfischer at houstoneng.com (Brian Fischer) Date: Wed, 10 Jun 2009 11:58:00 -0500 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <4A1FDCAB.5157.008F.0@dnr.state.mn.us> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> Message-ID: My tests where with shapefiles as well and I was using the MS4W 3.0 Beta 2 download. I was not doing anything fancy with IIS just tried to upgrade an existing application that is working fine with 5.2 to 5.4. I think if you were to test with the MS4W 3.0 beta release that hopefully would produce the same errors Paul and I are seeing. http://www.nabble.com/MapServer-5.4.0-beta2-upgrade-available-td22233100.html Let me know if you need any other details. I am using IIS 6.0. Brian Fischer, CFM GIS Project Manager Houston Engineering, Inc. Phone: W: 763.493.4522 / M: 763.229.2734 From: Paul james [mailto:pauljame at gmail.com] Sent: Wednesday, June 10, 2009 11:35 AM To: Tamas Szekeres Cc: Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; Steve Lime Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? I tested with a Shapefile, same bug with 5.4 and CGI.... Working fine with fastcgi... Paul On Wed, Jun 10, 2009 at 1:14 PM, Tamas Szekeres > wrote: It would anyway be helpful if you could describe the steps to reproduce the issue. I'm afraid I won't be able to find out the problem without inspecting that locally by using a debug version of the builds. There have been a lot of changes between 5.2 and 5.4 so it's quite difficult to identify the location and the related changeset just by looking into the change log in the subversion. Best regards, Tamas 2009/6/10 Brian Fischer > I would agree with Paul. I am running 5.2 and previous version just fine as well. Brian Fischer, CFM GIS Project Manager Houston Engineering, Inc. Phone: W: 763.493.4522 / M: 763.229.2734 From: Paul james [mailto:pauljame at gmail.com] Sent: Wednesday, June 10, 2009 8:46 AM To: Tamas Szekeres Cc: Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; Steve Lime Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? I don?t think its related to security settings... I can run the CGI on 5.2 ... And as well with fastcgi on 5.4 ... Anyway I gave all permission to all user in mapserver directory and app directory... Nothing changes... Anyone test that with Postgis layer? I?m trying to get a shapefile to test ... Paul On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres > wrote: Paul, I've just tried with the latest 5.4 version and worked fine though I'm using OGR/mapinfo.tab data source. I suspect you may run into a problem related to the possible differences in the security settings. Some files may not be accessible by the current user executing mapserv.exe which may be "IUSR_[computername]" for the normal CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. Best regards, Tamas 2009/6/9 Paul james > Just one update in my tests... Using FASTCGI It worked FINE (mapserver 5.4)... I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 Paul On Tue, Jun 2, 2009 at 10:12 AM, Paul james > wrote: Probably is a mapserver CGI bug... Paul On Sat, May 30, 2009 at 11:56 PM, Brian Fischer > wrote: Paul, Just to let you know you are not alone. I am experiencing the same problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W project. Here?s a link to the bug report http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard anything back on a solution yet. I?m not sure if this is a MapServer bug or a bug with the way the MS4W package was compiled. It runs fine of Apache for me. Brian Fischer Houston Engineering, Inc. From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Paul james Sent: Friday, May 29, 2009 1:08 PM To: Steve Lime Cc: mapserver-users at lists.osgeo.org; Daniel Morissette Subject: Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 Paul On Fri, May 29, 2009 at 3:01 PM, Steve Lime > wrote: What's the full URL submitted against the CGI? >>> On 5/29/2009 at 12:59 PM, in message <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul james > wrote: > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w beta... > 2 - I?m using normal CGI > 3 - My tests are only with Postgis... I?ll generate a shapefile to test > later ... > > Paul > > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres > wrote: > >> Hi Paul, >> >> Did you experience the same with the release-1310 and release-1400 >> versions? Did you experience the same with the development version? >> Are you using fastCGI or normal cgi? >> Is this just a PostGIS related problem or you get the same with a simple >> shapefile? >> >> Sorry for the bunch of the questions... >> >> Best regards, >> >> Tamas >> >> >> >> 2009/5/29 Paul james > >> >>> Yes Daniel... I deleted all previous files and put only 5.4 files... My >>> mapscript application is working fine on 5.4... >>> But the CGI dont... >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>> >>> Paul >>> >>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>> dmorissette at mapgears.com> wrote: >>> >>>> Paul james wrote: >>>> >>>>> Hi Daniel... >>>>> I got the binaries from Tamas build : >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>>> And from MS4W 3.0 beta2... >>>>> Same result with both... >>>>> >>>>> That error you got is my fault... I took off the : >>>>> IMAGE "..\Map.png" >>>>> from REFERENCE definition when copy the code to email... >>>>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>>>> Just replacing with 5.4 binary I got that 502 error... >>>>> >>>>> >>>> Hopefully you always make sure you update all DLLs as well when you >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, if they >>>> come from different build environments or versions they may not be >>>> compatible and could cause the kind of crashes that you are experiencing. >>>> >>>> >>>> Daniel >>>> -- >>>> Daniel Morissette >>>> http://www.mapgears.com/ >>>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at camptocamp.com Wed Jun 10 11:54:36 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Wed, 10 Jun 2009 20:54:36 +0200 Subject: [mapserver-users] Rendering order of objects in a layer In-Reply-To: <611578.95927.qm@web51402.mail.re2.yahoo.com> References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: <2922382e0906101154q500f0500y2ad7ab94efa08327@mail.gmail.com> three different layers is not optimal, as the outlines won't join nicely together (of course, if you aren't using outlines, then no problem). You can do this in mapserver with a postgis query: DATA "the_geom from (select gid, the_geom, ... from roads order by importance asc )as foo using unique gid the "importance" column in your database should have small values for minor roads, and larger values for major ones. by the way, the order of the classes has no effect on the order in which features are drawn. the order is only used for selecting which class is applied for any given feature: the first class which matches min/max scale and expression is used for that feature. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Wed, Jun 10, 2009 at 18:08, Dan Little wrote: > > If you're already pulling from a view, you might want to consider three views: > interstates > highways > local roads > > (or how ever you layer it) > > Then create three separate layers for each one of the views. > > > ----- Original Message ---- >> From: David Nugent >> To: mapserver-users at lists.osgeo.org >> Sent: Wednesday, June 10, 2009 8:41:48 AM >> Subject: [mapserver-users] Rendering order of objects in a layer >> >> Hello all, >> >> Is there any way in which the rendering order of objects in a layer can be >> determined by mapserver? >> >> For example, I want to ensure that major roads (highways, arterials) are >> rendered after local/minor/unimproved roads when all are rendered as a single >> layer; which tends to make joins between them look much nicer if the major roads >> are rendered first. >> >> This is for vector data coming from postgis, which ultimately results in >> executing the query on a view. I hesitate to fiddle with forcing index use here >> as I would think the gist queries on the geometry field would come into play. >> However, the results in the query seem to drop by chance regardless if the order >> of CLASS sections in the mapfile (which is what I would expect). >> >> Regards, >> David >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From szekerest at gmail.com Wed Jun 10 13:03:44 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Wed, 10 Jun 2009 22:03:44 +0200 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> Message-ID: 2009/6/10 Brian Fischer > My tests where with shapefiles as well and I was using the MS4W 3.0 Beta > 2 download. I was not doing anything fancy with IIS just tried to upgrade > an existing application that is working fine with 5.2 to 5.4. I think if > you were to test with the MS4W 3.0 beta release that hopefully would produce > the same errors Paul and I are seeing. > http://www.nabble.com/MapServer-5.4.0-beta2-upgrade-available-td22233100.html > > > Brian, I've just tried with this version and works for me: http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=C :\Maps\MapFiles\Bag50.map&mode=map mapserv reports the following version: C:\Inetpub\wwwroot\cgi-bin4>mapserv -v MapServer version 5.4.0-beta2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Using IIS6 and Windows Server 2003 x64 Best regards, Tamas -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidn at datalinktech.com.au Wed Jun 10 17:27:04 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 10:27:04 +1000 Subject: [mapserver-users] cartographic lines In-Reply-To: References: Message-ID: On Tue, 09 Jun 2009 16:21:32 +1000, David Nugent wrote: > On Tue, 09 Jun 2009 14:06:09 +1000, Rahkonen Jukka > wrote: > >> Thomas Bonfort seems to do it this way: >> CLASS >> EXPRESSION "primary" >> STYLE >> WIDTH 14 >> OUTLINECOLOR "#B7AC9A" >> OUTLINEWIDTH 1 >> MINWIDTH 1.5 >> MAXWIDTH 12 >> END >> STYLE >> WIDTH 14 >> COLOR "#FFFF7A" >> MINWIDTH 1.5 >> MAXWIDTH 12 >> END >> END > > Thanks, I'll give it a shot and post the results. IIRC though when I > tried a variation of this a couple of weeks back I kept getting the > mapserver message: "Cartoline drawing is deprecated with AGG", so I > figured that wasn't the correct way to do it. :-) Just to follow this up... yes, I do get the error message in the $MS_ERRORFILE but it renders correctly regardless. Is this message something I should be worried about? I have also mostly resolved the background problem I mentioned in my previous post. I'm not sure why but it simply stopped happening when I changed all colour specifications to quoted hexadecimal instead of individual R G B values. Just to be sure it wasn't a quirk I played with RGBA rendering and different values of IMAGECOLOR and sure enough the background changed accordingly. It is still rendering black outside of the EXTENT defined in the mapfile however (which it doesn't when rendering RGB), but I don't consider that a problem. Regards, David From thomas.bonfort at camptocamp.com Wed Jun 10 21:58:47 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Thu, 11 Jun 2009 06:58:47 +0200 Subject: [mapserver-users] cartographic lines In-Reply-To: References: Message-ID: <2922382e0906102158v30c90a2fvcbd661a6ec2dfd94@mail.gmail.com> >> >> Thanks, I'll give it a shot and post the results. IIRC though when I tried >> a variation of this a couple of weeks back I kept getting the mapserver >> message: "Cartoline drawing is deprecated with AGG", so I figured that >> wasn't the correct way to do it. :-) > > Just to follow this up... yes, I do get the error message in the > $MS_ERRORFILE but it renders correctly regardless. > > Is this message something I should be worried about? yes, this means that some of your features aren't being drawn. you must be having a layer that still references a cartoline symbol. regards, thomas From davidn at datalinktech.com.au Wed Jun 10 22:23:27 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 15:23:27 +1000 Subject: [mapserver-users] Rendering order of objects in a layer In-Reply-To: <611578.95927.qm@web51402.mail.re2.yahoo.com> References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: On Thu, 11 Jun 2009 02:08:54 +1000, Dan Little wrote: > > If you're already pulling from a view, you might want to consider three > views: > interstates > highways > local roads > > (or how ever you layer it) Yep, that is what I was originally doing, but I broke it by purposely combining all road layers to make joins between roads with outlines looking much better (which Thomas' reply referred to). As part of that change, and in order to improve visual effect, I decided instead to use ground relationship to split roads into three layers, resulting in tunnels under surface roads under bridges. I figured I could tidy up the side effects if I could just get objects within the layer rendering in order of road importance. :-) I will try playing with ordering in the DATA property as Thomas suggests. I wasn't aware it would handle "order by" (but only too aware that while being "sql like" it isn't exactly sql :-)). Thanks to both of you for the response, Regards, David From davidn at datalinktech.com.au Wed Jun 10 22:42:03 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 15:42:03 +1000 Subject: [mapserver-users] cartographic lines In-Reply-To: <2922382e0906102158v30c90a2fvcbd661a6ec2dfd94@mail.gmail.com> References: <2922382e0906102158v30c90a2fvcbd661a6ec2dfd94@mail.gmail.com> Message-ID: On Thu, 11 Jun 2009 14:58:47 +1000, Thomas Bonfort wrote: >>> a variation of this a couple of weeks back I kept getting the mapserver >>> message: "Cartoline drawing is deprecated with AGG", so I figured that >>> wasn't the correct way to do it. :-) >> >> Just to follow this up... yes, I do get the error message in the >> $MS_ERRORFILE but it renders correctly regardless. >> >> Is this message something I should be worried about? > > yes, this means that some of your features aren't being drawn. you > must be having a layer that still references a cartoline symbol. Hmm, I'm still using symbols for rendering several features including train lines and tracks/trails. What does mapserver consider a "cartoline symbol"? A single point elipse or something similar? Assuming it is a specific type of symbol in the symbolset, I could try removing any that qualify and see what breaks... Thanks, David From thomas.bonfort at camptocamp.com Wed Jun 10 22:42:10 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Thu, 11 Jun 2009 07:42:10 +0200 Subject: [mapserver-users] Rendering order of objects in a layer In-Reply-To: References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: <2922382e0906102242q5e39c85bra5ad0386ea2e88b2@mail.gmail.com> > > I will try playing with ordering in the DATA property as Thomas suggests. I > wasn't aware it would handle "order by" (but only too aware that while being > "sql like" it isn't exactly sql :-)). it is *exactly sql* : that query string is being sent to your database, so you can do joins, groupby's, etc... regards, thomas From davidn at datalinktech.com.au Wed Jun 10 22:59:56 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 15:59:56 +1000 Subject: [mapserver-users] Rendering order of objects in a layer In-Reply-To: <2922382e0906102242q5e39c85bra5ad0386ea2e88b2@mail.gmail.com> References: <611578.95927.qm@web51402.mail.re2.yahoo.com> <2922382e0906102242q5e39c85bra5ad0386ea2e88b2@mail.gmail.com> Message-ID: On Thu, 11 Jun 2009 15:42:10 +1000, Thomas Bonfort wrote: >> >> I will try playing with ordering in the DATA property as Thomas >> suggests. I >> wasn't aware it would handle "order by" (but only too aware that while >> being >> "sql like" it isn't exactly sql :-)). > > it is *exactly sql* : that query string is being sent to your > database, so you can do joins, groupby's, etc... Ah, its a subquery... I turned up debugging for other reasons and see now how it is transformed. Thanks again, David From thomas.bonfort at camptocamp.com Wed Jun 10 23:17:46 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Thu, 11 Jun 2009 08:17:46 +0200 Subject: [mapserver-users] cartographic lines In-Reply-To: References: <2922382e0906102158v30c90a2fvcbd661a6ec2dfd94@mail.gmail.com> Message-ID: <2922382e0906102317n2fa24706ud43e683e99f512a8@mail.gmail.com> > What does mapserver consider a "cartoline symbol"? A single point elipse or > something similar? any symbol with TYPE CARTOLINE in it, simple no? :) regards, thomas > > Assuming it is a specific type of symbol in the symbolset, I could try > removing any that qualify and see what breaks... > > > Thanks, > David > From davidn at datalinktech.com.au Wed Jun 10 23:24:21 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 16:24:21 +1000 Subject: [mapserver-users] cartographic lines In-Reply-To: References: <2922382e0906102158v30c90a2fvcbd661a6ec2dfd94@mail.gmail.com> Message-ID: On Thu, 11 Jun 2009 15:42:03 +1000, I wrote: > On Thu, 11 Jun 2009 14:58:47 +1000, Thomas Bonfort > wrote: > >>>> a variation of this a couple of weeks back I kept getting the >>>> mapserver >>>> message: "Cartoline drawing is deprecated with AGG", so I figured that >>>> wasn't the correct way to do it. :-) >>> >>> Just to follow this up... yes, I do get the error message in the >>> $MS_ERRORFILE but it renders correctly regardless. >>> >>> Is this message something I should be worried about? >> >> yes, this means that some of your features aren't being drawn. you >> must be having a layer that still references a cartoline symbol. > > > Hmm, I'm still using symbols for rendering several features including > train lines and tracks/trails. > > What does mapserver consider a "cartoline symbol"? A single point elipse > or something similar? To answer my own question, ones of "TYPE CARTOLINE" of course. :-) Now found and fixed it, thanks. Regards, David From davidn at datalinktech.com.au Wed Jun 10 23:37:11 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Thu, 11 Jun 2009 16:37:11 +1000 Subject: [mapserver-users] R In-Reply-To: References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: On Thu, 11 Jun 2009 15:23:27 +1000, I wrote: >> If you're already pulling from a view, you might want to consider three >> views: >> interstates >> highways >> local roads >> >> (or how ever you layer it) > > Yep, that is what I was originally doing, but I broke it by purposely > combining all road layers to make joins between roads with outlines > looking much better (which Thomas' reply referred to). > > As part of that change, and in order to improve visual effect, I decided > instead to use ground relationship to split roads into three layers, > resulting in tunnels under surface roads under bridges. I figured I > could tidy up the side effects if I could just get objects within the > layer rendering in order of road importance. :-) > > I will try playing with ordering in the DATA property as Thomas suggests. This works perfectly, so now I'm 95% there. :-) One last problem I'm scratching my head on. I want to highlight bridges by using a thick border on each side of the road (and if possible an angular section at each end of the border as often seen in traditional road maps). Using an outline won't work for this as outlines close the end points of the line segment with a border and I would prefer them to blend directly with the road to which they belong. I'm thinking a symbol would be needed but not sure how to approach it. Like (view this with a fixed width font): ____\____________________________/__ ____ ____________________________ __ / \ (imagine lines joining \/ being thick) How to achieve such a border? Regards, David From snaperski at gmail.com Thu Jun 11 00:18:28 2009 From: snaperski at gmail.com (Raivo Alla) Date: Thu, 11 Jun 2009 10:18:28 +0300 Subject: [mapserver-users] labeling streets In-Reply-To: <49dc012b0906082348j1b307d45w51e761877ab37b9d@mail.gmail.com> References: <49dc012b0906080027o236d330eqa9d9a657f540a6f7@mail.gmail.com> <4A2CE004.5070907@dmsolutions.ca> <49dc012b0906082250n18ccc862m6ba6f0898c840c46@mail.gmail.com> <2922382e0906082318j481d7e51h5330d2ae39e8554e@mail.gmail.com> <49dc012b0906082348j1b307d45w51e761877ab37b9d@mail.gmail.com> Message-ID: <49dc012b0906110018w5814a45exaa9ed05d13cfb259@mail.gmail.com> Hi, I think I found the cause. When declaring ANGLE AUTO, then MINFEATURESIZE auto was working. But with ANGLE FOLLOW there was a problem displaying labels. Could it be considered as a bug? Raivo On Tue, Jun 9, 2009 at 9:48 AM, Raivo Alla wrote: > Hi, > > I added red box to visualize line vertices > (style > ?geomtransform "start" > ?symbol "box" > ?color 255 0 0 > ?size 6 > ?end) and the result is displayed here: > > http://picasaweb.google.com/snaperski/Ort#5345215158256974066 > > > Best wishes, > Raivo > > On Tue, Jun 9, 2009 at 9:18 AM, Thomas > Bonfort wrote: >> Raivo, >> >> are you sure that your streets only contain one feature? >> If you are using 5.4+, you can check by appending a geomtransform >> style to your street layer, to draw a symbol at the beginning of each >> feature: >> >> style >> ?geomtransform "start" >> ?symbol "circle" >> ?color 255 0 0 >> ?size 15 >> end >> >> regards, >> >> thomas >> >> www.camptocamp.com >> +33 4 79 26 57 97 >> >> >> >> On Tue, Jun 9, 2009 at 07:50, Raivo Alla wrote: >>> Thank You, >>> >>> so it should be, but somehow in my case it does not work properly. >>> When i have no declaration of MINFEATURESIZE, then the picture looks fine: >>> http://picasaweb.google.com/snaperski/Ort#5345194219497220482 >>> But when I add MINFEATURESIZE AUTO, most labels just disappear, even >>> if they have enough space to fit in: >>> http://picasaweb.google.com/snaperski/Ort#5345195269825705586 >>> >>> And those labeled straight streets contain only one feature (line >>> feature) each - so the label should fit in decently. >>> >>> Label is declared this way: >>> ? ? ? ? ? ? ? ?LABEL >>> ? ? ? ? ? ? ? ? ? ? ? ?TYPE truetype >>> ? ? ? ? ? ? ? ? ? ? ? ?ANTIALIAS true >>> ? ? ? ? ? ? ? ? ? ? ? ?FONT "arial" >>> ? ? ? ? ? ? ? ? ? ? ? ?COLOR 240 240 240 >>> ? ? ? ? ? ? ? ? ? ? ? ?OUTLINECOLOR 52 52 52 >>> ? ? ? ? ? ? ? ? ? ? ? ?SIZE 9 >>> ? ? ? ? ? ? ? ? ? ? ? ?force false >>> ? ? ? ? ? ? ? ? ? ? ? ?MINDISTANCE 250 >>> ? ? ? ? ? ? ? ? ? ? ? ?MINFEATURESIZE auto >>> ? ? ? ? ? ? ? ? ? ? ? ?ANGLE follow >>> ? ? ? ? ? ? ? ? ? ? ? ?POSITION cc >>> ? ? ? ? ? ? ? ? ? ? ? ?BUFFER 1 >>> ? ? ? ? ? ? ? ?END >>> >>> Changing FORCE or POSITION parameters didnt help either.... >>> >>> >>> Raivo >>> >>> On Mon, Jun 8, 2009 at 12:55 PM, Christy Nieman wrote: >>>> Hi, >>>> >>>> You could set MINFEATURESIZE to AUTO and then only the labels that fit on >>>> the lines should be drawn. >>>> >>>> Regards, >>>> Christy >>>> >>>> Raivo Alla wrote: >>>>> >>>>> Hello! >>>>> >>>>> I'm stuck in simple-looking problem, but the solution is just hiding >>>>> somewhere. >>>>> >>>>> The question is: how I can label only those line features, whos label >>>>> does not run over the line like that: >>>>> >>>>> http://picasaweb.google.com/snaperski/Ort#5344831130138846050 >>>>> >>>>> As street lengths are very different, I cant solve the problem by >>>>> setting suitable MINFEATURESIZE for >>>>> >>>>> respective MINSCALE,MAXSCALE range. >>>>> >>>>> >>>>> All the best, >>>>> Raivo Alla >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> > From bamerbalazs at gmail.com Thu Jun 11 00:31:07 2009 From: bamerbalazs at gmail.com (=?UTF-8?B?QmFsw6F6cyBCw6FtZXI=?=) Date: Thu, 11 Jun 2009 09:31:07 +0200 Subject: [mapserver-users] WFS GetFeature problem Message-ID: Hi All, Mapserver is 5.4.1 under Ubuntu 8.10, compiled after ./configure --with-oci --with-oraclespatial=/usr/local/instantclient_11_1 --with-proj --with-threads --with-gdal --with-ogr --with-jpeg --with-png=/usr/lib --with-php=/usr/include/php5 --with-wmsclient --with-wfsclient --with-fastcgi=/usr --with-wfs I try to use Mapserver WFS to query features by = operator. The problem is altough the feature is found and returned, the attributes are missing. The DescribeFeature request http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=blokk2009&OUTPUTFORMAT=XMLSCHEMA returns as far as I know, attributes should be described in the tag. My mapfile is (without other layers) MAP NAME BLOKKNEZ STATUS ON SIZE 650 500 # xmin ymin xmax ymax? EXTENT 420000 40000 950000 370000 UNITS METERS PROJECTION "init=epsg:23700" END SHAPEPATH "." IMAGECOLOR 200 200 200 IMAGETYPE png32 FONTSET fonts.txt DEBUG 5 CONFIG "MS_ERRORFILE" "/var/log/mapserver-5.4.1/error.txt" CONFIG "ON_MISSING_DATA" "LOG" WEB MINSCALEDENOM 10000 MAXSCALEDENOM 1000000 IMAGEPATH "/tmp" IMAGEURL "/tmp" LOG "/var/log/mapserver-5.4.1/ms_error.txt" METADATA "wms_title" "Blokkhatar nezegeto" "wfs_title" "Blokkhatar nezegeto" "wms_onlineresource" "http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?" "wfs_onlineresource" "http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?" "wms_srs" "EPSG:23700" "wfs_srs" "EPSG:23700" END END LEGEND IMAGECOLOR 255 255 255 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END SIZE 150 5 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 UNITS meters INTERVALS 5 STATUS ON END QUERYMAP STYLE HILITE COLOR 255 0 0 END OUTPUTFORMAT NAME png32 DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END LAYER PROCESSING "CLOSE_CONNECTION=DEFER" NAME blokk2009 METADATA "DESCRIPTION" "blokk 2009" "wms_title" "blokk 2009" "wfs_title" "blokk 2008" "ows_include_items" "all" "ows_extent" '426400 43800 937400 362900' "wfs_featureid" "tfotvbaz" END PROJECTION "init=epsg:23700" END TYPE POLYGON MINSCALEDENOM 999 MAXSCALEDENOM 200001 STATUS ON CONNECTIONTYPE oraclespatial CONNECTION "gis/gis@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=200.1.1.25)(PORT=1521)))(CONNECT_DATA=(SID=db2)))" DATA "bgeom from (SELECT bgeom,bloaz,bpter/10000.0 as bpterha,tfotvbaz FROM tfotvb where tolda = to_Date('20090303','YYYYMMDD')) using unique tfotvbaz SRID 23700" CLASS NAME "blokk2009" STYLE OUTLINECOLOR 55 55 255 END END DUMP TRUE TEMPLATE "template.html" DEBUG 5 END # layer blokk2009 END # Map File What is missing? Thank you in advance. Best regards: Bal?zs From bamerbalazs at gmail.com Thu Jun 11 01:57:17 2009 From: bamerbalazs at gmail.com (=?UTF-8?B?QmFsw6F6cyBCw6FtZXI=?=) Date: Thu, 11 Jun 2009 10:57:17 +0200 Subject: [mapserver-users] Re: WFS GetFeature problem In-Reply-To: References: Message-ID: Hi All, I respond to myself. I thought this "ows_include_items" "all" is enough in layer metadata, but this "gml_include_items" "all" is also required. Best regards: Bal?zs From rayonegro at gmail.com Thu Jun 11 02:29:45 2009 From: rayonegro at gmail.com (Peter Lock) Date: Thu, 11 Jun 2009 02:29:45 -0700 (PDT) Subject: [mapserver-users] WMS Filter using Logical Operator Message-ID: <1244712585606-3061075.post@n2.nabble.com> Hi all, I'm trying to do a WMS request using a SLD filter. If I use a single comparison operator (PropertyIsLike) in my filter all works fine, but when I use a combination of 2 PropertyIsLike operators using a logical operator (And/Or) it looks like MapServer is only using the last comparison operator. This filter works fine; it shows all data where LOC_NAAM is like *MATH*: mylayer xxx LOC_NAAM *MATH* center-line #0000ff 2.0 But the next filter shows all data where LOC_NAAM is like *WEG*, but also the data where LOC_NAAM is not like *MATH*, which is incorrect: it should show all data where LOC_NAAM contains both WEG and MATH: mylayer xxx LOC_NAAM *MATH* LOC_NAAM *WEG* center-line #0000ff 2.0 If I use these filters for a WFS request all works fine. My question is: is it possible to use these logical operators in a filter in a WMS request? And if so, how has this to be done? I hope you can help me! Best regards, Peter Lock -- View this message in context: http://n2.nabble.com/WMS-Filter-using-Logical-Operator-tp3061075p3061075.html Sent from the Mapserver - User mailing list archive at Nabble.com. From ericfrancois at hotmail.com Thu Jun 11 03:40:32 2009 From: ericfrancois at hotmail.com (Eric Francois) Date: Thu, 11 Jun 2009 12:40:32 +0200 Subject: [mapserver-users] Metadata.dim DIMAP Message-ID: Hello, I'm not able to use directly Spot Image ( metadata.dim + IMAGERY.TIF) in Mapserver. Nevertheless, gdalinfo --formats told me in supported formts list : DIMAP(ro): SPOT DIMAP. I tried to use gcps2wld.py IMAGERY.TIF > IMAGERY.tfw or gcps2wld.py METADATA.DIM > IMAGERY.tfw. Both tfw files give me, when used in Mapserver, 50 meters images too much in Est. Any idea ? Thanks Eric From warmerdam at pobox.com Thu Jun 11 08:38:10 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu, 11 Jun 2009 11:38:10 -0400 Subject: [mapserver-users] Metadata.dim DIMAP In-Reply-To: References: Message-ID: <4A3124E2.3030004@pobox.com> Eric Francois wrote: > Hello, > > I'm not able to use directly Spot Image ( metadata.dim + IMAGERY.TIF) in > Mapserver. Eric, Why are you not able to use directly the spot image metadata.dim + imagery.tif in MapServer? > Nevertheless, gdalinfo --formats told me in supported formts list : > DIMAP(ro): SPOT DIMAP. > > I tried to use gcps2wld.py IMAGERY.TIF > IMAGERY.tfw or gcps2wld.py > METADATA.DIM > IMAGERY.tfw. Both tfw files give me, when used in Mapserver, > 50 meters images too much in Est. I would suggest you file a ticket against GDAL with an example file demonstrating the problem (the metadata.dim would likely be sufficient) and careful explanation of why you think the origin is wrong. It may be an "off by half a pixel error" which are common in interpreting the origin of new file formats. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From Alexandre.Laplante at statcan.gc.ca Thu Jun 11 13:25:31 2009 From: Alexandre.Laplante at statcan.gc.ca (Alexandre.Laplante at statcan.gc.ca) Date: Thu, 11 Jun 2009 16:25:31 -0400 Subject: [mapserver-users] Ignoring top level settings In-Reply-To: <4620211203EFB04B91AC83F33DF0ECF795B79A@stcem12.statcan.ca> Message-ID: <4620211203EFB04B91AC83F33DF0ECF795B7A2@stcem12.statcan.ca> I I've discovered that the base layer rendering as jpg was a problem with my openlayers, not mapserver. However, I still can't change my top-level projection or extent. Any help is greatly appreciated. Thank you. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre.Laplante at statcan.gc.ca Sent: June 8, 2009 9:35 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Ignoring top level settings Hello list, It seems as though my top level settings in my mapfile are being ignored. No matter what I put as projection, the output doesn't change (unless it's an invalid projection). Changing the values of EXTENT doesn't change anything either, as my map always starts zoomed out very far. I also have not been able to make my base layer output as anything other than jpg. I have a feeling that this is related to an invalid /tmp/ location in the mapfile. I have not been able to write the location of the /tmp/ folder (it's on the root of my c: drive) in a way that mapserver will use it. Apart from these things, everything works fine. I've been able to sort of counter-act the projection ignoring by telling mapserver that the layer's projection has lat_0=-49 when in fact, it is in epsg:43204 meaning lat_0=49. I've attached my mapfile. Thanks in advance, Alexandre Laplante ?tudiant Co-op / Co-op Student Division de l'Agriculture / Agriculture Division Statistique Canada / Statistics Canada 170 Tunney's Pasture Driveway ?d. Jean-Talon, 12? ?tage D1 / Jean-Talon Building, 12th floor D1 Ottawa, Ontario <> -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmoen at offroadsoftware.com Thu Jun 11 19:59:55 2009 From: pmoen at offroadsoftware.com (Paul Moen) Date: Thu, 11 Jun 2009 21:59:55 -0500 Subject: [mapserver-users] How to label a feature once. Message-ID: Is there anyway to label a polygon once? One feature one label. I am using Mapserver 5.4.1. Image below shows the problem, there seem to be 4 labels in each township polygon. LAYER NAME "Townships" PROJECTION "proj=longlat" "ellps=GRS80" "datum=NAD83" "no_defs" END DATA townships_poly TYPE POLYGON TEMPLATE "dummy" LABELITEM twprng STATUS ON CLASS MAXSCALEDENOM 450000 MINSCALEDENOM 40000 NAME "Townships" STYLE SYMBOL 'circle_shortlong_dash' SIZE 1 OUTLINECOLOR 125 125 125 END LABEL FONT helveticabold TYPE TRUETYPE SIZE 10 COLOR 125 125 125 OUTLINECOLOR 251 239 136 POSITION auto END END END -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.gif Type: image/gif Size: 9552 bytes Desc: not available URL: -------------- next part -------------- From pmoen at offroadsoftware.com Thu Jun 11 20:36:03 2009 From: pmoen at offroadsoftware.com (Paul Moen) Date: Thu, 11 Jun 2009 22:36:03 -0500 Subject: [mapserver-users] How to label a feature once. In-Reply-To: References: Message-ID: <25D57C92-C14E-45EC-8066-67B54219C88E@offroadsoftware.com> David, Thanks for the reply. Unfortunately for me, that was the first thing that I tried. No matter what value I put in for MINDISTANCE the output remained the same. Thanks, Paul On Jun 11, 2009, at 10:28 PM, David Nugent wrote: > On Fri, 12 Jun 2009 12:59:55 +1000, Paul Moen > wrote: > >> Is there anyway to label a polygon once? One feature one label. I >> am >> using Mapserver 5.4.1. Image below shows the problem, there seem to >> be 4 labels in each township polygon. > > > I would usually use MINDISTANCE with a large value in the LABEL > section to solve this. > > > Regards, > David -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmoen at offroadsoftware.com Thu Jun 11 21:15:15 2009 From: pmoen at offroadsoftware.com (Paul Moen) Date: Thu, 11 Jun 2009 23:15:15 -0500 Subject: [mapserver-users] How to label a feature once. In-Reply-To: References: <49F486C8-EE75-477D-A571-48FEE7A1ADE0@offroadsoftware.com> Message-ID: <639621C9-C1F6-4CB2-B823-EADD1B5F677B@offroadsoftware.com> I figured it out. The images I am using are tiled so there are 4 images server by Mapserver with each labeled one time, which gives the appearance of 4 labels on one feature. So, Mapserver is working exactly the way it should and I am not. On Jun 11, 2009, at 11:09 PM, David Nugent wrote: > On Fri, 12 Jun 2009 13:34:06 +1000, Paul Moen > wrote: > >> Thanks for the reply. Unfortunately for me, that was the first >> thing that I tried. No matter what value I put in for MINDISTANCE >> the output remained the same. > > See if POSITION CC helps. > > IIRC there is some strange interaction between MINDISTANCE and > POSITION AUTO. > > Also try MINDISTANCE AUTO. > > Mapserver is not without some quirks. :) > > Regards, > David > > >> Thanks, >> Paul >> >>> On Fri, 12 Jun 2009 12:59:55 +1000, Paul Moen >> > wrote: >>> >>>> Is there anyway to label a polygon once? One feature one label. >>>> I am >>>> using Mapserver 5.4.1. Image below shows the problem, there seem >>>> to >>>> be 4 labels in each township polygon. >>> >>> >>> I would usually use MINDISTANCE with a large value in the LABEL >>> section to solve this. >>> >>> >>> Regards, >>> David >> From davidn at datalinktech.com.au Thu Jun 11 21:34:54 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Fri, 12 Jun 2009 14:34:54 +1000 Subject: [mapserver-users] R In-Reply-To: References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: Greetings all, On Thu, 11 Jun 2009 16:37:11 +1000, I wrote: > One last problem I'm scratching my head on. > > I want to highlight bridges by using a thick border on each side of the > road (and if possible an angular section at each end of the border as > often seen in traditional road maps). Using an outline won't work for > this as outlines close the end points of the line segment with a border > and I would prefer them to blend directly with the road to which they > belong. I'm thinking a symbol would be needed but not sure how to > approach it. > > Like (view this with a fixed width font): > > ____\____________________________/__ > ____ ____________________________ __ > / \ > > (imagine lines joining \/ being thick) > > How to achieve such a border? Following up on my own post again... SYMBOL does not appear to be well suited (unless I'm missing something) but I've come close with GEOMTRANSFORM, however only at the start and end of a line segment using what are essentially reversed arrowheads. I read the RFC in the mapserver 5.4 documentation and it talks about plans to extend functionality of GEOMTRANSFORM (which it incorrectly refers to as GEOTRANSFORM and GEOMETRYTRANSFORM, incidentally), and I *think* either the "distance" or "buffer" might achieve most of what I need with ANGLE AUTO - to draw a parallel line segment. However neither appears to be implemented yet. Regards, David From project10 at project10.net Thu Jun 11 22:17:58 2009 From: project10 at project10.net (Shawn Gervais) Date: Fri, 12 Jun 2009 00:17:58 -0500 Subject: [mapserver-users] How to label a feature once. In-Reply-To: <639621C9-C1F6-4CB2-B823-EADD1B5F677B@offroadsoftware.com> References: <49F486C8-EE75-477D-A571-48FEE7A1ADE0@offroadsoftware.com> <639621C9-C1F6-4CB2-B823-EADD1B5F677B@offroadsoftware.com> Message-ID: <4A31E506.9090301@project10.net> Paul Moen wrote: > I figured it out. The images I am using are tiled so there are 4 images > server by Mapserver with each labeled one time, which gives the > appearance of 4 labels on one feature. So, Mapserver is working exactly > the way it should and I am not. You can have MapServer use a fixed label point across tiles by using the "PROCESSING 'LABEL_NO_CLIP=TRUE'" directive in your layer definition. That should give you the result you expect. -S From thomas.bonfort at camptocamp.com Thu Jun 11 23:03:41 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Fri, 12 Jun 2009 08:03:41 +0200 Subject: [mapserver-users] R In-Reply-To: References: <611578.95927.qm@web51402.mail.re2.yahoo.com> Message-ID: <2922382e0906112303r504d7659p32fb788ae0ac4fb3@mail.gmail.com> you can have a look at how bridges are done on the wiki page that accompanies the map on the mapserver.org frontpage (there's a bridge right south of the sydney exhibition center when you zoom in to the closest level, not sure why some don't show up on motorways). That, coupled with start/end geotransform should get quite close to what you want. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Fri, Jun 12, 2009 at 06:34, David Nugent wrote: > Greetings all, > > On Thu, 11 Jun 2009 16:37:11 +1000, I wrote: >> >> One last problem I'm scratching my head on. >> >> I want to highlight bridges by using a thick border on each side of the >> road (and if possible an angular section at each end of the border as often >> seen in traditional road maps). Using an outline won't work for this as >> outlines close the end points of the line segment with a border and I would >> prefer them to blend directly with the road to which they belong. I'm >> thinking a symbol would be needed but not sure how to approach it. >> >> Like (view this with a fixed width font): >> >> ____\____________________________/__ >> ____ ____________________________ __ >> ? ?/ ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ >> >> (imagine lines joining \/ being thick) >> >> How to achieve such a border? > > > Following up on my own post again... > > SYMBOL does not appear to be well suited (unless I'm missing something) but > I've come close with GEOMTRANSFORM, however only at the start and end of a > line segment using what are essentially reversed arrowheads. > > I read the RFC in the mapserver 5.4 documentation and it talks about plans > to extend functionality of GEOMTRANSFORM (which it incorrectly refers to as > GEOTRANSFORM and GEOMETRYTRANSFORM, incidentally), and I *think* either the > "distance" or "buffer" might achieve most of what I need with ANGLE AUTO - > to draw a parallel line segment. However neither appears to be implemented > yet. > > > Regards, > David > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From davidn at datalinktech.com.au Thu Jun 11 23:50:24 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Fri, 12 Jun 2009 16:50:24 +1000 Subject: [mapserver-users] R In-Reply-To: <2922382e0906112303r504d7659p32fb788ae0ac4fb3@mail.gmail.com> References: <611578.95927.qm@web51402.mail.re2.yahoo.com> <2922382e0906112303r504d7659p32fb788ae0ac4fb3@mail.gmail.com> Message-ID: On Fri, 12 Jun 2009 16:03:41 +1000, Thomas Bonfort wrote: > you can have a look at how bridges are done on the wiki page that > accompanies the map on the mapserver.org frontpage (there's a bridge > right south of the sydney exhibition center when you zoom in to the > closest level, not sure why some don't show up on motorways). That, > coupled with start/end geotransform should get quite close to what you > want. Thanks Thomas, The geomtransform is ok on straight stretches but otherwise I'll consider it a work in progress - it generally looks poor on curved stretches of road. :-) I may well have to do with the thicker outlines similar to the demo map or make them smaller or something. Since the wiki is pretty much broken now (moved, unchanged base href and so on), I'm assuming the outline was done with a filled "bar" symbol with negative gap under the road line since it looks similar to the solution I eventually wound up with to get the borders without closing the ends of the segments. Regards, David From vppriya at tenet.res.in Thu Jun 11 23:59:39 2009 From: vppriya at tenet.res.in (padma priya) Date: Fri, 12 Jun 2009 12:29:39 +0530 Subject: [mapserver-users] Displaying maps on the mobile Message-ID: <20090612065939.16855.qmail@mail.tenet.res.in> Hi Can anyone give me pointers on how to display maps on the mobile. I have a good GIS web site working with mapserver and openlayers. But i need to view simplified maps on the mobile too. Is that possible. TIA pipri From thomas.bonfort at camptocamp.com Fri Jun 12 00:26:12 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Fri, 12 Jun 2009 09:26:12 +0200 Subject: [mapserver-users] R In-Reply-To: References: <611578.95927.qm@web51402.mail.re2.yahoo.com> <2922382e0906112303r504d7659p32fb788ae0ac4fb3@mail.gmail.com> Message-ID: <2922382e0906120026g5d52fc0ak429468c5bc2df619@mail.gmail.com> > Since the wiki is pretty much broken now (moved, unchanged base href and so > on), I'm assuming the outline was done with a filled "bar" symbol with > negative gap under the road line since it looks similar to the solution I > eventually wound up with to get the borders without closing the ends of the > segments. no, they are normal lines, except the first style (the thickest one) has butt caps. regards, thomas From frederic.junod at camptocamp.com Fri Jun 12 01:09:13 2009 From: frederic.junod at camptocamp.com (Frederic Junod) Date: Fri, 12 Jun 2009 10:09:13 +0200 Subject: [mapserver-users] Displaying maps on the mobile In-Reply-To: <20090612065939.16855.qmail@mail.tenet.res.in> References: <20090612065939.16855.qmail@mail.tenet.res.in> Message-ID: <21c3d1f40906120109r1172ca85l7ed811fe067ba201@mail.gmail.com> Hi, I've tested iOL from opengeo [1]: "iOL.js makes OpenLayers map handling and editing capabilities available on the iPhone". Works well but it's iphone specific, no other devices support (nokia, android, ...) fredj [1] http://opengeo.org/community/mobile/ On Fri, Jun 12, 2009 at 8:59 AM, padma priya wrote: > Hi > Can anyone give me pointers on how to display maps on the mobile. I have a good GIS web site working with mapserver and openlayers. But i need to view simplified maps on the mobile too. Is that possible. > > TIA > pipri > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Fr?d?ric Junod Camptocamp SA From vppriya at tenet.res.in Fri Jun 12 02:58:31 2009 From: vppriya at tenet.res.in (padma priya) Date: Fri, 12 Jun 2009 15:28:31 +0530 Subject: [mapserver-users] Displaying maps on the mobile Message-ID: <20090612095831.21977.qmail@mail.tenet.res.in> Thanks but does mapserver support map creation for the mobile browser? From frederic.junod at camptocamp.com Fri Jun 12 03:18:46 2009 From: frederic.junod at camptocamp.com (Frederic Junod) Date: Fri, 12 Jun 2009 12:18:46 +0200 Subject: [mapserver-users] Displaying maps on the mobile In-Reply-To: <20090612095831.21977.qmail@mail.tenet.res.in> References: <20090612095831.21977.qmail@mail.tenet.res.in> Message-ID: <21c3d1f40906120318w195e024bsfb425651d66d7f01@mail.gmail.com> If the images returned by mapserver (WMS) are viewable by the mobile browser, then yes: it's supported. The main problem here is the map navigation (pan, zoom, etc ...) with OpenLayers in a mobile browser. But that's a javascript problem, not a mapserver problem. fredj On Fri, Jun 12, 2009 at 11:58 AM, padma priya wrote: > Thanks but does mapserver support map creation for the mobile browser? -- Fr?d?ric Junod Camptocamp SA From steve at sjk.net.au Fri Jun 12 03:23:19 2009 From: steve at sjk.net.au (Stephen Kelly) Date: Fri, 12 Jun 2009 20:23:19 +1000 Subject: [mapserver-users] Displaying maps on the mobile In-Reply-To: References: Message-ID: Hi, Technically MapServer does not know or care, what it is creating a map for, it is the website built around MapServer, that matters. But the simple answer is Yes - it can be done - we here have done 3 different solutions that we have done for mobiles. a) - simple browser (mobile or normal web browser) based that will work on any phone with a browser b) - advanced functions and maps in a client side application for windows mobiles c) - advanced JavaScript website that works on iPhones / blackberries I hope this help, if you want any more information I will (should) be around most of the weekend and can talk to you more about this. Thanks Stephen Kelly www.Peepel.com -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of padma priya Sent: Friday, 12 June 2009 8:06 PM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Displaying maps on the mobile Thanks but does mapserver support map creation for the mobile browser? _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From vppriya at tenet.res.in Fri Jun 12 03:57:08 2009 From: vppriya at tenet.res.in (padma priya) Date: Fri, 12 Jun 2009 16:27:08 +0530 Subject: [mapserver-users] Displaying maps on the mobile Message-ID: <20090612105708.24105.qmail@mail.tenet.res.in> Thanks Stephen. I have a web GIS application which runs on firefox or IE. But it does not display map on the mobile browser. The basic architecture is this: PHP page, invoking mapserver through mapfiles. I was thinking if I can get a image output from mapserver which was reduced/compressed in size it may solve the problem. when i create a basic border outline kinda map the image generated through shp2img is about 600kb which is a lot to display on a mobile. Maybe that is the reason my web page does not display on the mobile browser? -----Original Message----- From: "stephen kelly" Date: Fri, 12 Jun 2009 20:23:19 +1000 To: "padma priya" , CC: Subject: RE: [mapserver-users] Displaying maps on the mobile Hi, Technically MapServer does not know or care, what it is creating a map for, it is the website built around MapServer, that matters. But the simple answer is Yes - it can be done - we here have done 3 different solutions that we have done for mobiles. a) - simple browser (mobile or normal web browser) based that will work on any phone with a browser b) - advanced functions and maps in a client side application for windows mobiles c) - advanced JavaScript website that works on iPhones / blackberries I hope this help, if you want any more information I will (should) be around most of the weekend and can talk to you more about this. Thanks Stephen Kelly www.Peepel.com -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of padma priya Sent: Friday, 12 June 2009 8:06 PM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Displaying maps on the mobile Thanks but does mapserver support map creation for the mobile browser? _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Jukka.Rahkonen at mmmtike.fi Fri Jun 12 04:21:57 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Fri, 12 Jun 2009 14:21:57 +0300 Subject: [mapserver-users] Displaying maps on the mobile In-Reply-To: <20090612105708.24105.qmail@mail.tenet.res.in> References: <20090612105708.24105.qmail@mail.tenet.res.in> Message-ID: Hi, A few years ago I had a try with MapLab by creating an MapLab application using pure http controls for zooming and panning. It worked fine with mobile device I had that time (iPaq and another PDA that was running on .NET 4.0) over first generation GPRS connection. MapLab is gone but if you adjust the SIZE in the mapfile to suit the screen size of the mobile device the image file size should not be any problem. -Jukka Rahkonen- > -----Alkuper?inen viesti----- > L?hett?j?: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta padma priya > L?hetetty: 12. kes?kuuta 2009 13:57 > Vastaanottaja: mapserver-users at lists.osgeo.org > Aihe: Re: RE: [mapserver-users] Displaying maps on the mobile > > Thanks Stephen. I have a web GIS application which runs on > firefox or IE. > But it does not display map on the mobile browser. The basic > architecture is this: PHP page, invoking mapserver through > mapfiles. I was thinking if I can get a image output from > mapserver which was reduced/compressed in size it may solve > the problem. when i create a basic border outline kinda map > the image generated through shp2img is about 600kb which is a > lot to display on a mobile. Maybe that is the reason my web > page does not display on the mobile browser? > -----Original Message----- > From: "stephen kelly" > Date: Fri, 12 Jun 2009 20:23:19 +1000 > To: "padma priya" , > > CC: > Subject: RE: [mapserver-users] Displaying maps on the mobile > > Hi, > > Technically MapServer does not know or care, what it is > creating a map for, it is the website built around MapServer, > that matters. > > But the simple answer is Yes - it can be done - we here have > done 3 different solutions that we have done for mobiles. > > a) - simple browser (mobile or normal web browser) based that > will work on any phone with a browser > > b) - advanced functions and maps in a client side application > for windows mobiles > > c) - advanced JavaScript website that works on iPhones / blackberries > > I hope this help, if you want any more information I will > (should) be around most of the weekend and can talk to you > more about this. > > Thanks > > Stephen Kelly > www.Peepel.com > > > > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of padma > priya > Sent: Friday, 12 June 2009 8:06 PM > To: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Displaying maps on the mobile > > Thanks but does mapserver support map creation for the mobile browser? > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From Jukka.Rahkonen at mmmtike.fi Fri Jun 12 04:26:42 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Fri, 12 Jun 2009 14:26:42 +0300 Subject: [mapserver-users] Ignoring top level settings In-Reply-To: <4620211203EFB04B91AC83F33DF0ECF795B7A2@stcem12.statcan.ca> References: <4620211203EFB04B91AC83F33DF0ECF795B79A@stcem12.statcan.ca> <4620211203EFB04B91AC83F33DF0ECF795B7A2@stcem12.statcan.ca> Message-ID: Hi, Could it be so that OpenLayers inserts extents and projection in the request, and Mapserver gives what it is asked for? At least in normal WMS usage map level PROJECTION and EXTENT do not have an effect, Mapserver is sending the image in the requested projection, from a requested area. -Jukka Rahkonen- ________________________________ L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Alexandre.Laplante at statcan.gc.ca L?hetetty: 11. kes?kuuta 2009 23:26 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: RE: [mapserver-users] Ignoring top level settings I I've discovered that the base layer rendering as jpg was a problem with my openlayers, not mapserver. However, I still can't change my top-level projection or extent. Any help is greatly appreciated. Thank you. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre.Laplante at statcan.gc.ca Sent: June 8, 2009 9:35 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Ignoring top level settings Hello list, It seems as though my top level settings in my mapfile are being ignored. No matter what I put as projection, the output doesn't change (unless it's an invalid projection). Changing the values of EXTENT doesn't change anything either, as my map always starts zoomed out very far. I also have not been able to make my base layer output as anything other than jpg. I have a feeling that this is related to an invalid /tmp/ location in the mapfile. I have not been able to write the location of the /tmp/ folder (it's on the root of my c: drive) in a way that mapserver will use it. Apart from these things, everything works fine. I've been able to sort of counter-act the projection ignoring by telling mapserver that the layer's projection has lat_0=-49 when in fact, it is in epsg:43204 meaning lat_0=49. I've attached my mapfile. Thanks in advance, Alexandre Laplante ?tudiant Co-op / Co-op Student Division de l'Agriculture / Agriculture Division Statistique Canada / Statistics Canada 170 Tunney's Pasture Driveway ?d. Jean-Talon, 12? ?tage D1 / Jean-Talon Building, 12th floor D1 Ottawa, Ontario <> -------------- next part -------------- An HTML attachment was scrubbed... URL: From adube at mapgears.com Fri Jun 12 06:15:01 2009 From: adube at mapgears.com (Alexandre Dube) Date: Fri, 12 Jun 2009 09:15:01 -0400 Subject: [mapserver-users] Multi layer/class : performance Message-ID: <4A3254D5.7040708@mapgears.com> Hi, I wonder which of theses two cases is better : CASE 1 : Multi layer : Define one layer per scale with minscale and maxscale, each having one set of classes. CASE 2 : One layer : Define one layer only with one set of classes per scale. The classes would have the minscale and maxscale properties. I find the second case "cleaner" but I'm wondering about performance. Would it be slower to draw the bottom classes ( the ones with minscale properties only, for example) ? Thanks, -- Alexandre Dub? Mapgears www.mapgears.com From John.Westwood at port.ac.uk Fri Jun 12 08:50:50 2009 From: John.Westwood at port.ac.uk (John Westwood) Date: Fri, 12 Jun 2009 16:50:50 +0100 Subject: [mapserver-users] Major MapServer Performance Problem on Sun Solaris 10 64bit Message-ID: <4A32876A0200005300056AE6@stirling.iso.port.ac.uk> Hi, We have been developing an application with MapServer as the backend. We developed it on an SLES Linux box, we are now setting it up on the Sun Solaris 10 production server. Unfortunately, the performance of MapServer on the production machine is very slow, considerably slower than the Linux development machine (which is much less powerful). The performance problem is particularly pronounced when serving vector PostGIS layers (OpenStreetMap), but it is also noticeably slow when serving rasters. We have tested PostGIS, this is fast and therefore no the problem. I have looked at the MapServer debug file at debug level 5 and this does not reveal much, except that both the total msDrawMap() time and the mapserv request processing time are slow. So, MapServer seems to be slow across the board. The Apache log file also confirms that the MapServer requests are slow. Originally, we had MapServer compiled as 64bit and Apache as 32bit, we thought that maybe this could be the problem. So, we compiled Apache for 64bit - but has not made any difference. We are considering using 32bit Apache and 32bit MapServer but we are not sure if it will fix the problem. Does anybody have any ideas on what the problem could be or how we could go about diagnosing it? We would greatly appreciate any advice. Regards, John Westwood Great Britain Historical GIS Project From Tim.Nolte at ipcswirelessinc.com Fri Jun 12 09:28:04 2009 From: Tim.Nolte at ipcswirelessinc.com (Nolte, Tim) Date: Fri, 12 Jun 2009 12:28:04 -0400 Subject: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit In-Reply-To: <4A32876A0200005300056AE6@stirling.iso.port.ac.uk> References: <4A32876A0200005300056AE6@stirling.iso.port.ac.uk> Message-ID: John, I am very glad that you have brought this up. We are currently running our MapServer on Solaris 10 x86 and I believe we are running it as 32bit but I can't actually say for sure, I just used standard compile instructions. We're running on two 3GHz Xeons. I have had many complaints concerning the performance of the server and haven't even considered that MapServer might be the culprit. We have both shapefile and Oracle Spatial data sources. We've always had the server running under Solaris 10 x86 so haven't even compared it to running under a different OS. I am very interested to hear any feedback on this subject as I may have to look at moving to Linux as my OS to get the performance gains I need. - Tim ---- Timothy J Nolte - tnolte at ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of John Westwood Sent: Friday, June 12, 2009 11:51 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit Hi, We have been developing an application with MapServer as the backend. We developed it on an SLES Linux box, we are now setting it up on the Sun Solaris 10 production server. Unfortunately, the performance of MapServer on the production machine is very slow, considerably slower than the Linux development machine (which is much less powerful). The performance problem is particularly pronounced when serving vector PostGIS layers (OpenStreetMap), but it is also noticeably slow when serving rasters. We have tested PostGIS, this is fast and therefore no the problem. I have looked at the MapServer debug file at debug level 5 and this does not reveal much, except that both the total msDrawMap() time and the mapserv request processing time are slow. So, MapServer seems to be slow across the board. The Apache log file also confirms that the MapServer requests are slow. Originally, we had MapServer compiled as 64bit and Apache as 32bit, we thought that maybe this could be the problem. So, we compiled Apache for 64bit - but has not made any difference. We are considering using 32bit Apache and 32bit MapServer but we are not sure if it will fix the problem. Does anybody have any ideas on what the problem could be or how we could go about diagnosing it? We would greatly appreciate any advice. Regards, John Westwood Great Britain Historical GIS Project _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From steve at sjk.net.au Fri Jun 12 10:43:06 2009 From: steve at sjk.net.au (Stephen Kelly) Date: Sat, 13 Jun 2009 03:43:06 +1000 Subject: [mapserver-users] Multi layer/class : performance In-Reply-To: <562BACAE65F643FE9EC609E9D8822772@SJK.local> References: <562BACAE65F643FE9EC609E9D8822772@SJK.local> Message-ID: Alexandra, Hi, if you are really interested we have developed a tool here to create tiles for one of our mapping tools, and we generate about 100,000 very large mapserver maps per day and it would be easy for us to do some timing tests for you of both ways and to see which way is the fastest. One thing we have discovered is that what you do to your shape files is generally more important for speed, than what you do to your map files. Although we do not rely on min/max scale and choose manually at what zoom what information is shown, and have that in separate map files, as that is the fastest (for what we need to do). If you have any specific data / map files that you wanted me to test it on- I am sure that we could accommodate that. We can do 16,000 images one way, 16,000 the other way and time each image and see which way works. Thanks Stephen Kelly www.Peepel.com -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre Dube Sent: Friday, 12 June 2009 11:21 PM To: MAPSERVER USERS Subject: [mapserver-users] Multi layer/class : performance Hi, I wonder which of theses two cases is better : CASE 1 : Multi layer : Define one layer per scale with minscale and maxscale, each having one set of classes. CASE 2 : One layer : Define one layer only with one set of classes per scale. The classes would have the minscale and maxscale properties. I find the second case "cleaner" but I'm wondering about performance. Would it be slower to draw the bottom classes ( the ones with minscale properties only, for example) ? Thanks, -- Alexandre Dub? Mapgears www.mapgears.com _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From umberto.nicoletti at gmail.com Fri Jun 12 11:42:05 2009 From: umberto.nicoletti at gmail.com (Umberto Nicoletti) Date: Fri, 12 Jun 2009 20:42:05 +0200 Subject: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit In-Reply-To: References: <4A32876A0200005300056AE6@stirling.iso.port.ac.uk> Message-ID: <75b4b93e0906121142p46afa39dyf3436e47ad58207c@mail.gmail.com> I am not a Solaris expert, but if you are running mapserver as a CGI, Linux will almost surely be faster because of its (notoriously?) lower process creation cost. Now I don't have actual numbers to back this argument but a quick google reveals this thread on Sun forums: http://forums.sun.com/thread.jspa?threadID=5207554&tstart=3344 http://archives.postgresql.org/pgsql-hackers-win32/2003-11/msg00044.php (third para). A solution would be using mapserver as a FastCGI. HTH, Umberto On Fri, Jun 12, 2009 at 6:28 PM, Nolte, Tim wrote: > John, > > I am very glad that you have brought this up. We are currently running > our MapServer on Solaris 10 x86 and I believe we are running it as 32bit > but I can't actually say for sure, I just used standard compile > instructions. We're running on two 3GHz Xeons. I have had many > complaints concerning the performance of the server and haven't even > considered that MapServer might be the culprit. We have both shapefile > and Oracle Spatial data sources. We've always had the server running > under Solaris 10 x86 so haven't even compared it to running under a > different OS. I am very interested to hear any feedback on this subject > as I may have to look at moving to Linux as my OS to get the performance > gains I need. > > - Tim > > ---- > Timothy J Nolte - tnolte at ilpcs.com > Network Planning Engineer > > iPCS Wireless, Inc. > 4717 Broadmoor Ave, Suite G > Kentwood, MI 49512 > > Office: 616-656-5163 > PCS: ? ?616-706-2438 > Fax: ? ?616-554-6484 > Web: www.ipcswirelessinc.com > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of John > Westwood > Sent: Friday, June 12, 2009 11:51 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Major MapServer Performance Problem on > SunSolaris 10 64bit > > Hi, > > We have been developing an application with MapServer as the backend. We > developed it on an SLES Linux box, we are now setting it up on the Sun > Solaris 10 production server. Unfortunately, the performance of > MapServer on the production machine is very slow, considerably slower > than the Linux development machine (which is much less powerful). The > performance problem is particularly pronounced when serving vector > PostGIS layers (OpenStreetMap), but it is also noticeably slow when > serving rasters. > > We have tested PostGIS, this is fast and therefore no the problem. I > have looked at the MapServer debug file at debug level 5 and this does > not reveal much, except that both the total msDrawMap() time and the > mapserv request processing time are slow. So, MapServer seems to be slow > across the board. The Apache log file also confirms that the MapServer > requests are slow. > > Originally, we had MapServer compiled as 64bit and Apache as 32bit, we > thought that maybe this could be the problem. So, we compiled Apache for > 64bit - but has not made any difference. We are considering using 32bit > Apache and 32bit MapServer but we are not sure if it will fix the > problem. > > Does anybody have any ideas on what the problem could be or how we could > go about diagnosing it? We would greatly appreciate any advice. > > Regards, > > John Westwood > Great Britain Historical GIS Project > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From enri at 163.com Sun Jun 14 04:58:43 2009 From: enri at 163.com (enri) Date: Sun, 14 Jun 2009 19:58:43 +0800 (CST) Subject: [mapserver-users] MSCompanion - Mapfile WYSIWYG Editor for MapServer, Version 1.0 RC2 is released Message-ID: <32247894.415741244980723397.JavaMail.coremail@bj163app31.163.com> Hi, All, After almost 2 months after the version 1.0 RC1, MSCompanion - a Mapfile WYSIWYG Editor for MapServer, Version 1.0 RC2 is Released. You can find more details at http://code.google.com/p/mscompanion. Changes since RC1 include: - Enhancement: use icons to show types of layer - Enhancement: add latest version check online in About menu - Enhancement: in addition to space, support tab as seperator for key-value pare in MapFile? - Enhancement: editing map file and update it using text editor will then make the map treeview refresh. - Enhancement: panning map now works to some extent - Bug Fixed: "Cancel" buttons in Layer/Class... Properties Dialogs work as expect now. - Bug Fixed: fixed problem of annotation type layer, you can use inline feature to difine a annotation layer. - Bug Fixed: fixed a bug caused by expression - Bug Fixed: some inline feature layer can not show legend Please get it at http://code.google.com/p/mscompanion/ as usual and report bugs/reqiurement at http://code.google.com/p/mscompanion/issues/list. Thank you for your attention. Best regards Enri -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bob.Bistrais at maine.gov Sun Jun 14 15:40:51 2009 From: Bob.Bistrais at maine.gov (Bistrais, Bob) Date: Sun, 14 Jun 2009 18:40:51 -0400 Subject: [mapserver-users] Providing WFS through MapServer with Shapefiles? Message-ID: <4EFF8BB964547748A07CA32961810C0412C488B5@SOM-TEAQASMAIL1.som.w2k.state.me.us> I'm trying to set up some layers with WFS capability. I have some that are shapefile format. The shapefiles do not work as WFS. I have tested, and they work fine both through Ka-Map and as a WMS service. I should also note that I have successfully WFS-enabled layers from SDE data. Here is the map file metadata... In the main .map file: METADATA "wfs_title" "wfs_test" "wfs_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/m egug/WFStest.map&" "wfs_srs" "EPSG:26919" "wfs_request_method" "GET" "wfs_service" "WFS" And in a layer file: METADATA "gml_featureid" "OBJECTID" "gml_include_items" "all" "wfs_abstract" "County boundaries from Counties250" "wms_title" "Counties" "wms_srs" "EPSG:26919" "wms_server_version" "1.1.1" "wms_include_items" "all" "wms_abstract" "County boundaries from Counties250" "opacity" "75" "queryable" "true" "DESCRIPTION" "Counties" "SEARCHFIELD" "COUNTY" "fields" "COUNTY:County" "hyperlink" "COUNTY" END Does anyone have any advice on how to make this work in WFS? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafael at opengeo.com.br Sun Jun 14 16:09:59 2009 From: rafael at opengeo.com.br (Rafael Almeida Fernandez Soto) Date: Sun, 14 Jun 2009 20:09:59 -0300 Subject: [mapserver-users] Providing WFS through MapServer with Shapefiles? In-Reply-To: <4EFF8BB964547748A07CA32961810C0412C488B5@SOM-TEAQASMAIL1.som.w2k.state.me.us> References: <4EFF8BB964547748A07CA32961810C0412C488B5@SOM-TEAQASMAIL1.som.w2k.state.me.us> Message-ID: <90a5e5b30906141609j7fc0a3edjcc2a6c4d8ffa06fb@mail.gmail.com> Try to remove all WMS metadata! 2009/6/14 Bistrais, Bob > I?m trying to set up some layers with WFS capability. I have some that > are shapefile format. The shapefiles do not work as WFS. I have tested, > and they work fine both through Ka-Map and as a WMS service. I should also > note that I have successfully WFS-enabled layers from SDE data. Here is the > map file metadata? > > > > In the main .map file: > > > > METADATA > > "wfs_title" "wfs_test" > > "wfs_onlineresource" " > http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/megug/WFStest.map& > " > > "wfs_srs" "EPSG:26919" > > "wfs_request_method" "GET" > > "wfs_service" "WFS" > > > > And in a layer file: > > > > METADATA > > "gml_featureid" "OBJECTID" > > "gml_include_items" "all" > > "wfs_abstract" "County boundaries from Counties250" > > "wms_title" "Counties" > > "wms_srs" "EPSG:26919" > > "wms_server_version" "1.1.1" > > "wms_include_items" "all" > > "wms_abstract" "County boundaries from Counties250" > > "opacity" "75" > > "queryable" "true" > > "DESCRIPTION" "Counties" > > "SEARCHFIELD" "COUNTY" > > "fields" "COUNTY:County" > > "hyperlink" "COUNTY" > > > > END > > > > > > Does anyone have any advice on how to make this work in WFS? > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- RAFAEL Almeida Fernandez Soto :: rafael at opengeo.com.br Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600 OpenGEO :: On-demand training and solutions :: www.opengeo.com.br GEO Livre community:: Because Geoinformation should be free :: www.geolivre.org.br Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS, gvSIG... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sarawut.map at gmail.com Mon Jun 15 00:42:57 2009 From: sarawut.map at gmail.com (Sarawut Ninsawat) Date: Mon, 15 Jun 2009 16:42:57 +0900 Subject: [mapserver-users] Maximum of PROCESSING BANDS for RasterQuery Message-ID: <4A35FB81.1060602@gmail.com> Hi, I am trying to make a system to use GetFeatureinfo for a pixel value of MODIS image which has 365 bands. I just need only one pixel value from 365 bands. Then I make mapfile with PROCESSING "BANDS=1,2,3,4,.....365" It is seem that the limit up to 198 bands. if the bands in PROCESSING is more than 198 then I get no result in the template (only template header is shown). If 198 is a maximum, Can I increase it like max of layers ? Please advise me. Best regards Sarawut From nimalikaf at yahoo.com Mon Jun 15 01:44:59 2009 From: nimalikaf at yahoo.com (nimalika fernando) Date: Mon, 15 Jun 2009 01:44:59 -0700 (PDT) Subject: [mapserver-users] Displaying maps on the mobile Message-ID: <947117.49610.qm@web51808.mail.re2.yahoo.com> Hi, mobile maps based on mobile web has certain limitations. If the targeting browser does not support JS , it would be useless to use OL as a client. Basically it would be a good idea if you can provide a seperate layout using CSS, if you want to use the same web site. But if yor target phones are not smart phones , then better to avoid OL client and use a simple XHTML based client. In terms of navigation , img size , apperence etc, it is a good idea to provide a seperate sites tahn trying to optimize the existing site. I have tried WMS on mobile with Mapserver and basic HTML. PHP or any server side strategy would do no harm. I am testing cabalities of different browsers on providing web GIS services on mobile context these days and your site also can consider as a candidate if you wish. nimalika --- On Fri, 6/12/09, Frederic Junod wrote: From: Frederic Junod Subject: Re: [mapserver-users] Displaying maps on the mobile To: mapserver-users at lists.osgeo.org Date: Friday, June 12, 2009, 3:18 AM If the images returned by mapserver (WMS) are viewable by the mobile browser, then yes: it's supported. The main problem here is the map navigation (pan, zoom, etc ...) with OpenLayers in a mobile browser. But that's a javascript problem, not a mapserver problem. fredj On Fri, Jun 12, 2009 at 11:58 AM, padma priya wrote: > Thanks but does mapserver support map creation for the mobile browser? -- Fr?d?ric Junod Camptocamp SA _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From adube at mapgears.com Mon Jun 15 05:17:13 2009 From: adube at mapgears.com (Alexandre Dube) Date: Mon, 15 Jun 2009 08:17:13 -0400 Subject: [mapserver-users] Multi layer/class : performance In-Reply-To: References: <562BACAE65F643FE9EC609E9D8822772@SJK.local> Message-ID: <4A363BC9.7010403@mapgears.com> Stephen Kelly wrote: > Alexandra, > > Hi, if you are really interested we have developed a tool here to create tiles for one of our mapping tools, and we generate about 100,000 very large mapserver maps per day and it would be easy for us to do some timing tests for you of both ways and to see which way is the fastest. > > I use the TIGER 2008 data. Do you use it in one of your maps ? > One thing we have discovered is that what you do to your shape files is generally more important for speed, than what you do to your map files. > > Right. Could you give me some examples of what you do ? One thing I do is generalize my shapes and merge them together per state to have a faster map a lower scales. Do you do the same for each of your scale level ? We use KaMap to tile our map for each zoom level, so in the end we have a fast map but it sure takes some to cache the whole tiles. > Although we do not rely on min/max scale and choose manually at what zoom what information is shown, and have that in separate map files, as that is the fastest (for what we need to do). > > I always edit my mapfiles manually, so having 11 instead of one seems like a lot of maintaining work, but I'm interested to hear more if you're willing... > If you have any specific data / map files that you wanted me to test it on- I am sure that we could accommodate that. > > That's very kind of you, but I must decline the offer. I can't share the actual mapfile, sorry. > We can do 16,000 images one way, 16,000 the other way and time each image and see which way works. > > Thanks > Thanks to you, Alexandre > Stephen Kelly > www.Peepel.com > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre Dube > Sent: Friday, 12 June 2009 11:21 PM > To: MAPSERVER USERS > Subject: [mapserver-users] Multi layer/class : performance > > Hi, > > I wonder which of theses two cases is better : > > CASE 1 : Multi layer : > Define one layer per scale with minscale and maxscale, each having one > set of classes. > > CASE 2 : One layer : > Define one layer only with one set of classes per scale. The classes > would have the minscale and maxscale properties. > > I find the second case "cleaner" but I'm wondering about performance. > Would it be slower to draw the bottom classes ( the ones with minscale > properties only, for example) ? > > Thanks, > > -- Alexandre Dub? Mapgears www.mapgears.com From snaperski at gmail.com Mon Jun 15 05:55:05 2009 From: snaperski at gmail.com (Raivo Alla) Date: Mon, 15 Jun 2009 15:55:05 +0300 Subject: [mapserver-users] mapserver POSITION question Message-ID: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> Hi again! I have a problem that will soon crack my head. As it could be seen on the picture (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), street labels are strangely positioned in different ways. I want labels only when they have enough space to fit in (MINFEATURESIZE AUTO) and I want them centered. As it appears, sometimes they are aligned left, sometimes right, only lucky ones at the center. Those red boxes are to visualize vertex points. How could I accomplish that, I wonder? Mapfile lines: LAYER NAME tanavad_10T GROUP HYBRID METADATA "wms_title" "tanavad_10T" "wms_srs" "EPSG:3301" "wms_extent" "355000 6360000 754000 6660000" END STATUS default TYPE line DATA "hyb_teed_j"#<--- EESTITOPO-sse, st Oraclesse tuletiskiht? OPACITY 50 FILTERITEM "TYYP" FILTER (([TYYP] eq 50 OR [TYYP] eq 99) AND [tahtsus] ne 10 AND [tahtsus] ne 20 ) LABELITEM "KARTO_NIMI" CLASS MAXSCALE 20000#15000 MINSCALE 2667#2000 STYLE COLOR 255 255 255 SIZE 2 SYMBOL "stroke_style_1_0" END style#<---this section visualizes vertexes geomtransform "start" symbol "mnt_kast" color 255 0 0 size 6 end LABEL TYPE truetype FONT "arial" COLOR 240 240 240 OUTLINECOLOR 52 52 52 SIZE 9 priority 6 force false MINDISTANCE 250 MINFEATURESIZE auto ANGLE auto POSITION cc BUFFER 2 END END END Sincerely, Raivo Alla From snaperski at gmail.com Mon Jun 15 05:57:27 2009 From: snaperski at gmail.com (Raivo Alla) Date: Mon, 15 Jun 2009 15:57:27 +0300 Subject: [mapserver-users] Re: mapserver POSITION question In-Reply-To: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> References: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> Message-ID: <49dc012b0906150557t20919b6dg7550c0512627d7fb@mail.gmail.com> Sorry, I forgot to add my mapserver version: MapServer version 5.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Raivo On Mon, Jun 15, 2009 at 3:55 PM, Raivo Alla wrote: > Hi again! > > > I have a problem that will soon crack my head. > > As it could be seen on the picture > (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), > street labels are strangely positioned in different ways. > I want labels only when they have enough space to fit in > (MINFEATURESIZE AUTO) and I want them > centered. As it appears, sometimes they are aligned left, sometimes > right, only lucky ones at the center. > Those red boxes are to visualize vertex points. > > How could I accomplish that, I wonder? > > Mapfile lines: > ? ? ? ?LAYER > ? ? ? ? ? ? ? ?NAME tanavad_10T > ? ? ? ? ? ? ? ?GROUP HYBRID > ? ? ? ? ? ? ? ?METADATA > ? ? ? ? ? ? ? ? ? ? ? ?"wms_title" "tanavad_10T" > ? ? ? ? ? ? ? ? ? ? ? ?"wms_srs" "EPSG:3301" > ? ? ? ? ? ? ? ? ? ? ? ?"wms_extent" "355000 6360000 754000 6660000" > ? ? ? ? ? ? ? ?END > ? ? ? ? ? ? ? ?STATUS default > ? ? ? ? ? ? ? ?TYPE line > ? ? ? ? ? ? ? ?DATA "hyb_teed_j"#<--- EESTITOPO-sse, st Oraclesse tuletiskiht? > ? ? ? ? ? ? ? ?OPACITY 50 > ? ? ? ? ? ? ? ?FILTERITEM "TYYP" > ? ? ? ? ? ? ? ?FILTER (([TYYP] eq 50 OR [TYYP] eq 99) AND [tahtsus] ne 10 AND > [tahtsus] ne 20 ) > ? ? ? ? ? ? ? ?LABELITEM "KARTO_NIMI" > ? ? ? ? ? ? ? ?CLASS > ? ? ? ? ? ? ? ?MAXSCALE 20000#15000 > ? ? ? ? ? ? ? ?MINSCALE 2667#2000 > ? ? ? ? ? ? ? ?STYLE > ? ? ? ? ? ? ? ? ? ? ? ?COLOR 255 255 255 > ? ? ? ? ? ? ? ? ? ? ? ?SIZE 2 > ? ? ? ? ? ? ? ? ? ? ? ?SYMBOL ?"stroke_style_1_0" > ? ? ? ? ? ? ? ?END > ? ? ? ? ? ? ? ?style#<---this section visualizes vertexes > ? ? ? ? ? ? ? ? ?geomtransform "start" > ? ? ? ? ? ? ? ? ?symbol "mnt_kast" > ? ? ? ? ? ? ? ? ?color 255 0 0 > ? ? ? ? ? ? ? ? ?size 6 > ? ? ? ? ? ? ? ?end > ? ? ? ? ? ? ? ?LABEL > ? ? ? ? ? ? ? ? ? ? ? ?TYPE truetype > ? ? ? ? ? ? ? ? ? ? ? ?FONT "arial" > ? ? ? ? ? ? ? ? ? ? ? ?COLOR 240 240 240 > ? ? ? ? ? ? ? ? ? ? ? ?OUTLINECOLOR 52 52 52 > ? ? ? ? ? ? ? ? ? ? ? ?SIZE 9 > ? ? ? ? ? ? ? ? ? ? ? ?priority 6 > ? ? ? ? ? ? ? ? ? ? ? ?force false > ? ? ? ? ? ? ? ? ? ? ? ?MINDISTANCE 250 > ? ? ? ? ? ? ? ? ? ? ? ?MINFEATURESIZE auto > ? ? ? ? ? ? ? ? ? ? ? ?ANGLE auto > ? ? ? ? ? ? ? ? ? ? ? ?POSITION cc > ? ? ? ? ? ? ? ? ? ? ? ?BUFFER 2 > ? ? ? ? ? ? ? ?END > ? ? ? ? ? ?END > ? ? ? ? ?END > > > Sincerely, > Raivo Alla > From carl.brydon at geonet-tech.com Mon Jun 15 05:58:55 2009 From: carl.brydon at geonet-tech.com (cbrydon) Date: Mon, 15 Jun 2009 05:58:55 -0700 (PDT) Subject: [mapserver-users] Need help with ProxyPass configuration, please In-Reply-To: <4A2D21EB.1050301@mapgears.com> References: <1244466765213-3042849.post@n2.nabble.com> <4A2D21EB.1050301@mapgears.com> Message-ID: <1245070735479-3080109.post@n2.nabble.com> Thanks Daniel, That almost worked. When I type in the URL I want, the aspx page that should be loaded is found, but it doesn't load. Seems strange. It is possible, maybe, that the app I am trying to load won't work with Apache?? I need to do some more investigating. Thanks for pointing me in the right direction. Cheers, Carl -- View this message in context: http://n2.nabble.com/Need-help-with-ProxyPass-configuration%2C-please-tp1972267p3080109.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Alexandre.Laplante at statcan.gc.ca Mon Jun 15 06:40:44 2009 From: Alexandre.Laplante at statcan.gc.ca (Alexandre.Laplante at statcan.gc.ca) Date: Mon, 15 Jun 2009 09:40:44 -0400 Subject: [mapserver-users] Ignoring top level settings In-Reply-To: Message-ID: <4620211203EFB04B91AC83F33DF0ECF795B7A6@stcem12.statcan.ca> Thanks Jukka, But when I go directly to http://localhost/cgi-bin/mapserv.exe?map=../test/service/alex.map&service=WMS&version=1.1.1&layer=gcar&SRS=EPSG:42304&mode=map , the map looks identical no matter what I put in &SRS=EPSG:xxxxx Right now the image is okay because my mapfile says the source projection is inverted. This makes it output the correct images, but the coordinates are all wrong, and I'm gonig to need to use correct coordinates. Thanks again, Alexandre Laplante -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent: June 12, 2009 7:27 AM To: Alexandre.Laplante at statcan.gc.ca; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Ignoring top level settings Hi, Could it be so that OpenLayers inserts extents and projection in the request, and Mapserver gives what it is asked for? At least in normal WMS usage map level PROJECTION and EXTENT do not have an effect, Mapserver is sending the image in the requested projection, from a requested area. -Jukka Rahkonen- ________________________________ L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Alexandre.Laplante at statcan.gc.ca L?hetetty: 11. kes?kuuta 2009 23:26 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: RE: [mapserver-users] Ignoring top level settings I I've discovered that the base layer rendering as jpg was a problem with my openlayers, not mapserver. However, I still can't change my top-level projection or extent. Any help is greatly appreciated. Thank you. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre.Laplante at statcan.gc.ca Sent: June 8, 2009 9:35 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Ignoring top level settings Hello list, It seems as though my top level settings in my mapfile are being ignored. No matter what I put as projection, the output doesn't change (unless it's an invalid projection). Changing the values of EXTENT doesn't change anything either, as my map always starts zoomed out very far. I also have not been able to make my base layer output as anything other than jpg. I have a feeling that this is related to an invalid /tmp/ location in the mapfile. I have not been able to write the location of the /tmp/ folder (it's on the root of my c: drive) in a way that mapserver will use it. Apart from these things, everything works fine. I've been able to sort of counter-act the projection ignoring by telling mapserver that the layer's projection has lat_0=-49 when in fact, it is in epsg:43204 meaning lat_0=49. I've attached my mapfile. Thanks in advance, Alexandre Laplante ?tudiant Co-op / Co-op Student Division de l'Agriculture / Agriculture Division Statistique Canada / Statistics Canada 170 Tunney's Pasture Driveway ?d. Jean-Talon, 12? ?tage D1 / Jean-Talon Building, 12th floor D1 Ottawa, Ontario <> -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Mon Jun 15 07:15:46 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 15 Jun 2009 17:15:46 +0300 Subject: [mapserver-users] Ignoring top level settings References: <4620211203EFB04B91AC83F33DF0ECF795B7A6@stcem12.statcan.ca> Message-ID: Hi, Try using a valid WMS request. &mode=map is Mapserver option, on the other hand your request is missing a few compulsory WMS parameters. Here is an excerpt from Mapserver WMS document (http://mapserver.org/ogc/wms_server.html): Test With a GetMap Request OK, now that we know that our server can produce a valid XML GetCapabilities response we should test the GetMap request. MapServer only checks for a few of the required GetMap parameters, so both of the minimum MapServer parameters and a valid GetMap request will be explained below. The following is a list of the required GetMap parameters according to the WMS spec: VERSION=version: Request version REQUEST=GetMap: Request name LAYERS=layer_list: Comma-separated list of one or more map layers. Optional if SLD parameter is present. STYLES=style_list: Comma-separated list of one rendering style per requested layer. Optional if SLD parameter is present. NOTE that MapServer does not support named styles, so most times you would specify ?STYLES=? with an empty value. MapServer does support STYLES when used with an SLD. SRS=namespace:identifier: Spatial Reference System. BBOX=minx,miny,maxx,maxy: Bounding box corners (lower left, upper right) in SRS units. WIDTH=output_width: Width in pixels of map picture. HEIGHT=output_height: Height in pixels of map picture. FORMAT=output_format: Output format of map. Remember when playing with valid WMS requests that BBOX is meaning the output extents and BBOX coordinates must suit the SRS. -Jukka Rahkonen- -----Alkuper?inen viesti----- L?hett?j?: mapserver-users-bounces at lists.osgeo.org puolesta: Alexandre.Laplante at statcan.gc.ca L?hetetty: ma 15.6.2009 16:40 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: RE: [mapserver-users] Ignoring top level settings Thanks Jukka, But when I go directly to http://localhost/cgi-bin/mapserv.exe?map=../test/service/alex.map&service=WMS&version=1.1.1&layer=gcar&SRS=EPSG:42304&mode=map , the map looks identical no matter what I put in &SRS=EPSG:xxxxx Right now the image is okay because my mapfile says the source projection is inverted. This makes it output the correct images, but the coordinates are all wrong, and I'm gonig to need to use correct coordinates. Thanks again, Alexandre Laplante -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent: June 12, 2009 7:27 AM To: Alexandre.Laplante at statcan.gc.ca; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Ignoring top level settings Hi, Could it be so that OpenLayers inserts extents and projection in the request, and Mapserver gives what it is asked for? At least in normal WMS usage map level PROJECTION and EXTENT do not have an effect, Mapserver is sending the image in the requested projection, from a requested area. -Jukka Rahkonen- ________________________________ L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Alexandre.Laplante at statcan.gc.ca L?hetetty: 11. kes?kuuta 2009 23:26 Vastaanottaja: mapserver-users at lists.osgeo.org Aihe: RE: [mapserver-users] Ignoring top level settings I I've discovered that the base layer rendering as jpg was a problem with my openlayers, not mapserver. However, I still can't change my top-level projection or extent. Any help is greatly appreciated. Thank you. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Alexandre.Laplante at statcan.gc.ca Sent: June 8, 2009 9:35 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Ignoring top level settings Hello list, It seems as though my top level settings in my mapfile are being ignored. No matter what I put as projection, the output doesn't change (unless it's an invalid projection). Changing the values of EXTENT doesn't change anything either, as my map always starts zoomed out very far. I also have not been able to make my base layer output as anything other than jpg. I have a feeling that this is related to an invalid /tmp/ location in the mapfile. I have not been able to write the location of the /tmp/ folder (it's on the root of my c: drive) in a way that mapserver will use it. Apart from these things, everything works fine. I've been able to sort of counter-act the projection ignoring by telling mapserver that the layer's projection has lat_0=-49 when in fact, it is in epsg:43204 meaning lat_0=49. I've attached my mapfile. Thanks in advance, Alexandre Laplante ?tudiant Co-op / Co-op Student Division de l'Agriculture / Agriculture Division Statistique Canada / Statistics Canada 170 Tunney's Pasture Driveway ?d. Jean-Talon, 12? ?tage D1 / Jean-Talon Building, 12th floor D1 Ottawa, Ontario <> From dmorissette at mapgears.com Mon Jun 15 07:31:07 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Mon, 15 Jun 2009 10:31:07 -0400 Subject: [mapserver-users] mapserver POSITION question In-Reply-To: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> References: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> Message-ID: <4A365B2B.8080504@mapgears.com> Raivo Alla wrote: > > As it could be seen on the picture > (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), > street labels are strangely positioned in different ways. > I want labels only when they have enough space to fit in > (MINFEATURESIZE AUTO) and I want them > centered. As it appears, sometimes they are aligned left, sometimes > right, only lucky ones at the center. > Those red boxes are to visualize vertex points. > You are using "ANGLE AUTO" in your label definition. In this case, MapServer places the label at the center of the longest segment of the polyline that define the street, and follows the angle of that segment. If you use ANGLE FOLLOW then the label will be placed at the center of the polyline itself (i.e. at total_length/2)... that should give the results that you expect. Daniel -- Daniel Morissette http://www.mapgears.com/ From Bob.Bistrais at maine.gov Mon Jun 15 08:44:19 2009 From: Bob.Bistrais at maine.gov (Bistrais, Bob) Date: Mon, 15 Jun 2009 11:44:19 -0400 Subject: [mapserver-users] Providing WFS through MapServer with Shapefiles? In-Reply-To: <90a5e5b30906141609j7fc0a3edjcc2a6c4d8ffa06fb@mail.gmail.com> References: <4EFF8BB964547748A07CA32961810C0412C488B5@SOM-TEAQASMAIL1.som.w2k.state.me.us> <90a5e5b30906141609j7fc0a3edjcc2a6c4d8ffa06fb@mail.gmail.com> Message-ID: <4EFF8BB964547748A07CA32961810C0412C488C0@SOM-TEAQASMAIL1.som.w2k.state.me.us> I tried, but that didn't seem to fix the problem. ________________________________ From: Rafael Almeida Fernandez Soto [mailto:rafael at opengeo.com.br] Sent: Sunday, June 14, 2009 7:10 PM To: Bistrais, Bob Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Providing WFS through MapServer with Shapefiles? Try to remove all WMS metadata! 2009/6/14 Bistrais, Bob I'm trying to set up some layers with WFS capability. I have some that are shapefile format. The shapefiles do not work as WFS. I have tested, and they work fine both through Ka-Map and as a WMS service. I should also note that I have successfully WFS-enabled layers from SDE data. Here is the map file metadata... In the main .map file: METADATA "wfs_title" "wfs_test" "wfs_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/m egug/WFStest.map&" "wfs_srs" "EPSG:26919" "wfs_request_method" "GET" "wfs_service" "WFS" And in a layer file: METADATA "gml_featureid" "OBJECTID" "gml_include_items" "all" "wfs_abstract" "County boundaries from Counties250" "wms_title" "Counties" "wms_srs" "EPSG:26919" "wms_server_version" "1.1.1" "wms_include_items" "all" "wms_abstract" "County boundaries from Counties250" "opacity" "75" "queryable" "true" "DESCRIPTION" "Counties" "SEARCHFIELD" "COUNTY" "fields" "COUNTY:County" "hyperlink" "COUNTY" END Does anyone have any advice on how to make this work in WFS? _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- RAFAEL Almeida Fernandez Soto :: rafael at opengeo.com.br Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600 OpenGEO :: On-demand training and solutions :: www.opengeo.com.br GEO Livre community:: Because Geoinformation should be free :: www.geolivre.org.br Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS, gvSIG... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bob.Bistrais at maine.gov Mon Jun 15 09:03:53 2009 From: Bob.Bistrais at maine.gov (Bistrais, Bob) Date: Mon, 15 Jun 2009 12:03:53 -0400 Subject: [mapserver-users] Providing WFS through MapServer with Shapefiles? In-Reply-To: <4EFF8BB964547748A07CA32961810C0412C488C0@SOM-TEAQASMAIL1.som.w2k.state.me.us> References: <4EFF8BB964547748A07CA32961810C0412C488B5@SOM-TEAQASMAIL1.som.w2k.state.me.us><90a5e5b30906141609j7fc0a3edjcc2a6c4d8ffa06fb@mail.gmail.com> <4EFF8BB964547748A07CA32961810C0412C488C0@SOM-TEAQASMAIL1.som.w2k.state.me.us> Message-ID: <4EFF8BB964547748A07CA32961810C0412C488C2@SOM-TEAQASMAIL1.som.w2k.state.me.us> Found the problem! In order for MapServer layers to work in WFS, the dump true parameter must be set in the map file. I had encountered this before, but forgot. My WFS layers from SDE already had dump true set. ________________________________ From: Bistrais, Bob Sent: Monday, June 15, 2009 11:44 AM To: Rafael Almeida Fernandez Soto Cc: mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] Providing WFS through MapServer with Shapefiles? I tried, but that didn't seem to fix the problem. ________________________________ From: Rafael Almeida Fernandez Soto [mailto:rafael at opengeo.com.br] Sent: Sunday, June 14, 2009 7:10 PM To: Bistrais, Bob Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Providing WFS through MapServer with Shapefiles? Try to remove all WMS metadata! 2009/6/14 Bistrais, Bob I'm trying to set up some layers with WFS capability. I have some that are shapefile format. The shapefiles do not work as WFS. I have tested, and they work fine both through Ka-Map and as a WMS service. I should also note that I have successfully WFS-enabled layers from SDE data. Here is the map file metadata... In the main .map file: METADATA "wfs_title" "wfs_test" "wfs_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/m egug/WFStest.map&" "wfs_srs" "EPSG:26919" "wfs_request_method" "GET" "wfs_service" "WFS" And in a layer file: METADATA "gml_featureid" "OBJECTID" "gml_include_items" "all" "wfs_abstract" "County boundaries from Counties250" "wms_title" "Counties" "wms_srs" "EPSG:26919" "wms_server_version" "1.1.1" "wms_include_items" "all" "wms_abstract" "County boundaries from Counties250" "opacity" "75" "queryable" "true" "DESCRIPTION" "Counties" "SEARCHFIELD" "COUNTY" "fields" "COUNTY:County" "hyperlink" "COUNTY" END Does anyone have any advice on how to make this work in WFS? _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- RAFAEL Almeida Fernandez Soto :: rafael at opengeo.com.br Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600 OpenGEO :: On-demand training and solutions :: www.opengeo.com.br GEO Livre community:: Because Geoinformation should be free :: www.geolivre.org.br Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS, gvSIG... -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl.brydon at geonet-tech.com Mon Jun 15 10:49:21 2009 From: carl.brydon at geonet-tech.com (cbrydon) Date: Mon, 15 Jun 2009 10:49:21 -0700 (PDT) Subject: [mapserver-users] Need help with ProxyPass configuration, please In-Reply-To: <4A2D21EB.1050301@mapgears.com> References: <1244466765213-3042849.post@n2.nabble.com> <4A2D21EB.1050301@mapgears.com> Message-ID: <1245088161608-3081660.post@n2.nabble.com> Daniel, What you suggest does work after all. The problem I was having is that the IIS site I was hitting was redirecting me to another IIS site that I did not have setup in the VirtualHost block. The settings you have below work great if AnotherTown is a redirection (if I can use that term) from SomeTown. Appreciate your help! Cheers, Carl Daniel Morissette wrote: > > cbrydon wrote: >> I have also tried the following (among other configurations), but just >> can't >> seem to get thiings to work.... >> >> NameVirtualHost 111.111.111.111:80 >> >> # Apache Site >> >> DocumentRoot "/ms4w/Apache/htdocs" >> ServerName 111.111.111.111 >> >> >> # IIS Site >> >> ServerName 111.111.111.111:80 >> DocumentRoot F:/Applications/2009/Custom/SomeTown >> ProxyRequests OFF >> ProxyPass / http://111.111.111.111:8080/ >> ProxyPassReverse / http://111.111.111.111:8080/ >> >> >> >> The above code doesn't work either; it seems as though the 2nd virtual >> host >> isn't being recognized. SomeTown is actually in >> F:/Applications/2009/Custom. >> Below is the output of an error log file. >> > > Carl, > > You need a single VirtualHost for what you're trying to do. You have to > decide which directories go to the proxy'd (IIS) server and list them > there, and then let the local (MS4W) server handle the rest. > > For instance, if what you want is: > > http://111.111.111.111/SomeTown -> IIS > http://111.111.111.111/AnotherTown -> IIS > http://111.111.111.111/ (anything else) -> MS4W > > Then a config as follows should do the trick: > > > NameVirtualHost 111.111.111.111:80 > > # Apache Site > > DocumentRoot "/ms4w/Apache/htdocs" > ServerName 111.111.111.111 > > # Forward some directories to the IIS server on port 8080 > # Anything not explicitly proxy'd here is expected to be local by default. > ProxyPass /SomeTown http://111.111.111.111:8080/SomeTown > ProxyPassReverse /SomeTown http://111.111.111.111:8080/SomeTown > > ProxyPass /AnotherTown http://111.111.111.111:8080/AnotherTown > ProxyPassReverse /AnotherTown http://111.111.111.111:8080/AnotherTown > > > > > I hope that helps > > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/Need-help-with-ProxyPass-configuration%2C-please-tp1972267p3081660.html Sent from the Mapserver - User mailing list archive at Nabble.com. From adrian_gh.popa at romtelecom.ro Mon Jun 15 23:19:24 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Tue, 16 Jun 2009 09:19:24 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference Message-ID: <4A37396C.30801@romtelecom.ro> Hello everybody, I've just upgraded my testbed to mapserver 5.4 and converted my mapfile to use AGG as output instead of GD. I was looking to "smooth-out" some lines that don't look verry well in my map. Unfortunatelly, the map doesn't show any difference (from the GD rendered version) - so I wonder if I'm missing something obvious. The original mapfile had rendering set up like this: IMAGETYPE PNG while the new mapfile has rendering set up like this: IMAGETYPE PNG OUTPUTFORMAT NAME 'AGG' DRIVER AGG/PNG IMAGEMODE RGB END The images I have attached show 2 line layers with different widths (and colors). My main problem is that the thicker layer breaks the lines when the lines bend. I was hoping AGG would solve this (but perhaps it isn't its job?). Please let me know if my setup seems correct and the output is what should be expected, or if I should look for something else. If AGG isn't supposed to fix the broken line aspect - is there a way to fix it? Regards, Adrian -------------- next part -------------- A non-text attachment was scrubbed... Name: agg_rendering.png Type: image/png Size: 4330 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gd_rendering.png Type: image/png Size: 5520 bytes Desc: not available URL: From snaperski at gmail.com Mon Jun 15 23:22:44 2009 From: snaperski at gmail.com (Raivo Alla) Date: Tue, 16 Jun 2009 09:22:44 +0300 Subject: [mapserver-users] mapserver POSITION question In-Reply-To: <4A365B2B.8080504@mapgears.com> References: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> <4A365B2B.8080504@mapgears.com> Message-ID: <49dc012b0906152322g488d4be7yc0c7188c3859a3ab@mail.gmail.com> Thank you for advice! I will try this as soon as possible.. Raivo On Mon, Jun 15, 2009 at 5:31 PM, Daniel Morissette wrote: > Raivo Alla wrote: >> >> As it could be seen on the picture >> (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), >> street labels are strangely positioned in different ways. >> I want labels only when they have enough space to fit in >> (MINFEATURESIZE AUTO) and I want them >> centered. As it appears, sometimes they are aligned left, sometimes >> right, only lucky ones at the center. >> Those red boxes are to visualize vertex points. >> > > You are using "ANGLE AUTO" in your label definition. In this case, MapServer > places the label at the center of the longest segment of the polyline that > define the street, and follows the angle of that segment. > > If you use ANGLE FOLLOW then the label will be placed at the center of the > polyline itself (i.e. at total_length/2)... that should give the results > that you expect. > > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From snaperski at gmail.com Mon Jun 15 23:45:09 2009 From: snaperski at gmail.com (Raivo Alla) Date: Tue, 16 Jun 2009 09:45:09 +0300 Subject: [mapserver-users] mapserver POSITION question In-Reply-To: <49dc012b0906152322g488d4be7yc0c7188c3859a3ab@mail.gmail.com> References: <49dc012b0906150555w12336cddxffce81c4274f27a@mail.gmail.com> <4A365B2B.8080504@mapgears.com> <49dc012b0906152322g488d4be7yc0c7188c3859a3ab@mail.gmail.com> Message-ID: <49dc012b0906152345g4cda9405q2c2a1d385a958e97@mail.gmail.com> Hi, still having some problems. I added some lines in mapfile to draw polyline vertices as blue boxes and starting points as red boxes. And changed to ANGLE FOLLOW, the result could be seen here: http://picasaweb.google.com/snaperski/Ort#5347810688430058082 Many labels wont show up (I checked shapefile also, and label attribute was filled in those places), tried to go MINDISTANCE 5, but no change, even FORCE TRUE did'nt changed the output. :( Just a little sad, Raivo On Tue, Jun 16, 2009 at 9:22 AM, Raivo Alla wrote: > Thank you for advice! > > > I will try this as soon as possible.. > > > Raivo > > > On Mon, Jun 15, 2009 at 5:31 PM, Daniel > Morissette wrote: >> Raivo Alla wrote: >>> >>> As it could be seen on the picture >>> (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), >>> street labels are strangely positioned in different ways. >>> I want labels only when they have enough space to fit in >>> (MINFEATURESIZE AUTO) and I want them >>> centered. As it appears, sometimes they are aligned left, sometimes >>> right, only lucky ones at the center. >>> Those red boxes are to visualize vertex points. >>> >> >> You are using "ANGLE AUTO" in your label definition. In this case, MapServer >> places the label at the center of the longest segment of the polyline that >> define the street, and follows the angle of that segment. >> >> If you use ANGLE FOLLOW then the label will be placed at the center of the >> polyline itself (i.e. at total_length/2)... that should give the results >> that you expect. >> >> Daniel >> -- >> Daniel Morissette >> http://www.mapgears.com/ >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > From candalt at online.no Tue Jun 16 02:16:42 2009 From: candalt at online.no (=?iso-8859-1?Q?Sture_Dings=F8yr?=) Date: Tue, 16 Jun 2009 11:16:42 +0200 (MEST) Subject: [mapserver-users] WFS Encoding in 5.4.0 Message-ID: <6440996.47777.1245143798835.JavaMail.adm-moff@moffice6.nsc.no> Hi all Have a running WFS service in Mapserver 5.4.0, and i want to set the encoding to UTF-8. In previous versions of mapserver i only add the "wfs_encoding" "UTF-8" and the encoding is changed from the default in all WFS request types. If i test my WFS service to run in version 1.0.0 the encoding is announced as "UTF-8", but if i run the service in version 1.1.0 the encoding is still "ISO-8859-1". This only applies to the GetCapabilities request...not GetFeature and DescribeFeatureType request. Sture From andreas.albarello at territoriumonline.com Tue Jun 16 02:31:53 2009 From: andreas.albarello at territoriumonline.com (Andreas Albarello) Date: Tue, 16 Jun 2009 11:31:53 +0200 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A37396C.30801@romtelecom.ro> References: <4A37396C.30801@romtelecom.ro> Message-ID: <4A376689.3050108@territoriumonline.com> Adrian Popa wrote: > The original mapfile had rendering set up like this: > IMAGETYPE PNG > > while the new mapfile has rendering set up like this: > IMAGETYPE PNG > OUTPUTFORMAT > NAME 'AGG' > DRIVER AGG/PNG > IMAGEMODE RGB > END Adrian, you'll most likely need to write IMAGETYPE 'AGG' instead of IMAGETYPE PNG to make sure your new outputformat is used. Best regards, -- -------------------------------------------------------------------- Andreas Albarello Analysis & SW Development Territorium Online srl/GmbH Via Buozzi Str. 12 I 39100 Bolzano/Bozen Phone: +39 0471 068611 Fax: +39 0471 068619 email: andreas.albarello at territoriumonline.com web: http://www.territoriumonline.com -------------------------------------------------------------------- From adrian_gh.popa at romtelecom.ro Tue Jun 16 03:58:22 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Tue, 16 Jun 2009 13:58:22 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A376689.3050108@territoriumonline.com> References: <4A37396C.30801@romtelecom.ro> <4A376689.3050108@territoriumonline.com> Message-ID: <4A377ACE.5060804@romtelecom.ro> Thank you for your suggestion. I have corrected the mapfile ( added IMAGETYPE 'AGG'), however, when I try to load the map, I get a 500 web server error: [Tue Jun 16 13:43:25 2009] [error] [client 80.97.196.77] Premature end of script headers: mapserv, referer: http://terra/msmap/testmap.pl It seems to me that mapserv dies and doesn't output any headers back. How could I find out the error message? I already have a log statement in my WEB section: LOG "/var/www/html/map.log" (the file is writable by apache) Unfortunately I don't get anything in this log. My mapserver supports: [root at terra html]# /var/www/cgi-bin/mapserv -v MapServer version 5.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE Any ideas how to debug this? Thanks Andreas Albarello wrote: > Adrian Popa wrote: >> The original mapfile had rendering set up like this: >> IMAGETYPE PNG >> >> while the new mapfile has rendering set up like this: >> IMAGETYPE PNG >> OUTPUTFORMAT > > NAME 'AGG' > > DRIVER AGG/PNG >> IMAGEMODE RGB >> END > > Adrian, > > you'll most likely need to write > > IMAGETYPE 'AGG' > > instead of > > IMAGETYPE PNG > > to make sure your new outputformat is used. > > Best regards, > From davidn at datalinktech.com.au Tue Jun 16 04:24:13 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Tue, 16 Jun 2009 21:24:13 +1000 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A377ACE.5060804@romtelecom.ro> References: <4A37396C.30801@romtelecom.ro> <4A376689.3050108@territoriumonline.com> <4A377ACE.5060804@romtelecom.ro> Message-ID: On Tue, 16 Jun 2009 20:58:22 +1000, Adrian Popa wrote: > Thank you for your suggestion. > > I have corrected the mapfile ( added IMAGETYPE 'AGG'), however, when I > try to load the map, I get a 500 web server error: > > [Tue Jun 16 13:43:25 2009] [error] [client 80.97.196.77] Premature end > of script headers: mapserv, referer: http://terra/msmap/testmap.pl > > It seems to me that mapserv dies and doesn't output any headers back. > How could I find out the error message? The first place to check is the web server log. HTTP errors (and 500 is one) are usually visible there. I'm guessing that mapserver has a problem parsing the map file and you can usually discover the line it is having a problem with in the web server's log. The second level of logging is: CONFIG "MS_ERRORFILE" "path_to_mapserver.log" which provides more detail, but you usually have to configure DEBUG ON (or DEBUG 1-5) as well for this to be useful. Regards, David From adrian_gh.popa at romtelecom.ro Tue Jun 16 05:25:40 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Tue, 16 Jun 2009 15:25:40 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: References: <4A37396C.30801@romtelecom.ro> <4A376689.3050108@territoriumonline.com> <4A377ACE.5060804@romtelecom.ro> Message-ID: <4A378F44.10204@romtelecom.ro> Hello David, I got the 500 errors from the http error log file. Unfortunately no additional information is provided. I added the MS_ERRORFILE and DEBUG statements to my map file and although the errorfile is created, I don't get any other information (neither when the map loads perfectly, nor when it dies with premature end of script headers. I read RFC 28 (http://mapserver.org/development/rfc/ms-rfc-28.html) and they specified that the server should be compiled with -DENABLE_STDERR_DEBUG, so I recompiled mapserver: CFLAGS=-DENABLE_STDERR_DEBUG ./configure --with-freetype --with-png --with-agg=../agg-2.5 --with-proj --with-ogr --with-gdal --with-xml2 --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-postgis --with-threads --with-sos --with-mygis --with-geos --with-tiff I used the new binary and unfortunately nothing changed :( My (relevant part of the) mapfile looks like this: MAP CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" CONFIG "MS_DEBUGLEVEL" "5" DEBUG 5 ... END What else can I try? Regards, David Nugent wrote: > On Tue, 16 Jun 2009 20:58:22 +1000, Adrian Popa > wrote: > >> Thank you for your suggestion. >> >> I have corrected the mapfile ( added IMAGETYPE 'AGG'), however, when >> I try to load the map, I get a 500 web server error: >> >> [Tue Jun 16 13:43:25 2009] [error] [client 80.97.196.77] Premature >> end of script headers: mapserv, referer: http://terra/msmap/testmap.pl >> >> It seems to me that mapserv dies and doesn't output any headers back. >> How could I find out the error message? > > The first place to check is the web server log. HTTP errors (and 500 > is one) are usually visible there. I'm guessing that mapserver has a > problem parsing the map file and you can usually discover the line it > is having a problem with in the web server's log. > > The second level of logging is: > > CONFIG "MS_ERRORFILE" "path_to_mapserver.log" > > which provides more detail, but you usually have to configure DEBUG ON > (or DEBUG 1-5) as well for this to be useful. > > > Regards, > David > From andreas.albarello at territoriumonline.com Tue Jun 16 05:44:02 2009 From: andreas.albarello at territoriumonline.com (Andreas Albarello) Date: Tue, 16 Jun 2009 14:44:02 +0200 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A378F44.10204@romtelecom.ro> References: <4A37396C.30801@romtelecom.ro> Message-ID: <0228E12F-794C-4654-A397-D607161AA8C9@territoriumonline.com> On 16 Jun 2009, at 14:25, Adrian Popa wrote: > Hello David, > > I got the 500 errors from the http error log file. Unfortunately no > additional information is provided. > I added the MS_ERRORFILE and DEBUG statements to my map file and > although the errorfile is created, I don't get any other information > (neither when the map loads perfectly, nor when it dies with > premature end of script headers. > > I read RFC 28 (http://mapserver.org/development/rfc/ms-rfc-28.html) > and they specified that the server should be compiled with - > DENABLE_STDERR_DEBUG, so I recompiled mapserver: > CFLAGS=-DENABLE_STDERR_DEBUG ./configure --with-freetype --with-png > --with-agg=../agg-2.5 --with-proj --with-ogr --with-gdal --with-xml2 > --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with- > postgis --with-threads --with-sos --with-mygis --with-geos --with-tiff > > I used the new binary and unfortunately nothing changed :( > > My (relevant part of the) mapfile looks like this: > > MAP > CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" > CONFIG "MS_DEBUGLEVEL" "5" > DEBUG 5 ... > END > > What else can I try? Try to bypass the webserver/CGI stuff and launch shp2img directly from the shell, that should hopefully yield some better output: shp2img -o test.png -m mapfile.map If you haven't already done so in your mapfile, you might need to add an image size (-s 500 500) and/or an extent (-e minx miny maxx maxy) to the above command line options. Best regards, -- -------------------------------------------------------------------- Andreas Albarello Analysis & SW Development Territorium Online srl/GmbH Via Buozzi/Buozzistra?e 12 - I 39100 Bolzano/Bozen email: andreas.albarello at territoriumonline.com web: www.territoriumonline.com -------------------------------------------------------------------- From adrian_gh.popa at romtelecom.ro Tue Jun 16 06:13:04 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Tue, 16 Jun 2009 16:13:04 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <0228E12F-794C-4654-A397-D607161AA8C9@territoriumonline.com> References: <4A378F44.10204@romtelecom.ro> <0228E12F-794C-4654-A397-D607161AA8C9@territoriumonline.com> Message-ID: <4A379A60.4090700@romtelecom.ro> Thank you for your suggestion Andreas, I have run shp2img and unfortunately: [root at terra tmp]# shp2img -o /tmp/out.png -m /var/www/html/msmap/dynamicmaps/fibUaBrx.map -e "20.259999999999998 43.16 29.700000000000003 49.2016" -s "1250 800" -l "GranitaJudete Judete Urban Rural RuralSate buildings fibra fiber-common fiber-STM64 fiber-STM16 fiber-STM4 fiber-STM1 fiber-problems-main fiber-problems-related fibraProblems" *Segmentation fault* Running the command through strace, it ends up like this: ........ read(4, "h\376\237\224O\320;@p\225\4\25\'xG@\264d\270>^\320;@\26"..., 45056) = 45056 read(4, "\303\362oU\36\206;@BY\237\354isG@\34\271\214\333\37\206"..., 4096) = 4096 _llseek(9, 12288, [12288], SEEK_SET) = 0 read(9, " "..., 4096) = 148 _llseek(4, 1458176, [1458176], SEEK_SET) = 0 read(4, "\25\327\377\332\27\23G@\30\256\23v9|;@\233M%\235\372\22"..., 24576) = 24576 read(4, " A\1$\203\21G at .\245\211Px ;@\314\353\330\355\242\21G@\367"..., 4096) = 1784 close(8) = 0 munmap(0xb7f36000, 4096) = 0 close(4) = 0 munmap(0xb7f38000, 4096) = 0 close(9) = 0 munmap(0xb7f35000, 4096) = 0 gettimeofday({1245157506, 462482}, NULL) = 0 gettimeofday({1245157506, 462600}, NULL) = 0 open("/etc/localtime", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f38000 read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0"..., 4096) = 798 close(4) = 0 munmap(0xb7f38000, 4096) = 0 gettimeofday({1245157506, 463468}, NULL) = 0 gettimeofday({1245157506, 463535}, NULL) = 0 gettimeofday({1245157506, 463599}, NULL) = 0 gettimeofday({1245157506, 463664}, NULL) = 0 gettimeofday({1245157506, 463734}, NULL) = 0 gettimeofday({1245157506, 463802}, NULL) = 0 gettimeofday({1245157506, 463866}, NULL) = 0 gettimeofday({1245157506, 463934}, NULL) = 0 gettimeofday({1245157506, 464028}, NULL) = 0 *open("/var/www/html/msmap/dynamicmaps/../data/Judete.shp", O_RDONLY|O_LARGEFILE) = 4* open("/var/www/html/msmap/dynamicmaps/../data/Judete.shx", O_RDONLY|O_LARGEFILE) = 8 fstat64(4, {st_mode=S_IFREG|0555, st_size=1484536, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f38000 *read(4*, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\vS|"..., 4096) = 4096 fstat64(8, {st_mode=S_IFREG|0555, st_size=436, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f36000 read(8, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 436 open("/var/www/html/msmap/dynamicmaps/../data/Judete.dbf", O_RDONLY|O_LARGEFILE) = 9 fstat64(9, {st_mode=S_IFREG|0555, st_size=12436, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f35000 read(9, "\3k\6\24*\0\0\0\201\0%\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 _llseek(9, 0, [0], SEEK_SET) = 0 read(9, "\3k\6\24*\0\0\0\201\0%\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 _llseek(8, 0, [0], SEEK_SET) = 0 read(8, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 436 read(8, "", 4096) = 0 _llseek(4, 0, [0], SEEK_SET) = 0 *read(4*, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\vS|"..., 4096) = 4096 *read(4,* "\\T7 at By\233\300\226BG@\342\376\n\341\340T7@\266Mo\267\241"..., 49152) = 49152 *read(4,* "]\3366@\34\21\376\224 +G at g\245\\8\247\3356 at 6\277\213.\f"..., 4096) = 4096 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 20970 detached I'm not sure if it faults because it can't read from file handler 4 (Judete.shp), or if it's something else... I also tried by not specifying Judete in the layer list, but it still dies (while reading Judete.shp!). I will look further into problems with AGG (because it renders fine with PNG) Thank you for your help - now I know where to look. Regards, Adrian P.S. Ideas are welcome! Andreas Albarello wrote: > > On 16 Jun 2009, at 14:25, Adrian Popa wrote: > >> Hello David, >> >> I got the 500 errors from the http error log file. Unfortunately no >> additional information is provided. >> I added the MS_ERRORFILE and DEBUG statements to my map file and >> although the errorfile is created, I don't get any other information >> (neither when the map loads perfectly, nor when it dies with >> premature end of script headers. >> >> I read RFC 28 (http://mapserver.org/development/rfc/ms-rfc-28.html) >> and they specified that the server should be compiled with >> -DENABLE_STDERR_DEBUG, so I recompiled mapserver: >> CFLAGS=-DENABLE_STDERR_DEBUG ./configure --with-freetype --with-png >> --with-agg=../agg-2.5 --with-proj --with-ogr --with-gdal --with-xml2 >> --with-wfs --with-wcs --with-wmsclient --with-wfsclient >> --with-postgis --with-threads --with-sos --with-mygis --with-geos >> --with-tiff >> >> I used the new binary and unfortunately nothing changed :( >> >> My (relevant part of the) mapfile looks like this: >> >> MAP >> CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" >> CONFIG "MS_DEBUGLEVEL" "5" >> DEBUG 5 ... >> END >> >> What else can I try? > > Try to bypass the webserver/CGI stuff and launch shp2img directly from > the shell, that should hopefully yield some better output: > > shp2img -o test.png -m mapfile.map > > If you haven't already done so in your mapfile, you might need to add > an image size (-s 500 500) and/or an extent (-e minx miny maxx maxy) > to the above command line options. > > Best regards, > -- > -------------------------------------------------------------------- > Andreas Albarello > Analysis & SW Development > > Territorium Online srl/GmbH > Via Buozzi/Buozzistra?e 12 - I 39100 Bolzano/Bozen > email: andreas.albarello at territoriumonline.com > web: www.territoriumonline.com > -------------------------------------------------------------------- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauljame at gmail.com Tue Jun 16 07:06:19 2009 From: pauljame at gmail.com (Paul james) Date: Tue, 16 Jun 2009 11:06:19 -0300 Subject: [mapserver-users] LABEL problem using CGI... Message-ID: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> Hello guys... My layer: LAYER NAME SouthAmerica GROUP "limit" TYPE POLYGON STATUS default CONNECTIONTYPE POSTGIS CONNECTION "x" DATA "x" LABELITEM "name" CLASS COLOR 242 239 213 STYLE OUTLINECOLOR 190 190 190 WIDTH 1 END LABEL COLOR 72 72 72 TYPE TRUETYPE FONT Arial SIZE 10 ANTIALIAS TRUE POSITION AUTO PARTIALS FALSE MINDISTANCE 0 BUFFER 3 PRIORITY 1 END END END How we can see in picture (attached) the coutry?s name are repeated... Using mapscript it is not happen... I?m using Mapserver 5.4 with fastcgi... []?s -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: map.GIF Type: image/gif Size: 22916 bytes Desc: not available URL: From phalguni.pal at gmail.com Tue Jun 16 08:11:02 2009 From: phalguni.pal at gmail.com (Phalguni Pal) Date: Tue, 16 Jun 2009 17:11:02 +0200 Subject: [mapserver-users] Problems in MS4W Message-ID: Dear Friends, I have installed MS4W in XP- OS (C:\ms4w) as administrator in my machine. And Mapserver is replying "No query information to decode. QUERY_STRING is set, but empty" form 'http://localhost/cgi-bin/mapserv.exe?'. But when I tried to access a map file (C:\mapdata\cities.map), the mapserver gave error like "msLoadMap(): Unable to access file. (C:\mapdata\cities.map) ". The same file is korking in anothe machine with XP. Any suggestion is welcome. -- Phalguni Pal -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Toutant at inspq.qc.ca Tue Jun 16 10:06:33 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Tue, 16 Jun 2009 13:06:33 -0400 Subject: RE [mapserver-users] Problems in MS4W In-Reply-To: Message-ID: You should post the url you are using to access the mapfile. What do you mean by "The same file is korking in anothe machine with XP"? Do You mean another mapserver or just the same mapfile host on another machine? Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca Phalguni Pal @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 16/06/2009 11:11 AM A mapserver-users at lists.osgeo.org cc Objet [mapserver-users] Problems in MS4W Dear Friends, I have installed MS4W in XP- OS (C:\ms4w) as administrator in my machine. And Mapserver is replying "No query information to decode. QUERY_STRING is set, but empty" form 'http://localhost/cgi-bin/mapserv.exe?'. But when I tried to access a map file (C:\mapdata\cities.map), the mapserver gave error like "msLoadMap(): Unable to access file. (C:\mapdata\cities.map) ". The same file is korking in anothe machine with XP. Any suggestion is welcome. -- Phalguni Pal _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Tue Jun 16 14:28:23 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 16 Jun 2009 16:28:23 -0500 Subject: [mapserver-users] LABEL problem using CGI... In-Reply-To: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> References: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> Message-ID: <4A37C829.5157.008F.0@dnr.state.mn.us> And this is the result of a single call to the CGI with mode=map? MapServer doesn't just invent label placements like this and there should be no difference between a single image with mode=map or a single call to a mapObj's draw() method. Looks to me as if you sample image is the result of merging tiled images created from multiple calls to the CGI. Steve >>> On 6/16/2009 at 9:06 AM, in message <33fad6880906160706k5725608dh98ea6887aa82bcb7 at mail.gmail.com>, Paul james wrote: > Hello guys... > > My layer: > > LAYER > NAME SouthAmerica > GROUP "limit" > TYPE POLYGON > STATUS default > CONNECTIONTYPE POSTGIS > CONNECTION "x" > DATA "x" > LABELITEM "name" > CLASS > COLOR 242 239 213 > STYLE > OUTLINECOLOR 190 190 190 > WIDTH 1 > END > LABEL > COLOR 72 72 72 > TYPE TRUETYPE > FONT Arial > SIZE 10 > ANTIALIAS TRUE > POSITION AUTO > PARTIALS FALSE > MINDISTANCE 0 > BUFFER 3 > PRIORITY 1 > END > END > END > > > How we can see in picture (attached) the coutry?s name are repeated... Using > mapscript it is not happen... > > I?m using Mapserver 5.4 with fastcgi... > > []?s From woodbri at swoodbridge.com Tue Jun 16 20:54:20 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Tue, 16 Jun 2009 23:54:20 -0400 Subject: [mapserver-users] MS 5.4.1 Build problems on Windows Message-ID: <4A3868EC.4020906@swoodbridge.com> Hi all, This is my first time trying to build mapserver under Windows and it is dying in the regex-0.12 source with the the errors below. Any thoughts on how to resolved this? Thanks, -Steve W. cl /nologo /Ox /MD /W3 /EHsc -Ic:\projects\mapserver\..\gdwin32 -Ic :\projects\mapserver\..\proj-4.6.1/src -Ic:\projects\mapserver\..\regex-0.12 -Ic:\projects\mapserver\..\postgresql-8.3.7/src/interfaces/libpq -Ic:\project s\mapserver\..\postgresql-8.3.7/src/include -Ic:\projects\mapserver\..\z lib-1.2.3 -Ic:\projects\mapserver\..\libpng-1.2.8 -DHAVE_STRING_H -DREGEX_MA LLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_S TRCASESTR -DUSE_POSTGIS -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_GD_PNG -DUSE_GD_JP EG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBIT MAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_THREAD -DIGNORE_MISSING_DATA -DUSE_GD_ANTIALIAS -DWIN32 -D_WIN32 /c c:\projects\mapserver\..\r egex-0.12\regex.c /Foc:\projects\mapserver\..\regex-0.12\regex.obj regex.c [snip lots of warnings] c:\projects\mapserver\..\regex-0.12\regex.c(4877) : warning C4996: 'errcode': Th is name was supported during some Whidbey pre-releases. Instead, use the standar d name errno_t. C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) : see declaration of 'errcode' c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: 'preg' : name i n formal parameter list illegal c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: 'errbuf' : name in formal parameter list illegal c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: 'errbuf_size' : name in formal parameter list illegal c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2055: expected formal parameter list, not a type list c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2082: redefinition of formal parameter 'errcode' c:\projects\mapserver\..\regex-0.12\regex.c(4886) : warning C4996: 'errcode': Th is name was supported during some Whidbey pre-releases. Instead, use the standar d name errno_t. C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) : see declaration of 'errcode' c:\projects\mapserver\..\regex-0.12\regex.c(4886) : error C2059: syntax error : 'type' c:\projects\mapserver\..\regex-0.12\regex.c(4894) : error C2275: 'errcode' : ill egal use of this type as an expression C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(548) : see declaration of 'errcode' c:\projects\mapserver\..\regex-0.12\regex.c(4911) : warning C4996: 'strcpy': Thi s function or variable may be unsafe. Consider using strcpy_s instead. To disabl e deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \cl.EXE"' : return code '0x2' Stop. From lehrs at erau.edu Wed Jun 17 00:16:52 2009 From: lehrs at erau.edu (Steven Lehr) Date: Wed, 17 Jun 2009 03:16:52 -0400 Subject: [mapserver-users] HTML Legend vs Transparency in Layer Message-ID: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> Hello all... When categorizing layers like zoning, I frequently use levels of transparency (obviously so people can see through them). However, this alters the physical color compared to the COLOR attribute of the item being displayed. When I generate the Legend, the legend use the COLOR attribute specified, but does not use the transparency setting from the LAYER; thus causing the legend to look different from the maps. Is there away to fix this? Can the Legend generated from the LAYER also apply the TRANSPARENCY so that the legend looks like the map. Thanks for the tips/help. Steve Lehr -------------- next part -------------- An HTML attachment was scrubbed... URL: From kreshna_iceheart at yahoo.com Wed Jun 17 00:28:46 2009 From: kreshna_iceheart at yahoo.com (kreshna_iceheart at yahoo.com) Date: Wed, 17 Jun 2009 00:28:46 -0700 (PDT) Subject: [mapserver-users] getAllLayerNames crashes PHP MapScript? Message-ID: <394344.28338.qm@web110609.mail.gq1.yahoo.com> I have the following codes in my web map application: $GLOBALS["layer_names"] = $GLOBALS["map"]->getAllLayerNames(); When I ran the web map application through browser, Windows gave me the following error message: CGI / FastCGI has encountered a problem and needs to close. We are sorry for the inconvenience. Also, the browser showed the following error message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin at local.domain and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. First I thought it was because I used global variables, but I changed the variables into non-global variables, and the error was still there. I'm using ms4w with MapServer version 5.0.2. The PHP version is 5.2.5 (cli) (built: Nov 8 2007 23:18:51), with Zend Engine v2.2.0. What could be wrong? Thanks, -Kresh PS: the following is the result of phpinfo_mapscript.php System Windows NT TOSHIBA-FA8C99F 5.1 build 2600 Build Date Nov 8 2007 23:18:08 Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" Server API CGI/FastCGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS Loaded Configuration File D:\ms4w\Apache\cgi-bin\php.ini PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Debug Build no Thread Safety enabled Zend Memory Manager enabled IPv6 Support enabled Registered PHP Streams php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports tcp, udp Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies From kreshna_iceheart at yahoo.com Wed Jun 17 00:31:00 2009 From: kreshna_iceheart at yahoo.com (kreshna_iceheart at yahoo.com) Date: Wed, 17 Jun 2009 00:31:00 -0700 (PDT) Subject: [mapserver-users] getAllLayerNames crashes PHP MapScript? Message-ID: <103568.34917.qm@web110615.mail.gq1.yahoo.com> I have the following codes in my web map application: $GLOBALS["layer_names"] = $GLOBALS["map"]->getAllLayerNames(); When I ran the web map application through browser, Windows gave me the following error message: CGI / FastCGI has encountered a problem and needs to close. We are sorry for the inconvenience. Also, the browser showed the following error message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin at local.domain and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. First I thought it was because I used global variables, but I changed the variables into non-global variables, and the error was still there. I'm using ms4w with MapServer version 5.0.2. The PHP version is 5.2.5 (cli) (built: Nov 8 2007 23:18:51), with Zend Engine v2.2.0. What could be wrong? Thanks, -Kresh PS: the following is the result of phpinfo_mapscript.php System Windows NT TOSHIBA-FA8C99F 5.1 build 2600 Build Date Nov 8 2007 23:18:08 Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" Server API CGI/FastCGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS Loaded Configuration File D:\ms4w\Apache\cgi-bin\php.ini PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Debug Build no Thread Safety enabled Zend Memory Manager enabled IPv6 Support enabled Registered PHP Streams php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports tcp, udp Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies From szekerest at gmail.com Wed Jun 17 03:16:37 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Wed, 17 Jun 2009 12:16:37 +0200 Subject: [mapserver-users] MS 5.4.1 Build problems on Windows In-Reply-To: <4A3868EC.4020906@swoodbridge.com> References: <4A3868EC.4020906@swoodbridge.com> Message-ID: Steve, You could download any of the SDK packages (according to your compiler version and architecture) supported from this location: http://vbkto.dyndns.org:1280/sdk/Default.aspx (see the bottom of the page for the SDKs) These packages contain all the required stuff for a successful compilation and the required patch in the regex lib which should make it compile well. Best regards, Tamas 2009/6/17 Stephen Woodbridge > Hi all, > > This is my first time trying to build mapserver under Windows and it is > dying in the regex-0.12 source with the the errors below. Any thoughts on > how to resolved this? > > Thanks, > -Steve W. > > cl /nologo /Ox /MD /W3 /EHsc -Ic:\projects\mapserver\..\gdwin32 > -Ic > :\projects\mapserver\..\proj-4.6.1/src > -Ic:\projects\mapserver\..\regex-0.12 > -Ic:\projects\mapserver\..\postgresql-8.3.7/src/interfaces/libpq > -Ic:\project > s\mapserver\..\postgresql-8.3.7/src/include -Ic:\projects\mapserver\..\z > lib-1.2.3 -Ic:\projects\mapserver\..\libpng-1.2.8 -DHAVE_STRING_H > -DREGEX_MA > LLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR > -DNEED_S > TRCASESTR -DUSE_POSTGIS -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_GD_PNG > -DUSE_GD_JP > EG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT > -DGD_HAS_GETBIT > MAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_THREAD -DIGNORE_MISSING_DATA > -DUSE_GD_ANTIALIAS -DWIN32 -D_WIN32 /c > c:\projects\mapserver\..\r > egex-0.12\regex.c /Foc:\projects\mapserver\..\regex-0.12\regex.obj > regex.c > > [snip lots of warnings] > > c:\projects\mapserver\..\regex-0.12\regex.c(4877) : warning C4996: > 'errcode': Th > is name was supported during some Whidbey pre-releases. Instead, use the > standar > d name errno_t. > C:\Program Files\Microsoft Visual Studio > 9.0\VC\INCLUDE\crtdefs.h(548) : > see declaration of 'errcode' > c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: 'preg' : > name i > n formal parameter list illegal > c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: 'errbuf' : > name > in formal parameter list illegal > c:\projects\mapserver\..\regex-0.12\regex.c(4877) : error C2081: > 'errbuf_size' : > name in formal parameter list illegal > c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2055: expected > formal > parameter list, not a type list > c:\projects\mapserver\..\regex-0.12\regex.c(4878) : error C2082: > redefinition of > formal parameter 'errcode' > c:\projects\mapserver\..\regex-0.12\regex.c(4886) : warning C4996: > 'errcode': Th > is name was supported during some Whidbey pre-releases. Instead, use the > standar > d name errno_t. > C:\Program Files\Microsoft Visual Studio > 9.0\VC\INCLUDE\crtdefs.h(548) : > see declaration of 'errcode' > c:\projects\mapserver\..\regex-0.12\regex.c(4886) : error C2059: syntax > error : > 'type' > c:\projects\mapserver\..\regex-0.12\regex.c(4894) : error C2275: 'errcode' > : ill > egal use of this type as an expression > C:\Program Files\Microsoft Visual Studio > 9.0\VC\INCLUDE\crtdefs.h(548) : > see declaration of 'errcode' > c:\projects\mapserver\..\regex-0.12\regex.c(4911) : warning C4996: > 'strcpy': Thi > s function or variable may be unsafe. Consider using strcpy_s instead. To > disabl > e deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN > \cl.EXE"' : return code '0x2' > Stop. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at remoteinformation.com.au Wed Jun 17 04:38:50 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Wed, 17 Jun 2009 19:38:50 +0800 Subject: [mapserver-users] Problems in MS4W In-Reply-To: <20090616160025.E77B4E019E2@lists.osgeo.org> References: <20090616160025.E77B4E019E2@lists.osgeo.org> Message-ID: G'day, On 17/06/2009, at 12:00 AM, Phalguni Pal wrote: > I have installed MS4W in XP- OS (C:\ms4w) as administrator in my > machine. And Mapserver is replying "No query information to decode. > QUERY_STRING is set, but empty" form 'http://localhost/cgi-bin/mapserv.exe?' > . But when I tried to access a map file (C:\mapdata\cities.map), the > mapserver gave error like "msLoadMap(): Unable to access file. (C: > \mapdata\cities.map) ". The same file is korking in anothe machine > with XP. > > Any suggestion is welcome. Assuming (...) that you are calling http://localhost/cgi-bin/mapserv.exe?map=C :\mapdata\cities.map&mode=browse (or something like that) I would guess it means that it can't access the file... so check that: the file is where it is meant to be, and that the permissions on the folder will allow the webserver to access it. I'm not sure what the ms4w layout is, but try moving the mapfile into the htdocs directory if there are permissions problems. you will need to supply a little more information if you want a little more help. good luck.. Ben -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... From adrian_gh.popa at romtelecom.ro Wed Jun 17 04:47:41 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Wed, 17 Jun 2009 14:47:41 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A379A60.4090700@romtelecom.ro> References: <4A378F44.10204@romtelecom.ro> <0228E12F-794C-4654-A397-D607161AA8C9@territoriumonline.com> <4A379A60.4090700@romtelecom.ro> Message-ID: <4A38D7DD.4060106@romtelecom.ro> I've managed to run mapserv through gdb, and my suspicions were confirmed - it dies in the AGG part: ... Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xa3e000 [Thread debugging using libthread_db enabled] [New Thread -1208244032 (LWP 18090)] *Program received signal SIGSEGV, Segmentation fault.* [Switching to Thread -1208244032 (LWP 18090)] *0x00402b8c in agg::vertex_sequence::add () from /usr/lib/libagg.so.2* (gdb) where #0 0x00402b8c in agg::vertex_sequence::add () from /usr/lib/libagg.so.2 #1 0x00402c2f in agg::vertex_sequence::modify_last () from /usr/lib/libagg.so.2 #2 0x004050e5 in agg::vcgen_stroke::add_vertex () from /usr/lib/libagg.so.2 #3 0x080d2f4c in agg::conv_adaptor_vcgen::vertex (this=0xbfdcdbf4, x=0xbfdcdc98, y=0xbfdcdca0) at /home/adrianp/mapserver/mapserver-5.4.1/../agg-2.5/include/agg_conv_adaptor_vcgen.h:115 #4 0x080e4206 in AGGMapserverRenderer::renderPolyline (this=0xa079968, p=@0xa081b58, color=@0xbfdcdf48, width=1, dashstylelength=0, dashstyle=0x9c27980, lc=agg::round_cap, lj=agg::round_join) at /home/adrianp/mapserver/mapserver-5.4.1/../agg-2.5/include/agg_rasterizer_scanline_aa.h:206 #5 0x080ccc46 in msDrawLineSymbolAGG (symbolset=0x9c2556c, image=0x9c4bb78, p=0xbfdce298, style=0x9c3ba18, scalefactor=1) at mapagg.cpp:1672 #6 0x080b331d in msDrawLineSymbol (symbolset=0x9c2556c, image=0x9c4bb78, p=0xbfdce298, style=0x9c3ba18, scalefactor=1) at mapdraw.c:2117 #7 0x080b1d4d in msDrawShape (map=0x9c25548, layer=0x9c3ae60, shape=0xbfdce298, image=0x9c4bb78, style=0, querymapMode=1) at mapdraw.c:1782 #8 0x080ae1eb in msDrawVectorLayer (map=0x9c25548, layer=0x9c3ae60, image=0x9c4bb78) at mapdraw.c:938 #9 0x080ad91d in msDrawLayer (map=0x9c25548, layer=0x9c3ae60, image=0x9c4bb78) at mapdraw.c:743 #10 0x080acb54 in msDrawMap (map=0x9c25548, querymap=0) at mapdraw.c:441 #11 0x080584b3 in main (argc=2, argv=0xbfdcea84) at mapserv.c:1417 I'll have to check to see if there are known bugs regarding AGG... Adrian Popa wrote: > Thank you for your suggestion Andreas, > > I have run shp2img and unfortunately: > [root at terra tmp]# shp2img -o /tmp/out.png -m > /var/www/html/msmap/dynamicmaps/fibUaBrx.map -e "20.259999999999998 > 43.16 29.700000000000003 49.2016" -s "1250 800" -l "GranitaJudete > Judete Urban Rural RuralSate buildings fibra fiber-common fiber-STM64 > fiber-STM16 fiber-STM4 fiber-STM1 fiber-problems-main > fiber-problems-related fibraProblems" > *Segmentation fault* > > Running the command through strace, it ends up like this: > > ........ > read(4, "h\376\237\224O\320;@p\225\4\25\'xG@\264d\270>^\320;@\26"..., > 45056) = 45056 > read(4, "\303\362oU\36\206;@BY\237\354isG@\34\271\214\333\37\206"..., > 4096) = 4096 > _llseek(9, 12288, [12288], SEEK_SET) = 0 > read(9, " "..., 4096) = 148 > _llseek(4, 1458176, [1458176], SEEK_SET) = 0 > read(4, "\25\327\377\332\27\23G@\30\256\23v9|;@\233M%\235\372\22"..., > 24576) = 24576 > read(4, " A\1$\203\21G at .\245\211Px > ;@\314\353\330\355\242\21G@\367"..., 4096) = 1784 > close(8) = 0 > munmap(0xb7f36000, 4096) = 0 > close(4) = 0 > munmap(0xb7f38000, 4096) = 0 > close(9) = 0 > munmap(0xb7f35000, 4096) = 0 > gettimeofday({1245157506, 462482}, NULL) = 0 > gettimeofday({1245157506, 462600}, NULL) = 0 > open("/etc/localtime", O_RDONLY) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0 > fstat64(4, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7f38000 > read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0"..., > 4096) = 798 > close(4) = 0 > munmap(0xb7f38000, 4096) = 0 > gettimeofday({1245157506, 463468}, NULL) = 0 > gettimeofday({1245157506, 463535}, NULL) = 0 > gettimeofday({1245157506, 463599}, NULL) = 0 > gettimeofday({1245157506, 463664}, NULL) = 0 > gettimeofday({1245157506, 463734}, NULL) = 0 > gettimeofday({1245157506, 463802}, NULL) = 0 > gettimeofday({1245157506, 463866}, NULL) = 0 > gettimeofday({1245157506, 463934}, NULL) = 0 > gettimeofday({1245157506, 464028}, NULL) = 0 > *open("/var/www/html/msmap/dynamicmaps/../data/Judete.shp", > O_RDONLY|O_LARGEFILE) = 4* > open("/var/www/html/msmap/dynamicmaps/../data/Judete.shx", > O_RDONLY|O_LARGEFILE) = 8 > fstat64(4, {st_mode=S_IFREG|0555, st_size=1484536, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7f38000 > *read(4*, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\vS|"..., > 4096) = 4096 > fstat64(8, {st_mode=S_IFREG|0555, st_size=436, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7f36000 > read(8, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 4096) = 436 > open("/var/www/html/msmap/dynamicmaps/../data/Judete.dbf", > O_RDONLY|O_LARGEFILE) = 9 > fstat64(9, {st_mode=S_IFREG|0555, st_size=12436, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7f35000 > read(9, "\3k\6\24*\0\0\0\201\0%\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 4096) = 4096 > _llseek(9, 0, [0], SEEK_SET) = 0 > read(9, "\3k\6\24*\0\0\0\201\0%\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 4096) = 4096 > _llseek(8, 0, [0], SEEK_SET) = 0 > read(8, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 4096) = 436 > read(8, "", 4096) = 0 > _llseek(4, 0, [0], SEEK_SET) = 0 > *read(4*, "\0\0\'\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\vS|"..., > 4096) = 4096 > *read(4,* > "\\T7 at By\233\300\226BG@\342\376\n\341\340T7@\266Mo\267\241"..., 49152) > = 49152 > *read(4,* "]\3366@\34\21\376\224 > +G at g\245\\8\247\3356 at 6\277\213.\f"..., 4096) = 4096 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > Process 20970 detached > > > I'm not sure if it faults because it can't read from file handler 4 > (Judete.shp), or if it's something else... I also tried by not > specifying Judete in the layer list, but it still dies (while reading > Judete.shp!). > > I will look further into problems with AGG (because it renders fine > with PNG) > > Thank you for your help - now I know where to look. > Regards, > Adrian > > P.S. Ideas are welcome! > > Andreas Albarello wrote: >> >> On 16 Jun 2009, at 14:25, Adrian Popa wrote: >> >>> Hello David, >>> >>> I got the 500 errors from the http error log file. Unfortunately no >>> additional information is provided. >>> I added the MS_ERRORFILE and DEBUG statements to my map file and >>> although the errorfile is created, I don't get any other information >>> (neither when the map loads perfectly, nor when it dies with >>> premature end of script headers. >>> >>> I read RFC 28 (http://mapserver.org/development/rfc/ms-rfc-28.html) >>> and they specified that the server should be compiled with >>> -DENABLE_STDERR_DEBUG, so I recompiled mapserver: >>> CFLAGS=-DENABLE_STDERR_DEBUG ./configure --with-freetype --with-png >>> --with-agg=../agg-2.5 --with-proj --with-ogr --with-gdal --with-xml2 >>> --with-wfs --with-wcs --with-wmsclient --with-wfsclient >>> --with-postgis --with-threads --with-sos --with-mygis --with-geos >>> --with-tiff >>> >>> I used the new binary and unfortunately nothing changed :( >>> >>> My (relevant part of the) mapfile looks like this: >>> >>> MAP >>> CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" >>> CONFIG "MS_DEBUGLEVEL" "5" >>> DEBUG 5 ... >>> END >>> >>> What else can I try? >> >> Try to bypass the webserver/CGI stuff and launch shp2img directly >> from the shell, that should hopefully yield some better output: >> >> shp2img -o test.png -m mapfile.map >> >> If you haven't already done so in your mapfile, you might need to add >> an image size (-s 500 500) and/or an extent (-e minx miny maxx maxy) >> to the above command line options. >> >> Best regards, >> -- >> -------------------------------------------------------------------- >> Andreas Albarello >> Analysis & SW Development >> >> Territorium Online srl/GmbH >> Via Buozzi/Buozzistra?e 12 - I 39100 Bolzano/Bozen >> email: andreas.albarello at territoriumonline.com >> web: www.territoriumonline.com >> -------------------------------------------------------------------- >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core & Backbone Phone: +40 21 400 3099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauljame at gmail.com Wed Jun 17 05:31:50 2009 From: pauljame at gmail.com (Paul james) Date: Wed, 17 Jun 2009 09:31:50 -0300 Subject: [mapserver-users] LABEL problem using CGI... In-Reply-To: <4A37C829.5157.008F.0@dnr.state.mn.us> References: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> <4A37C829.5157.008F.0@dnr.state.mn.us> Message-ID: <33fad6880906170531m2aa6ef6aqafbd167dbd81ce6f@mail.gmail.com> You are right... It is Tiled (using OL)... In that case, How can I "fix" that effect? Thanks On Tue, Jun 16, 2009 at 6:28 PM, Steve Lime wrote: > And this is the result of a single call to the CGI with mode=map? > MapServer doesn't just invent label placements like this and > there should be no difference between a single image with mode=map or a > single call to a mapObj's draw() method. > > Looks to me as if you sample image is the result of merging tiled > images created from multiple calls to the CGI. > > Steve > > >>> On 6/16/2009 at 9:06 AM, in message > <33fad6880906160706k5725608dh98ea6887aa82bcb7 at mail.gmail.com>, Paul > james > wrote: > > Hello guys... > > > > My layer: > > > > LAYER > > NAME SouthAmerica > > GROUP "limit" > > TYPE POLYGON > > STATUS default > > CONNECTIONTYPE POSTGIS > > CONNECTION "x" > > DATA "x" > > LABELITEM "name" > > CLASS > > COLOR 242 239 213 > > STYLE > > OUTLINECOLOR 190 190 190 > > WIDTH 1 > > END > > LABEL > > COLOR 72 72 72 > > TYPE TRUETYPE > > FONT Arial > > SIZE 10 > > ANTIALIAS TRUE > > POSITION AUTO > > PARTIALS FALSE > > MINDISTANCE 0 > > BUFFER 3 > > PRIORITY 1 > > END > > END > > END > > > > > > How we can see in picture (attached) the coutry?s name are > repeated... Using > > mapscript it is not happen... > > > > I?m using Mapserver 5.4 with fastcgi... > > > > []?s > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidn at datalinktech.com.au Wed Jun 17 06:01:13 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Wed, 17 Jun 2009 23:01:13 +1000 Subject: [mapserver-users] LABEL problem using CGI... In-Reply-To: <33fad6880906170531m2aa6ef6aqafbd167dbd81ce6f@mail.gmail.com> References: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> <4A37C829.5157.008F.0@dnr.state.mn.us> <33fad6880906170531m2aa6ef6aqafbd167dbd81ce6f@mail.gmail.com> Message-ID: On Wed, 17 Jun 2009 22:31:50 +1000, Paul james wrote: > You are right... > It is Tiled (using OL)... > In that case, How can I "fix" that effect? This should be in an FAQ :-) It has been answered at least 4 times here in the last couple months... Add PROCESSING "LABEL_NO_CLIP=ON" to your LAYER. YYMV, but I've noticed a side-effect of using this that I've been unable to quantify. However it does stop the repetition of labels at the boundaries so it solves your problem. For me it seems to create another problem - clipping of labels at (meta) tile boundaries regardless what I'm setting LABELCACHE_MAP_EDGE_BUFFER to in the mapscript that renders the tiles. I made my metatiles larger to reduce this effect but have been meaning to try again with PARTIALS TRUE and not setting LABELCACHE_MAP_EDGE_BUFFER, which "in theory" should work. Regards, David From pauljame at gmail.com Wed Jun 17 06:19:57 2009 From: pauljame at gmail.com (Paul james) Date: Wed, 17 Jun 2009 10:19:57 -0300 Subject: [mapserver-users] LABEL problem using CGI... In-Reply-To: References: <33fad6880906160706k5725608dh98ea6887aa82bcb7@mail.gmail.com> <4A37C829.5157.008F.0@dnr.state.mn.us> <33fad6880906170531m2aa6ef6aqafbd167dbd81ce6f@mail.gmail.com> Message-ID: <33fad6880906170619w7af4fa88i627032d52d990b30@mail.gmail.com> Thanks! Paul On Wed, Jun 17, 2009 at 10:01 AM, David Nugent wrote: > On Wed, 17 Jun 2009 22:31:50 +1000, Paul james wrote: > > You are right... >> It is Tiled (using OL)... >> In that case, How can I "fix" that effect? >> > > This should be in an FAQ :-) It has been answered at least 4 times here in > the last couple months... > > Add > > PROCESSING "LABEL_NO_CLIP=ON" > > to your LAYER. > > YYMV, but I've noticed a side-effect of using this that I've been unable to > quantify. However it does stop the repetition of labels at the boundaries > so it solves your problem. > > For me it seems to create another problem - clipping of labels at (meta) > tile > boundaries regardless what I'm setting LABELCACHE_MAP_EDGE_BUFFER to in the > mapscript that renders the tiles. I made my metatiles larger to reduce this > effect but have been meaning to try again with PARTIALS TRUE and not > setting > LABELCACHE_MAP_EDGE_BUFFER, which "in theory" should work. > > > Regards, > David > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at remoteinformation.com.au Wed Jun 17 06:25:59 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Wed, 17 Jun 2009 21:25:59 +0800 Subject: [mapserver-users] Re: LABEL problem using CGI... In-Reply-To: <20090617123154.A6E69E018AC@lists.osgeo.org> References: <20090617123154.A6E69E018AC@lists.osgeo.org> Message-ID: <2BDE38DC-4527-4704-9BA0-CC1C079B47BA@remoteinformation.com.au> Paul, On 17/06/2009, at 8:31 PM, mapserver-users-request at lists.osgeo.org wrote: > You are right... > It is Tiled (using OL)... > In that case, How can I "fix" that effect? > > Thanks use an Untiled or singleTile layer - ie if you are using it as a WMS, then var SouthAmerica = new OpenLayers.Layer.WMS( 'SouthAmerica', 'http://localhost/cgi-bin/mapserv?map=my.map&', {transparent: 'true', layers: 'polys', isBaseLayer: 'false', version: '1.1.1', srs: 'EPSG:4326'}, {singleTile: true} ); and I think you can do the same for MapServer layers (but if you ask on the openlayers list they will politely suggest that you use a WMS layer!) cheers Ben > On Tue, Jun 16, 2009 at 6:28 PM, Steve Lime > wrote: > And this is the result of a single call to the CGI with mode=map? > MapServer doesn't just invent label placements like this and > there should be no difference between a single image with mode=map > or a > single call to a mapObj's draw() method. > > Looks to me as if you sample image is the result of merging tiled > images created from multiple calls to the CGI. > > Steve -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrian_gh.popa at romtelecom.ro Wed Jun 17 07:56:04 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Wed, 17 Jun 2009 17:56:04 +0300 Subject: [mapserver-users] AGG vs GD rendering shows no difference In-Reply-To: <4A38D7DD.4060106@romtelecom.ro> References: <4A378F44.10204@romtelecom.ro> <0228E12F-794C-4654-A397-D607161AA8C9@territoriumonline.com> <4A379A60.4090700@romtelecom.ro> <4A38D7DD.4060106@romtelecom.ro> Message-ID: <4A390404.4080502@romtelecom.ro> Hello everyone! After a few hours of digging, I managed to solve the problem. I checked mapserver's dependencies and it was linked against agg 2.3: [root at terra tmp]# ldd /var/www/cgi-bin/mapserv | grep agg libagg.so.2 => /usr/lib/libagg.so.2 (0x003f5000) lrwxrwxrwx 1 root root 15 Jun 15 10:31 /usr/lib/libagg.so -> libagg.so.2.0.1 lrwxrwxrwx 1 root root 15 Jun 15 10:31 /usr/lib/libagg.so.2 -> libagg.so.2.0.1 -rwxr-xr-x 1 root root 228524 Feb 17 2006 /usr/lib/libagg.so.2.0.1 However, when I compiled mapserver I pointed the AGG code (--with-agg) to version 2.5. So mapserver had been compiled against agg 2.5 but was running with agg 2.3. This caused the segfault when using agg. The solution is to compile AGG2.5 and to install it in the system. Unfortunately, the AGG documentation is scarce and doesn't clearly say how to compile the code, and even if I'm a linux seasoned user, I failed to see the autogen.sh script. Here's how I compiled AGG: *sh autogen.sh ./configure --disable-platform --disable-examples --prefix=/usr make make install * And now, I have also the newer libs in my /usr/lib/ directory: [root at terra mapserver]# ls -l /usr/lib/libagg* -rw-r--r-- 1 root root 1313570 Jun 17 17:06 /usr/lib/libagg.a -rw-r--r-- 1 root root 395874 Jun 17 17:06 /usr/lib/libaggfontfreetype.a -rwxr-xr-x 1 root root 897 Jun 17 17:06 /usr/lib/libaggfontfreetype.la lrwxrwxrwx 1 root root 27 Jun 17 17:06 /usr/lib/libaggfontfreetype.so -> libaggfontfreetype.so.2.0.4 lrwxrwxrwx 1 root root 27 Jun 17 17:06 /usr/lib/libaggfontfreetype.so.2 -> libaggfontfreetype.so.2.0.4 -rwxr-xr-x 1 root root 283338 Jun 17 17:06 /usr/lib/libaggfontfreetype.so.2.0.4 -rwxr-xr-x 1 root root 785 Jun 17 17:06 /usr/lib/libagg.la -rw-r--r-- 1 root root 53282 Feb 17 2006 /usr/lib/libaggplatformX11.a lrwxrwxrwx 1 root root 26 Jun 15 10:31 /usr/lib/libaggplatformX11.so -> libaggplatformX11.so.2.0.1 lrwxrwxrwx 1 root root 26 Jun 15 10:31 /usr/lib/libaggplatformX11.so.2 -> libaggplatformX11.so.2.0.1 -rwxr-xr-x 1 root root 43468 Feb 17 2006 /usr/lib/libaggplatformX11.so.2.0.1 lrwxrwxrwx 1 root root 15 Jun 17 17:06 /usr/lib/libagg.so -> libagg.so.2.0.4 lrwxrwxrwx 1 root root 15 Jun 17 17:06 /usr/lib/libagg.so.2 -> libagg.so.2.0.4 -rwxr-xr-x 1 root root 228524 Feb 17 2006 /usr/lib/libagg.so.2.0.1 -rwxr-xr-x 1 root root 774469 Jun 17 17:06 /usr/lib/libagg.so.2.0.4 And mapserver renders my maps very well (see attached photos) Thank you all for your help! Regards, Adrian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: agg.png Type: image/png Size: 9242 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: png.png Type: image/png Size: 2193 bytes Desc: not available URL: From Steve.Toutant at inspq.qc.ca Wed Jun 17 08:17:14 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Wed, 17 Jun 2009 11:17:14 -0400 Subject: [mapserver-users] color range mapping In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA3CD@s-sp22.pca.state.mn.us> Message-ID: Hi, How should I define a layer class to use color range mapping? I would like to be able to request GetLegendGraphic on this layer as well I read this http://mapserver.org/development/rfc/ms-rfc-6.html But I found nothing in the offical mapfile doc Thanks Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From pschweitzer at usgs.gov Wed Jun 17 09:30:58 2009 From: pschweitzer at usgs.gov (Peter N. Schweitzer) Date: Wed, 17 Jun 2009 12:30:58 -0400 Subject: [mapserver-users] Seeking guidance for gml_geometries in WFS config Message-ID: <4A391A42.90209@usgs.gov> I'm running Mapserver 5.4.1, drawing data from PostGIS/PostgreSQL, using WMS successfully with OpenLayers. I have tried to configure the same data as WFS, and am trying to debug using uDig. Through helpful advice from the udig-users list, I now question my use of the gml_geometries and gml_[name]_type elements of the map file. The WFS server how-to page mentions these elements and describes how to write them but doesn't give strong guidance as to why one would, or what the right sort of values should be. So I ask here. My WFS services are currently described at http://mrdata.usgs.gov/wfs.html The map file for "active mines", a point data set, contains the code below. In particular, I question my use of these two elements: "gml_geometries" "geometry" "gml_geometry_type" "point" Direction would be much appreciated! ... map and web elements precede the layer section, of course ... layer name "mineplant" connection "user=* password=* dbname=* host=* port=" connectiontype postgis data "the_geom from (select gid,g.idnum,commodity,site_name,company_na,state_loca,county,latitude,longitude,plant_min,p.fips,p.huc,p.quad,the_geom from mineplant g, mineplant_place p where p.idnum=g.idnum) as mine_info using unique gid" status on dump true type point tolerance 5 projection "init=epsg:4269" end labelitem "site_name" labelmaxscaledenom 500000 classitem "commodity" ... a few class definitions ... metadata "wms_title" "mineplant" "wms_abstract" "USGS Web Mapping Service: Active mines and mineral plants in the US" "wms_keywordlist" "mine sites; mineral resources" "wms_extent" "-165.0 24.0 -66.0 73.0" "wms_srs" "EPSG:4267 EPSG:4269 EPSG:4326 EPSG:3395" "wms_feature_info_mime_type" "text/html" "wms_attribution_onlineresource" "http://tin.er.usgs.gov/mineplant/" "wms_attribution_title" "Active mines and mineral plants in the US" "ows_include_items" "idnum,commodity,site_name,company_na,state_loca,county,latitude,longitude,plant_min,fips,huc,quad" "gml_geometries" "geometry" "gml_geometry_type" "point" "gml_featureid" "gid" "gml_include_items" "idnum,commodity,site_name,company_na,state_loca,county,latitude,longitude,plant_min,fips,huc,quad" "wfs_title" "mineplant" "wfs_abstract" "Mine plants and operations for commodities monitored by the Minerals Information Team of the USGS. Operations included are those considered active in 2003 and surveyed by the USGS." "wfs_keywordlist" "mineral resources; mining and quarrying; mine sites" "wfs_metadataurl_href" "http://tin.er.usgs.gov/metadata/mineplant.xml" "wfs_metadataurl_type" "FGDC" "wfs_metadataurl_format" "XML" end Peter -- Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192) (703) 648-6533 FAX: (703) 648-6252 email: pschweitzer at usgs.gov From Steve.Toutant at inspq.qc.ca Wed Jun 17 10:41:47 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Wed, 17 Jun 2009 13:41:47 -0400 Subject: =?ISO-8859-1?Q?RE_R=E9p=2E_=3A_[mapserver-users]_color_range_mapping?= In-Reply-To: <4A38F18C.4080.00E9.0@msp.gouv.qc.ca> Message-ID: Thanks Simon, Where Is that documented? Is there more options available such as number of intervals? Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "SIMON MERCIER" 17/06/2009 01:37 PM A , cc Objet R?p. : [mapserver-users] color range mapping Hi steve, I use COLORRANGE with raster dataset and gives great results but never use it with vector dataset? LAYER NAME "MNE_rouge" GROUP "OMBRAGE_ROUGE" TILEINDEX "F:\Data\MNEOMB20K\mne" TILEITEM "location" TRANSPARENCY 40 TYPE RASTER PROCESSING "SCALE=-63,1276" MAXSCALE 200000 MINSCALE 1 METADATA "wms_name" "MNE_rouge" "wms_server_version" "1.1.1" "wms_title" "MNE" "wms_abstract" "(1/200 000)" "wms_srs" "EPSG:2036 EPSG:3799 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304 EPSG:900913" "wms_extent" "-1100000 -23500 1100000 2253500" END PROJECTION "init=epsg:32198" END CLASS STYLE COLORRANGE 255 255 255 178 34 34 DATARANGE -63 1276 END END END >>> 17/6/2009 11:17 >>> Hi, How should I define a layer class to use color range mapping? I would like to be able to request GetLegendGraphic on this layer as well I read this http://mapserver.org/development/rfc/ms-rfc-6.html But I found nothing in the offical mapfile doc Thanks Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.mercier at msp.gouv.qc.ca Wed Jun 17 10:37:13 2009 From: simon.mercier at msp.gouv.qc.ca (SIMON MERCIER) Date: Wed, 17 Jun 2009 13:37:13 -0400 Subject: =?Windows-1252?Q?R=E9p.=20:=20[mapserver-users]=20color=20range?= =?Windows-1252?Q?=20mapping?= In-Reply-To: References: <6246727221874A4FB8D3F9BBC37D9BD5056DA3CD@s-sp22.pca.state.mn.us> Message-ID: <4A38F18C.4080.00E9.0@msp.gouv.qc.ca> Hi steve, I use COLORRANGE with raster dataset and gives great results but never use it with vector dataset? LAYER NAME "MNE_rouge" GROUP "OMBRAGE_ROUGE" TILEINDEX "F:\Data\MNEOMB20K\mne" TILEITEM "location" TRANSPARENCY 40 TYPE RASTER PROCESSING "SCALE=-63,1276" MAXSCALE 200000 MINSCALE 1 METADATA "wms_name" "MNE_rouge" "wms_server_version" "1.1.1" "wms_title" "MNE" "wms_abstract" "(1/200 000)" "wms_srs" "EPSG:2036 EPSG:3799 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304 EPSG:900913" "wms_extent" "-1100000 -23500 1100000 2253500" END PROJECTION "init=epsg:32198" END CLASS STYLE COLORRANGE 255 255 255 178 34 34 DATARANGE -63 1276 END END END >>> 17/6/2009 11:17 >>> Hi, How should I define a layer class to use color range mapping? I would like to be able to request GetLegendGraphic on this layer as well I read this http://mapserver.org/development/rfc/ms-rfc-6.html But I found nothing in the offical mapfile doc Thanks Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca ( http://www.inspq.qc.ca/ ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From stogarepih at yahoo.co.uk Wed Jun 17 12:41:00 2009 From: stogarepih at yahoo.co.uk (Sydney Togarepi) Date: Wed, 17 Jun 2009 19:41:00 +0000 (GMT) Subject: [mapserver-users] auto classification Message-ID: <777930.70499.qm@web27708.mail.ukl.yahoo.com> i am trying to automatically classify population data without hardcoding the classes in the mapfile. i have tried to use this code below to classify: STYLE COLORRANGE 0 0 0 255 255 0 # black to yellow DATARANGE 0.0 100.0 RANGEITEM "built_up_" END COLOR 100 255 0 pliz assist -------------- next part -------------- An HTML attachment was scrubbed... URL: From greenkov at gmail.com Wed Jun 17 14:26:58 2009 From: greenkov at gmail.com (Alexander Petkov) Date: Wed, 17 Jun 2009 15:26:58 -0600 Subject: =?UTF-8?Q?Re=3A_RE_R=C3=A9p=2E_=3A_=5Bmapserver=2Dusers=5D_color_range_mapping?= In-Reply-To: References: <4A38F18C.4080.00E9.0@msp.gouv.qc.ca> Message-ID: On Wed, Jun 17, 2009 at 11:41 AM, wrote: > > Thanks Simon, > Where Is that documented? Is there more options available such as number of > intervals? > > Steve > > > Steve Toutant, M. Sc. > Analyste en g?omatique > Secteur environnement > Direction des risques biologiques, environnementaux et occupationnels > Institut national de sant? publique du Qu?bec > 945, avenue Wolfe > Qu?bec, Qc G1V 5B3 > > T?l.: (418) 650-5115 #5281 > Fax.: (418) 654-3144 > steve.toutant at inspq.qc.ca > http://www.inspq.qc.ca > > > > > "SIMON MERCIER" > > 17/06/2009 01:37 PM > > A > , > cc > Objet > R?p. : [mapserver-users] color range mapping > > > > > > > Hi steve, I use COLORRANGE with raster dataset and gives great results but > never use it with vector dataset? > > LAYER > NAME "MNE_rouge" > GROUP "OMBRAGE_ROUGE" > TILEINDEX "F:\Data\MNEOMB20K\mne" > TILEITEM "location" > TRANSPARENCY 40 > TYPE RASTER > PROCESSING "SCALE=-63,1276" > MAXSCALE 200000 > MINSCALE 1 > METADATA > "wms_name" "MNE_rouge" > "wms_server_version" "1.1.1" > "wms_title" "MNE" > "wms_abstract" "(1/200 000)" > "wms_srs" "EPSG:2036 EPSG:3799 EPSG:2037 EPSG:2148 > EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 > EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 > EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304 EPSG:900913" > "wms_extent" "-1100000 -23500 1100000 2253500" > END > PROJECTION > "init=epsg:32198" > END > > CLASS > STYLE > COLORRANGE 255 255 255 178 34 34 > DATARANGE -63 1276 > END > END > END > Hi Steve: You can define a class for every one of the intervals. You can also build a key image in advance, which will be used for buildng a legend for a GetLegendGraphic request (currently, a gradient key image will not be built by mapserver). In the example below each key image contains gradient for the COLORRANGE values: ========================= CLASS NAME "[-255..-200]" EXPRESSION ([pixel] <=-200) KEYIMAGE "class1.gif" STYLE COLORRANGE 64 0 0 128 0 0 DATARANGE -255 -200 OUTLINECOLOR 0 0 0 END END CLASS NAME "[-200..-175]" EXPRESSION ([pixel] >-255 AND [pixel] <=-175) KEYIMAGE "class2.gif" STYLE COLORRANGE 128 0 0 192 64 0 DATARANGE -255 -175 OUTLINECOLOR 0 0 0 END END CLASS NAME "[-175..-100]" EXPRESSION ([pixel] >=-175 AND [pixel] <=-100) KEYIMAGE "class3.gif" STYLE COLORRANGE 192 64 0 255 150 0 DATARANGE -175 -100 OUTLINECOLOR 0 0 0 END END CLASS NAME "[-100..-50]" EXPRESSION ([pixel] >=-100 AND [pixel] <=-50) KEYIMAGE "class4.gif" STYLE COLORRANGE 255 150 0 240 240 10 DATARANGE -100 -50 OUTLINECOLOR 0 0 0 END END ======================== Alex From stogarepih at yahoo.co.uk Wed Jun 17 15:09:58 2009 From: stogarepih at yahoo.co.uk (Sydney Togarepi) Date: Wed, 17 Jun 2009 22:09:58 +0000 (GMT) Subject: [mapserver-users] auto classification Message-ID: <366659.69011.qm@web27708.mail.ukl.yahoo.com> Thanks Alex,but already in you mapfile you have already created and limited it to 4 classes. is it not possible to extract the min and max attribute values for the data and use these to classify the data and render it as well -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Wed Jun 17 19:45:40 2009 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Wed, 17 Jun 2009 20:45:40 -0600 Subject: [mapserver-users] HTML Legend vs Transparency in Layer In-Reply-To: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> Message-ID: I've run into exactly the same thing. I don't have any workaround. Is it a bug that warrants a report? Rich On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: > Hello all... > > When categorizing layers like zoning, I frequently use levels of > transparency (obviously so people can see through them).?? However, this > alters the physical color compared to the COLOR attribute of the item being > displayed.? When I generate the Legend, the legend use the COLOR attribute > specified, but does not use the transparency setting from the LAYER; thus > causing the legend to look different from the maps.? Is there away to fix > this?? Can the Legend generated from the LAYER also apply the TRANSPARENCY > so that the legend looks like the map. > > Thanks for the tips/help. > > Steve Lehr > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- Richard Greenwood richard.greenwood at gmail.com www.greenwoodmap.com From ben at remoteinformation.com.au Wed Jun 17 20:45:06 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Thu, 18 Jun 2009 11:45:06 +0800 Subject: [mapserver-users] msWMSLoadGetMapParams Error message to add to documentation Message-ID: <967207A7-6C39-4719-8F62-052EA34BE045@remoteinformation.com.au> G'day all, Playing with stretching my browser across two monitors (so I could get a really big screenshot!) I started getting an error somthing like : msWMSLoadGetMapParams(): WMS server error. Image Size out of range, WIDTH and HEIGHT must be between 1 and 2048 pixels. This is a very useful message, but finding the work around was not so easy. (increase MAXSIZE in the MAP object) I wonder if this could be added to the errors documentation page to save someone else the searching (This is a really good resource, and the first place I go now - http://mapserver.org/errors.html). I don't think I can add or edit on the new site, so I am passing this on! cheers Ben -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... From ishwari.s at gmail.com Thu Jun 18 05:08:51 2009 From: ishwari.s at gmail.com (Ishwari Sivagnanam) Date: Thu, 18 Jun 2009 17:38:51 +0530 Subject: [mapserver-users] output image is blank after a few runs of the mapfile Message-ID: Hello all, I was experimenting with "Cartographic Symbol Construction with Mapserver". I tried the line styles and the hatch symbol. The web page worked okay, all layers were drawn and the symbols were great. I used mapserver version 5.0.0 with Php Mapscript. Layer with carto symbol style ------------------------- #******************************* #* layer definition main_quad1* #******************************* LAYER NAME mainrd_qd METADATA "DESCRIPTION" "mainrd_w_index" "GNAME" "geography Layers" END GROUP geo TYPE LINE STATUS OFF DATA mainrd CLASS NAME "mnrd" #TEMPLATE '/templates/Minor_RD_qry.html' STYLE COLOR 183 147 40 WIDTH 4 END STYLE COLOR 242 191 36 WIDTH 2 END END END # end layer main_quad1 ------------------------------------------------------------- This worked about 10 times and then the output image went blank. The web page gives me no error, The scalebar for the output image is drawn, the legend icons for the html legend are drawn but, none of the layers are drawn in the output map image. I tried setting all the layers' "STATUS" to "ON/DEFAULT" but that didn't fix it. I tested the mapfile with the shp2img utility and I got the same blank ouput image with only the scalebar in 5.0.0. Creating a new mapfile from scratch with same styles etc seemed to fix the problem. But again after about 10 times of drawing the map the same issue came back. I then tried the same mapfile with the shp2img utility in Mapserver 5.2 and I get the same issue. Any ideas on why is this happening? Has anybody ever run into this issue before? Thanks, Ishwari -------------- next part -------------- An HTML attachment was scrubbed... URL: From sb.ray at hotmail.com Thu Jun 18 06:54:48 2009 From: sb.ray at hotmail.com (sunny74) Date: Thu, 18 Jun 2009 06:54:48 -0700 (PDT) Subject: [mapserver-users] coloring features on the basis of query Message-ID: <1245333288546-3113411.post@n2.nabble.com> Hi, I am trying to implement something called "Find Feature" on a map. The user will select parameters for a query which will be executed on the DB and the DB will return some geometry's. For eg, the query could be like " Select the_geom from india_state where pop_tot01 > 1000000" Now I need to know the following: 1) What data type to use for collecting geometry returned by the above sql query? 2) The above query will return geometry of some states.As similar query will return geometry of some districts. For these states and districts I need to give a different color with a Label like population > 1000000.How can I do this dynamically? 3) The coloring and labeling will be temporary and will change with every query that is fired at the database. Thanks for ur replies -- View this message in context: http://n2.nabble.com/coloring-features-on-the-basis-of-query-tp3113411p3113411.html Sent from the Mapserver - User mailing list archive at Nabble.com. From lehrs at erau.edu Thu Jun 18 06:54:29 2009 From: lehrs at erau.edu (Steven Lehr) Date: Thu, 18 Jun 2009 09:54:29 -0400 Subject: [mapserver-users] HTML Legend vs Transparency in Layer References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> Message-ID: <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> I'd think so - should be a simple fix, and would improve the overall MapServer product. If somebody needs some funds to make this happen, let me know, I'd gladly fund it getting fixed. Thanks Steve -----Original Message----- From: Richard Greenwood [mailto:richard.greenwood at gmail.com] Sent: Wed 6/17/2009 10:45 PM To: Lehr, Steven Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer I've run into exactly the same thing. I don't have any workaround. Is it a bug that warrants a report? Rich On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: > Hello all... > > When categorizing layers like zoning, I frequently use levels of > transparency (obviously so people can see through them).?? However, this > alters the physical color compared to the COLOR attribute of the item being > displayed.? When I generate the Legend, the legend use the COLOR attribute > specified, but does not use the transparency setting from the LAYER; thus > causing the legend to look different from the maps.? Is there away to fix > this?? Can the Legend generated from the LAYER also apply the TRANSPARENCY > so that the legend looks like the map. > > Thanks for the tips/help. > > Steve Lehr > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- Richard Greenwood richard.greenwood at gmail.com www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.lucena at pmldnet.com Thu Jun 18 07:04:57 2009 From: ivan.lucena at pmldnet.com (=?utf-8?Q?Lucena,=20Ivan?=) Date: Thu, 18 Jun 2009 09:04:57 -0500 Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work) Message-ID: <20090618140457.13347.qmail@s466.sureserver.com> Hi there, I am using the MapServer distribution from OSGeo4w and the Totorial 5.x doesn't show the map in any raster or WMS examples. C:\OSGeo4W > mapserv -v MapServer version 5.2.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS =FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WF S_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREA DS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE I download the "tutorial.zip" by "Created by Pericles S. Nacionales Last updated: 20071020". I added that line on "C:\OSGeo4W\apache\conf\httpd.conf" : --- # parse MS4W apache conf files include "C:\ms4w/httpd.d/httpd_*.conf" --- The address "http://locahost/tutorial" works just fine. Like my Linux machine. But examples with raster and WMS doesn't. http://localhost/tutorial/example1-5.html http://localhost/tutorial/example1-6.html http://localhost/tutorial/example1-7.html http://localhost/tutorial/example1-8.html The rest of the sections and examples just return this error here: --- msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET, this doesn't look like a symbol file. --- In C:\OSGeo4W\apache\logs\error.log there is no error message related to that. Does anyone know what could be wrong? Thanks in advance, Ivan From David.Fawcett at state.mn.us Thu Jun 18 07:21:36 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Thu, 18 Jun 2009 09:21:36 -0500 Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work) In-Reply-To: <20090618140457.13347.qmail@s466.sureserver.com> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5D9@s-sp22.pca.state.mn.us> Ivan, You are likely running up against a change in requirements for map and symbol files that was implemented to improve security. Here is a description of what was done: http://mapserver.org/development/rfc/ms-rfc-56.html?highlight=symbolset The fix is easy. You just need to make sure that the first word in your symbolset file is 'SYMBOLSET'. There are similar requirements for map files and MapServer templates starting with 5.2.2. I am not sure if the key words are case-sensitive or not. David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lucena, Ivan Sent: Thursday, June 18, 2009 9:05 AM To: mapserver-users Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work) Hi there, I am using the MapServer distribution from OSGeo4w and the Totorial 5.x doesn't show the map in any raster or WMS examples. C:\OSGeo4W > mapserv -v MapServer version 5.2.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS =FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WF S_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREA DS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE I download the "tutorial.zip" by "Created by Pericles S. Nacionales Last updated: 20071020". I added that line on "C:\OSGeo4W\apache\conf\httpd.conf" : --- # parse MS4W apache conf files include "C:\ms4w/httpd.d/httpd_*.conf" --- The address "http://locahost/tutorial" works just fine. Like my Linux machine. But examples with raster and WMS doesn't. http://localhost/tutorial/example1-5.html http://localhost/tutorial/example1-6.html http://localhost/tutorial/example1-7.html http://localhost/tutorial/example1-8.html The rest of the sections and examples just return this error here: --- msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET, this doesn't look like a symbol file. --- In C:\OSGeo4W\apache\logs\error.log there is no error message related to that. Does anyone know what could be wrong? Thanks in advance, Ivan _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From stelaanders at gmail.com Thu Jun 18 07:25:20 2009 From: stelaanders at gmail.com (stela anders) Date: Thu, 18 Jun 2009 11:25:20 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) Message-ID: Hey guys ! That?s my first message here... (I?m from Argentina, sorry about my bad English) Is there any bug on Mapserver 5.4 CGI ? We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS ... We tried to update to newest version 5.4 and got a CGI error ... Is there any FAQ to upgrade ? Or maybe is it a bug? Stela -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Thu Jun 18 07:26:01 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Thu, 18 Jun 2009 09:26:01 -0500 Subject: [mapserver-users] HTML Legend vs Transparency in Layer In-Reply-To: <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> Message-ID: <4A3A0829.5157.008F.0@dnr.state.mn.us> Problem is that your transparency is occurring over other layers (e.g. aerial photos) so it will never match unless you're drawing over the same background (typically defined by IMAGECOLOR) in both cases. I'm not sure how easy a fix it is. Feel free to create a ticket though. Steve >>> On 6/18/2009 at 8:54 AM, in message <9D58C43BDFE3F846ADF3A0F8100940B3137CA5 at DBEXVS02.erau.edu>, Steven Lehr wrote: > I'd think so - should be a simple fix, and would improve the overall MapServer > product. If somebody needs some funds to make this happen, let me know, I'd > gladly fund it getting fixed. > > Thanks > Steve > > > -----Original Message----- > From: Richard Greenwood [mailto:richard.greenwood at gmail.com] > Sent: Wed 6/17/2009 10:45 PM > To: Lehr, Steven > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer > > I've run into exactly the same thing. I don't have any workaround. Is > it a bug that warrants a report? > > Rich > > > On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: >> Hello all... >> >> When categorizing layers like zoning, I frequently use levels of >> transparency (obviously so people can see through them). However, this >> alters the physical color compared to the COLOR attribute of the item being >> displayed. When I generate the Legend, the legend use the COLOR attribute >> specified, but does not use the transparency setting from the LAYER; thus >> causing the legend to look different from the maps. Is there away to fix >> this? Can the Legend generated from the LAYER also apply the TRANSPARENCY >> so that the legend looks like the map. >> >> Thanks for the tips/help. >> >> Steve Lehr >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > From ml at lingner.eu Thu Jun 18 07:21:05 2009 From: ml at lingner.eu (Lars Lingner) Date: Thu, 18 Jun 2009 16:21:05 +0200 Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work) In-Reply-To: <20090618140457.13347.qmail@s466.sureserver.com> References: <20090618140457.13347.qmail@s466.sureserver.com> Message-ID: <4A3A4D51.3090802@lingner.eu> Lucena, Ivan schrieb: [...] > > --- > msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET, this doesn't look like a symbol file. > --- > > In C:\OSGeo4W\apache\logs\error.log there is no error message related to that. > > > Does anyone know what could be wrong? > There was a security fix a few month ago and the tutorials aren't updated. Please add the keyword SYMBOLSET at the beginning of the symbol file (and the END keyword at the end). The fixes and requirements are described in http://mapserver.org/development/rfc/ms-rfc-56.html Lars From Steve.Lime at dnr.state.mn.us Thu Jun 18 07:35:40 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Thu, 18 Jun 2009 09:35:40 -0500 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: <4A3A0A6C.5157.008F.0@dnr.state.mn.us> Need more info on the error you saw... What version of 5.2 (5.2.0, 5.2.1, 5.2.2) are you running? There has been some discussion of 5.4/IIS CGI problems that have not been sorted out yet. Steve >>> On 6/18/2009 at 9:25 AM, in message , stela anders wrote: > Hey guys ! > That?s my first message here... (I?m from Argentina, sorry about my bad > English) > > Is there any bug on Mapserver 5.4 CGI ? > We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS ... > We tried to update to newest version 5.4 and got a CGI error ... > Is there any FAQ to upgrade ? Or maybe is it a bug? > > Stela From ivan.lucena at pmldnet.com Thu Jun 18 07:41:15 2009 From: ivan.lucena at pmldnet.com (=?utf-8?Q?Lucena,=20Ivan?=) Date: Thu, 18 Jun 2009 09:41:15 -0500 Subject: =?utf-8?B?UkU6IFttYXBzZXJ2ZXItdXNlcnNdIDUueCBUdXRvcmlhbCBvbiBtYXBzZXJ2IC12IChyYXN0ZXIgZG9lc24ndCB3b3JrKQ==?= Message-ID: <20090618144115.6457.qmail@s466.sureserver.com> David, That was it. I just add the world and everything started to work! --- *SYMBOLSET* # 1 Symbol Name 'tent' Type VECTOR Filled TRUE Points 0 1 .5 0 1 1 .75 1 .5 .5 .25 1 0 1 . . . --- Thanks a lot. Ivan > -------Original Message------- > From: Fawcett, David > Subject: RE: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't work) > Sent: Jun 18 '09 09:21 > > Ivan, > > You are likely running up against a change in requirements for map and > symbol files that was implemented to improve security.?? > > Here is a description of what was done: > http://mapserver.org/development/rfc/ms-rfc-56.html?highlight=symbolset > > The fix is easy.??You just need to make sure that the first word in your > symbolset file is 'SYMBOLSET'.?? There are similar requirements for map > files and MapServer templates starting with 5.2.2.??I am not sure if the > key words are case-sensitive or not.?? > > David. > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lucena, > Ivan > Sent: Thursday, June 18, 2009 9:05 AM > To: mapserver-users > Subject: [mapserver-users] 5.x Tutorial on mapserv -v (raster doesn't > work) > > > Hi there, > > I am using the MapServer distribution from OSGeo4w and the Totorial 5.x > doesn't show the map in any raster or WMS examples. > > C:\OSGeo4W > mapserv -v > MapServer version 5.2.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > OUTPUT=SWF??OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE > SUPPORTS=ICONV SUPPORTS =FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT > SUPPORTS=WFS_SERVER SUPPORTS=WF S_CLIENT SUPPORTS=WCS_SERVER > SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREA DS SUPPORTS=GEOS > SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL > INPUT=SHAPEFILE > > I download the "tutorial.zip" by "Created by Pericles S. Nacionales Last > updated: 20071020". > > I added that line on "C:\OSGeo4W\apache\conf\httpd.conf" : > > --- > # parse MS4W apache conf files > include "C:\ms4w/httpd.d/httpd_*.conf" > --- > > The address "http://locahost/tutorial" works just fine. Like my Linux > machine. > > But examples with raster and WMS doesn't. > > http://localhost/tutorial/example1-5.html > http://localhost/tutorial/example1-6.html > http://localhost/tutorial/example1-7.html > http://localhost/tutorial/example1-8.html > > The rest of the sections and examples just return this error here: > > --- > msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET, > this doesn't look like a symbol file. > --- > > In C:\OSGeo4W\apache\logs\error.log there is no error message related to > that. > > > Does anyone know what could be wrong? > > Thanks in advance, > > Ivan > > > > > > > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From szekerest at gmail.com Thu Jun 18 08:48:00 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Thu, 18 Jun 2009 17:48:00 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Hi, Some of the guys reported issues with mapserver 5.4+ in normal CGI mode (FastCGI was reported ok) but I couldn't reproduce it myself so it would be helpful if someone could describe the steps (and provide mapfiles/sample data) to check it out. You could also test with the binaries provided from here which appears to be working ok. http://vbkto.dyndns.org:1280/sdk/Default.aspx Best regards, Tamas 2009/6/18 stela anders > Hey guys ! > That?s my first message here... (I?m from Argentina, sorry about my bad > English) > > Is there any bug on Mapserver 5.4 CGI ? > We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS ... > We tried to update to newest version 5.4 and got a CGI error ... > Is there any FAQ to upgrade ? Or maybe is it a bug? > > Stela > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmorissette at mapgears.com Thu Jun 18 10:34:14 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Thu, 18 Jun 2009 13:34:14 -0400 Subject: [mapserver-users] msWMSLoadGetMapParams Error message to add to documentation In-Reply-To: <967207A7-6C39-4719-8F62-052EA34BE045@remoteinformation.com.au> References: <967207A7-6C39-4719-8F62-052EA34BE045@remoteinformation.com.au> Message-ID: <4A3A7A96.2010304@mapgears.com> Ben Madin wrote: > G'day all, > > Playing with stretching my browser across two monitors (so I could get a > really big screenshot!) I started getting an error somthing like : > > msWMSLoadGetMapParams(): WMS server error. Image Size out of range, > WIDTH and HEIGHT must be between 1 and 2048 pixels. > > This is a very useful message, but finding the work around was not so > easy. (increase MAXSIZE in the MAP object) > > I wonder if this could be added to the errors documentation page to save > someone else the searching (This is a really good resource, and the > first place I go now - http://mapserver.org/errors.html). I don't think > I can add or edit on the new site, so I am passing this on! > Perhaps you could create a ticket under the documentation component and attach the text of your proposed addition. This way it will be easier for the docs people to add this to the errors.html page. Daniel -- Daniel Morissette http://www.mapgears.com/ From Bob.Basques at ci.stpaul.mn.us Thu Jun 18 12:10:19 2009 From: Bob.Basques at ci.stpaul.mn.us (Bob Basques) Date: Thu, 18 Jun 2009 14:10:19 -0500 Subject: [mapserver-users] HTML Legend vs Transparency in Layer In-Reply-To: <4A3A0829.5157.008F.0@dnr.state.mn.us> References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> <4A3A0829.5157.008F.0@dnr.state.mn.us> Message-ID: <4A3A4ACB.163B.00A8.0@ci.stpaul.mn.us> All, How hard would it be to add in IMAGECOLOR options for adding a Raster background, like an aerial photo? I've wondered about this legend creation from time to time as well, I just skip the whole process where a background (raster) is used in my layer configs currently, but more control over the legend creation would be nice. Also, and this may seem like a way left thinking thought, what about using a regular layer definition for Legend output, either by adding in some (or all) of the legend capabilities to a regular layer definition as an option. I haven't thought this through completely, but some of the legend controls seem to lend themselves to building up a markup layer of sorts. Could this be a way of making the legends for these odd layers and at the same time begin build out of some map markup tools as well? bobb >>> "Steve Lime" wrote: Problem is that your transparency is occurring over other layers (e.g. aerial photos) so it will never match unless you're drawing over the same background (typically defined by IMAGECOLOR) in both cases. I'm not sure how easy a fix it is. Feel free to create a ticket though. Steve >>> On 6/18/2009 at 8:54 AM, in message <9D58C43BDFE3F846ADF3A0F8100940B3137CA5 at DBEXVS02.erau.edu>, Steven Lehr wrote: > I'd think so - should be a simple fix, and would improve the overall MapServer > product. If somebody needs some funds to make this happen, let me know, I'd > gladly fund it getting fixed. > > Thanks > Steve > > > -----Original Message----- > From: Richard Greenwood [mailto:richard.greenwood at gmail.com] > Sent: Wed 6/17/2009 10:45 PM > To: Lehr, Steven > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer > > I've run into exactly the same thing. I don't have any workaround. Is > it a bug that warrants a report? > > Rich > > > On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: >> Hello all... >> >> When categorizing layers like zoning, I frequently use levels of >> transparency (obviously so people can see through them). However, this >> alters the physical color compared to the COLOR attribute of the item being >> displayed. When I generate the Legend, the legend use the COLOR attribute >> specified, but does not use the transparency setting from the LAYER; thus >> causing the legend to look different from the maps. Is there away to fix >> this? Can the Legend generated from the LAYER also apply the TRANSPARENCY >> so that the legend looks like the map. >> >> Thanks for the tips/help. >> >> Steve Lehr >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From lehrs at erau.edu Thu Jun 18 14:09:54 2009 From: lehrs at erau.edu (Steven Lehr) Date: Thu, 18 Jun 2009 17:09:54 -0400 Subject: [mapserver-users] HTML Legend vs Transparency in Layer In-Reply-To: <4A3A4ACB.163B.00A8.0@ci.stpaul.mn.us> References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> <4A3A0829.5157.008F.0@dnr.state.mn.us> <4A3A4ACB.163B.00A8.0@ci.stpaul.mn.us> Message-ID: <9D58C43BDFE3F846ADF3A0F8100940B35875B3@DBEXVS02.erau.edu> I'd sure like to see just a white (255 255 255) IMAGECOLOR as the base for now. I realize when you stack them it will alter based on the transparencey. But without having to deal with all the exceptions. For now if it could just take the transparency and a base white color as the base, it sure would help my 60% Transparent 255 0 0 look less the DARK RED which it currently shows on the legend, yet NEVER looks that way on the map. I'm sure there will be more wants later :-) - though as Steve Lime points out, its good to have a base. If your base layer is Tan, then that skews things and it would be nice for the tan skew (but, for now I'm just looking for 255 255 255) as the base and the level of transparency setting inherited from the LAYER. Thanks Steven Lehr ________________________________ From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us] Sent: Thursday, June 18, 2009 3:10 PM To: Steve Lime; Lehr, Steven; Richard Greenwood Cc: mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] HTML Legend vs Transparency in Layer All, How hard would it be to add in IMAGECOLOR options for adding a Raster background, like an aerial photo? I've wondered about this legend creation from time to time as well, I just skip the whole process where a background (raster) is used in my layer configs currently, but more control over the legend creation would be nice. Also, and this may seem like a way left thinking thought, what about using a regular layer definition for Legend output, either by adding in some (or all) of the legend capabilities to a regular layer definition as an option. I haven't thought this through completely, but some of the legend controls seem to lend themselves to building up a markup layer of sorts. Could this be a way of making the legends for these odd layers and at the same time begin build out of some map markup tools as well? bobb >>> "Steve Lime" wrote: Problem is that your transparency is occurring over other layers (e.g. aerial photos) so it will never match unless you're drawing over the same background (typically defined by IMAGECOLOR) in both cases. I'm not sure how easy a fix it is. Feel free to create a ticket though. Steve >>> On 6/18/2009 at 8:54 AM, in message <9D58C43BDFE3F846ADF3A0F8100940B3137CA5 at DBEXVS02.erau.edu>, Steven Lehr wrote: > I'd think so - should be a simple fix, and would improve the overall MapServer > product. If somebody needs some funds to make this happen, let me know, I'd > gladly fund it getting fixed. > > Thanks > Steve > > > -----Original Message----- > From: Richard Greenwood [mailto:richard.greenwood at gmail.com] > Sent: Wed 6/17/2009 10:45 PM > To: Lehr, Steven > Cc: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer > > I've run into exactly the same thing. I don't have any workaround. Is > it a bug that warrants a report? > > Rich > > > On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: >> Hello all... >> >> When categorizing layers like zoning, I frequently use levels of >> transparency (obviously so people can see through them). However, this >> alters the physical color compared to the COLOR attribute of the item being >> displayed. When I generate the Legend, the legend use the COLOR attribute >> specified, but does not use the transparency setting from the LAYER; thus >> causing the legend to look different from the maps. Is there away to fix >> this? Can the Legend generated from the LAYER also apply the TRANSPARENCY >> so that the legend looks like the map. >> >> Thanks for the tips/help. >> >> Steve Lehr >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Thu Jun 18 15:15:04 2009 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Thu, 18 Jun 2009 16:15:04 -0600 Subject: [mapserver-users] HTML Legend vs Transparency in Layer In-Reply-To: <4A3A0829.5157.008F.0@dnr.state.mn.us> References: <9D58C43BDFE3F846ADF3A0F8100940B3137CA3@DBEXVS02.erau.edu> <9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu> <4A3A0829.5157.008F.0@dnr.state.mn.us> Message-ID: I'm on the road, but my recollection is that cranking up the translucency makes the map rendered colors lighter regardless of any background, but translucency has no effect on the legend colors. Rich On Thu, Jun 18, 2009 at 8:26 AM, Steve Lime wrote: > Problem is that your transparency is occurring over other layers (e.g. aerial photos) so it will never > match unless you're drawing over the same background (typically defined by IMAGECOLOR) in > both cases. I'm not sure how easy a fix it is. Feel free to create a ticket though. > > Steve > >>>> On 6/18/2009 at 8:54 AM, in message > <9D58C43BDFE3F846ADF3A0F8100940B3137CA5 at DBEXVS02.erau.edu>, Steven Lehr > wrote: >> I'd think so - should be a simple fix, and would improve the overall MapServer >> product. ?If somebody needs some funds to make this happen, let me know, I'd >> gladly fund it getting fixed. >> >> Thanks >> Steve >> >> >> -----Original Message----- >> From: Richard Greenwood [mailto:richard.greenwood at gmail.com] >> Sent: Wed 6/17/2009 10:45 PM >> To: Lehr, Steven >> Cc: mapserver-users at lists.osgeo.org >> Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer >> >> I've run into exactly the same thing. I don't have any workaround. Is >> it a bug that warrants a report? >> >> Rich >> >> >> On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr wrote: >>> Hello all... >>> >>> When categorizing layers like zoning, I frequently use levels of >>> transparency (obviously so people can see through them). ? However, this >>> alters the physical color compared to the COLOR attribute of the item being >>> displayed. ?When I generate the Legend, the legend use the COLOR attribute >>> specified, but does not use the transparency setting from the LAYER; thus >>> causing the legend to look different from the maps. ?Is there away to fix >>> this? ?Can the Legend generated from the LAYER also apply the TRANSPARENCY >>> so that the legend looks like the map. >>> >>> Thanks for the tips/help. >>> >>> Steve Lehr >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> >> > > -- Richard Greenwood richard.greenwood at gmail.com www.greenwoodmap.com From szekerest at gmail.com Thu Jun 18 15:27:52 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Fri, 19 Jun 2009 00:27:52 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Hi, I've set it up (Win2003) but didn't crash, though I get blank images in cgi mode. http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E :\tests\TestCGI\map.map&mode=map shp2img produces correct image however. I'm a bit uncertain whether the 2 problems are the same but I'll look into this one in more detail shortly. Tamas 2009/6/18 stela anders > Hi guys! > > I got that binary now : > http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip > Same error Tamas... > > System : Windows XP / IIS 5.1 > > Using Postgis as datasourse... > > I made a package with : > - Mapfile > - Postgis data > - Html > You only need OL js to tryout... > Or you can try typing : > http://localhost/cgi-binx/mapserv.exe?map=map.map > > The error is : > ---- > CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > --- > > Using version 5.2.2 all works fine... > Stela > > 2009/6/18 Tamas Szekeres > > Hi, >> >> Some of the guys reported issues with mapserver 5.4+ in normal CGI mode >> (FastCGI was reported ok) but I couldn't reproduce it myself so it would be >> helpful if someone could describe the steps (and provide mapfiles/sample >> data) to check it out. >> You could also test with the binaries provided from here which appears to >> be working ok. >> >> http://vbkto.dyndns.org:1280/sdk/Default.aspx >> >> >> >> Best regards, >> >> Tamas >> >> >> 2009/6/18 stela anders >> >>> Hey guys ! >>> That?s my first message here... (I?m from Argentina, sorry about my bad >>> English) >>> >>> Is there any bug on Mapserver 5.4 CGI ? >>> We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS >>> ... We tried to update to newest version 5.4 and got a CGI error ... >>> Is there any FAQ to upgrade ? Or maybe is it a bug? >>> >>> Stela >>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wendell at enflight.com Thu Jun 18 16:59:24 2009 From: wendell at enflight.com (Wendell Turner) Date: Thu, 18 Jun 2009 16:59:24 -0700 Subject: [mapserver-users] clipping symbols at tile boundary? Message-ID: <20090618235924.GA12007@q.rho.net> (this must be basic, but here goes anyway...) I'm using Mapserver 5.2 with OpenLayers 2.7. I have a vector mapserver layer with point objects (shown with circle symbols) on it. The vector layer referenced via OpenLayers.Layer.WMS and is tiled. The circles are displayed in the tile that the center is on, but not the adjacent tiles. That is, if a circle is near the edge, part of the circle is chopped off. Is that what 'BUFFER 10' fixes? What about 'PARTIALS FALSE'? That seems to be just for labels, but that only shows the label when it completely lies within the tile. Do I need to turn off tiling completely? Thanks, Wendell From ben at remoteinformation.com.au Thu Jun 18 17:34:46 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Fri, 19 Jun 2009 08:34:46 +0800 Subject: [mapserver-users] msWMSLoadGetMapParams Error message to add to documentation In-Reply-To: <20090618221508.D3CB4E01C4B@lists.osgeo.org> References: <20090618221508.D3CB4E01C4B@lists.osgeo.org> Message-ID: <34321A1E-47D0-4347-A788-948CD482DCF6@remoteinformation.com.au> Daniel, I never thought of that - done - but someone had better check I actually understood it properly! http://trac.osgeo.org/mapserver/ticket/3055 cheers Ben On 19/06/2009, at 6:15 AM, Daniel Morissette wrote: > Ben Madin wrote: >> Playing with stretching my browser across two monitors (so I could >> get a really big screenshot!) I started getting an error somthing >> like : >> msWMSLoadGetMapParams(): WMS server error. Image Size out of range, >> WIDTH and HEIGHT must be between 1 and 2048 pixels. >> This is a very useful message, but finding the work around was not >> so easy. (increase MAXSIZE in the MAP object) >> I wonder if this could be added to the errors documentation page to >> save someone else the searching (This is a really good resource, >> and the first place I go now -http://mapserver.org/errors.html). I >> don't think I can add or edit on the new site, so I am passing this >> on! > > Perhaps you could create a ticket under the documentation component > and attach the text of your proposed addition. This way it will be > easier for the docs people to add this to the errors.html page. > > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaronr at z-pulley.com Thu Jun 18 19:55:31 2009 From: aaronr at z-pulley.com (Aaron Racicot) Date: Thu, 18 Jun 2009 19:55:31 -0700 Subject: [mapserver-users] clipping symbols at tile boundary? In-Reply-To: <20090618235924.GA12007@q.rho.net> References: <20090618235924.GA12007@q.rho.net> Message-ID: <10c201c9f089$692332b0$3b699810$@com> Wendell, Look at 'gutter' in OpenLayers. It will allow you to get tiles slightly larger from your Mapserver WMS to get rid of some of the artifacts: http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay er.gutter Hope that helps... Aaron -------------------------- Aaron Racicot Z-Pulley Inc. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wendell Turner Sent: Thursday, June 18, 2009 4:59 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] clipping symbols at tile boundary? (this must be basic, but here goes anyway...) I'm using Mapserver 5.2 with OpenLayers 2.7. I have a vector mapserver layer with point objects (shown with circle symbols) on it. The vector layer referenced via OpenLayers.Layer.WMS and is tiled. The circles are displayed in the tile that the center is on, but not the adjacent tiles. That is, if a circle is near the edge, part of the circle is chopped off. Is that what 'BUFFER 10' fixes? What about 'PARTIALS FALSE'? That seems to be just for labels, but that only shows the label when it completely lies within the tile. Do I need to turn off tiling completely? Thanks, Wendell _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From vppriya at tenet.res.in Thu Jun 18 23:57:48 2009 From: vppriya at tenet.res.in (padma priya) Date: Fri, 19 Jun 2009 12:27:48 +0530 Subject: [mapserver-users] Contour maps Message-ID: <20090619065748.6988.qmail@mail.tenet.res.in> Hi All Can anyone tell me if it is possible to draw contour maps using mapserver. TIA Padma From davidn at datalinktech.com.au Fri Jun 19 02:36:34 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Fri, 19 Jun 2009 19:36:34 +1000 Subject: [mapserver-users] Contour maps In-Reply-To: <20090619065748.6988.qmail@mail.tenet.res.in> References: <20090619065748.6988.qmail@mail.tenet.res.in> Message-ID: On Fri, 19 Jun 2009 16:57:48 +1000, padma priya wrote: > Can anyone tell me if it is possible to draw contour maps using > mapserver. Yep. In general, contours are pretty simple features to draw compared with most other uses. Regards, David From dmorissette at mapgears.com Fri Jun 19 06:07:52 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Fri, 19 Jun 2009 09:07:52 -0400 Subject: [mapserver-users] msWMSLoadGetMapParams Error message to add to documentation In-Reply-To: <34321A1E-47D0-4347-A788-948CD482DCF6@remoteinformation.com.au> References: <20090618221508.D3CB4E01C4B@lists.osgeo.org> <34321A1E-47D0-4347-A788-948CD482DCF6@remoteinformation.com.au> Message-ID: <4A3B8DA8.5080404@mapgears.com> Ben Madin wrote: > Daniel, > > I never thought of that - done - but someone had better check I actually > understood it properly! > > http://trac.osgeo.org/mapserver/ticket/3055 > Thanks for creating the ticket. Your proposed entry looks good. I'll let Jeff (doc maintainer) take care of it. Daniel -- Daniel Morissette http://www.mapgears.com/ From David.Fawcett at state.mn.us Fri Jun 19 06:28:41 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Fri, 19 Jun 2009 08:28:41 -0500 Subject: [mapserver-users] Contour maps In-Reply-To: Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5E4@s-sp22.pca.state.mn.us> MapServer can draw contour vectors with no problem, but if your question was about whether MapServer can derive contour lines based on point or grid data, the answer is no. (as far as I know) David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of David Nugent Sent: Friday, June 19, 2009 4:37 AM To: padma priya; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Contour maps On Fri, 19 Jun 2009 16:57:48 +1000, padma priya wrote: > Can anyone tell me if it is possible to draw contour maps using > mapserver. Yep. In general, contours are pretty simple features to draw compared with most other uses. Regards, David _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From siki at agt.bme.hu Fri Jun 19 09:42:12 2009 From: siki at agt.bme.hu (Siki Zoltan) Date: Fri, 19 Jun 2009 18:42:12 +0200 (CEST) Subject: [mapserver-users] Contour maps In-Reply-To: <20090619065748.6988.qmail@mail.tenet.res.in> References: <20090619065748.6988.qmail@mail.tenet.res.in> Message-ID: Dear Padma, You can use gdal_contour (found in gdal utilities) to generate contours from a DEM, then mapserver can display contour vectors. You can use several opensource software to generate DEM, e.g. GRASS, GTM Best regards Zoltan On Fri, 19 Jun 2009, padma priya wrote: > Hi All > Can anyone tell me if it is possible to draw contour maps using mapserver. > TIA > Padma > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From vsaraf.gmu at gmail.com Fri Jun 19 11:39:43 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Fri, 19 Jun 2009 14:39:43 -0400 Subject: [mapserver-users] Precache In-Reply-To: <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> References: <00ff01c9d97f$851c05d0$8f541170$@com> <9c2015090905202045v1a77e797xe983e887c49172e1@mail.gmail.com> <014401c9da0f$23d25000$6b76f000$@com> <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> Message-ID: <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> Hi Roger, I am trying to get my mapserver and tilecache work together but its somehow not working. I am using the same projection as you in all my layers and the mapfile. (This works when I call my mapserver directly from google and hence the projection is right). Here is my mapfile (Only things that might be important). MAP EXTENT -173 5 -45 75 IMAGETYPE PNG PROJECTION "init=epsg:4326" END WEB METADATA wms_srs "EPSG:4326 EPSG:900913" END .... END LAYER .... PROJECTION "init=epsg:4326" END END Next I added the 900913 epsg to the proj.4 of mapserver and made the required changes in tilecache.cfg file as you specified. [google-tiles] type=MapServerLayer mapfile=C:/ms4w/apps/QCTGIS/drawMap.map metaTile=true metaSize=2,2 metaBuffer=0,500 layers=tr20_d00 spherical_mercator=true srs=EPSG:900913 I am not sure if the linkn I am using is wrong. I have tilecache installed in the cgi directory of the apache server that was installed using "ms4". The example index.html that comes with tilecache works fine and I can see the images being cached. Also my mapserver directly works fine. Can you tell me what is it that I am doing wrong here? the link I use for the tileUrlTemplate in google maps is "http://127.0.0.1:8123/cgi-bin/tilecache-2.10/tilecache.cgi/1.0.0/google-tiles/{Y}/{X}/{Z}.png?type=google". I can also see that this call gets initiated in the apache logs (access.log) but nothing happens therafter. I don't even know if this is failing at tilecache end and mapserver isn't being called at all or at mapserver's end where the image is not being sent by mapserver. Can you help me out here? Thanks a lot. Varun On Thu, May 21, 2009 at 12:46 PM, Roger Andr? wrote: > Ahh, ok. ?I'm not sure in what fashion you are using TileCache, but my > experience has been with using it to create tiles to display in Google > Maps. ?Google Maps uses the projection which is EPSG:900913. ?I > believe there are other codes for it, but that is the one I use. > > All of my source data for the MapServer projects I make are in > EPSG:4326. ?So there are 3 things I need to do in order to make the > Tilecache output tiles align correctly in Gmaps. > > 1. I set both the mapfile and the layer projections to EPSG:4326. > MAP > ?NAME ?'v2_80m_global' > ?PROJECTION > ? ?"init=epsg:4326" > ?END > > ?LAYER > ? ?NAME 'imagery' > ? ?PROJECTION > ? ? ?"init=epsg:4326" > ? ?END > > > 2. I explicity allow for a wms request to be made for the layer in > EPSG:900913 by setting the following in my MapServer LAYER: > ? ?METADATA > ? ? ?"wms_srs" ? ? ? ? ? ? "EPSG:4326 EPSG:900913" > > > 3. I define my TileCache layer so that it requests images from > Mapserver in EPSG:900913. > [v2_20m_global] > type=MapServerLayer > mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map > metaTile=true > metaSize=2,2 > metaBuffer=0,500 > layers=imagery > spherical_mercator=true > srs=EPSG:900913 > > That's what works for me. > > Roger > -- > > On Thu, May 21, 2009 at 5:24 AM, Chad Clabaugh wrote: >> Thank you Roger, for your response. ?I have done that but I do not >> understand how tilecache works. ?The images that are returned from mapserver >> line up perfectly. But the images returned from tilecache do not align very >> well (they're distorted). ?If tilecache is simply caching the returned >> images then I do not understand where this distortion comes from. ?Any >> thoughts? >> >> Thanks! >> >> -----Original Message----- >> From: Roger Andr? [mailto:randre at gmail.com] >> Sent: Wednesday, May 20, 2009 11:46 PM >> To: Chad Clabaugh >> Cc: mapserver-users at lists.osgeo.org >> Subject: Re: [mapserver-users] Precache >> >> Your request is somewhat lacking in detail, but assuming that your >> goal is a simple one, here is one way to accomplish this. >> >> 1. Create a MapServer project that displays your shapefile in whatever >> style you choose. >> 2. Setup a TileCache instance that points to your MapServer project. >> 3. Run the tilecache_seed.py script to pre-generate tiles. >> >> Roger >> -- >> >> On Wed, May 20, 2009 at 12:16 PM, Chad Clabaugh >> wrote: >>> How can I precache tile images from shapefiles? >>> >>> >>> >>> Thanks >>> >>> >>> >>> Chad Clabaugh >>> >>> Technical Support, Engineering >>> >>> Office: 260.760.6398 >>> >>> Mobile: 260.466.8861 >>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From woodbri at swoodbridge.com Fri Jun 19 12:00:20 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 19 Jun 2009 15:00:20 -0400 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? Message-ID: <4A3BE044.30407@swoodbridge.com> Hi all, Anyone know where/if there is a mapserver 5.4.1 download for MS4W? I have some mapfiles build using 5.4 features that I need to move to a windows box. The latest one I see in the MS4W downloads is 5.4.0-rc2 :( Thanks, -Steve From jmckenna at gatewaygeomatics.com Fri Jun 19 14:38:15 2009 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 19 Jun 2009 18:38:15 -0300 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <4A3BE044.30407@swoodbridge.com> References: <4A3BE044.30407@swoodbridge.com> Message-ID: <4A3C0547.5060402@gatewaygeomatics.com> Stephen Woodbridge wrote: > Hi all, > > Anyone know where/if there is a mapserver 5.4.1 download for MS4W? > I have some mapfiles build using 5.4 features that I need to move to a > windows box. The latest one I see in the MS4W downloads is 5.4.0-rc2 :( > > Thanks, I held off on adding the 5.4.1 build to the MS4W-3.0-betas because I was worried about some possible build issues. Are you saying that you have tested the 3.0 betas locally with no problems? Again if you find issues please file a ticket or check for an existing ticket and comment. Thanks. -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ From vsaraf.gmu at gmail.com Fri Jun 19 14:48:55 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Fri, 19 Jun 2009 17:48:55 -0400 Subject: [mapserver-users] Precache In-Reply-To: <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> References: <00ff01c9d97f$851c05d0$8f541170$@com> <9c2015090905202045v1a77e797xe983e887c49172e1@mail.gmail.com> <014401c9da0f$23d25000$6b76f000$@com> <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> Message-ID: <6db14d250906191448x2af35625m6d8437d681413242@mail.gmail.com> Hello, I have got this (tilecache with mapserver on google maps) working finally after a lot of problems but I now really need to know about how to do a pre-cache of all the tiles from mapserver. I am running tilecache 2.10 on Windows with mapserver ms4w from maptools.org. I tried running "tilecache_seed.py" as per the suggestion above but it always ends up in the following error Traceback (most recent call last): File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, in TileCache.Client.main() File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 153, in main layer = svc.layers[args[0]] IndexError: list index out of range Any help in this regard would be great. Thanks, Varun On Fri, Jun 19, 2009 at 2:39 PM, Varun saraf wrote: > Hi Roger, > > I am trying to get my mapserver and tilecache work together but its > somehow not working. I am using the same projection as you in all my > layers and the mapfile. (This works when I call my mapserver directly > from google and hence the projection is right). > > Here is my mapfile (Only things that might be important). > > MAP > ? ?EXTENT -173 5 -45 75 > > ? ?IMAGETYPE PNG > > ? ?PROJECTION > ? ? ?"init=epsg:4326" > ? ?END > > ? ?WEB > ? ?METADATA > ? ? wms_srs ? ? ? ? ? ? "EPSG:4326 EPSG:900913" > ? ?END > .... > ? ?END > > ? ?LAYER > .... > ? ? ? ?PROJECTION > ? ? ? ? ? ?"init=epsg:4326" > ? ? ? ?END > ? ?END > > Next I added the 900913 epsg to the proj.4 of mapserver and made the > required changes in tilecache.cfg file as you specified. > > [google-tiles] > type=MapServerLayer > mapfile=C:/ms4w/apps/QCTGIS/drawMap.map > metaTile=true > metaSize=2,2 > metaBuffer=0,500 > layers=tr20_d00 > spherical_mercator=true > srs=EPSG:900913 > > I am not sure if the linkn I am using is wrong. I have tilecache > installed in the cgi directory of the apache server that was installed > using "ms4". The example index.html that comes with tilecache works > fine and I can see the images being cached. Also my mapserver directly > works fine. Can you tell me what is it that I am doing wrong here? the > link I use for the tileUrlTemplate in google maps is > "http://127.0.0.1:8123/cgi-bin/tilecache-2.10/tilecache.cgi/1.0.0/google-tiles/{Y}/{X}/{Z}.png?type=google". > I can also see that this call gets initiated in the apache logs > (access.log) but nothing happens therafter. I don't even know if this > is failing at tilecache end and mapserver isn't being called at all or > at mapserver's end where the image is not being sent by mapserver. Can > you help me out here? > > Thanks a lot. > Varun > > On Thu, May 21, 2009 at 12:46 PM, Roger Andr? wrote: >> Ahh, ok. ?I'm not sure in what fashion you are using TileCache, but my >> experience has been with using it to create tiles to display in Google >> Maps. ?Google Maps uses the projection which is EPSG:900913. ?I >> believe there are other codes for it, but that is the one I use. >> >> All of my source data for the MapServer projects I make are in >> EPSG:4326. ?So there are 3 things I need to do in order to make the >> Tilecache output tiles align correctly in Gmaps. >> >> 1. I set both the mapfile and the layer projections to EPSG:4326. >> MAP >> ?NAME ?'v2_80m_global' >> ?PROJECTION >> ? ?"init=epsg:4326" >> ?END >> >> ?LAYER >> ? ?NAME 'imagery' >> ? ?PROJECTION >> ? ? ?"init=epsg:4326" >> ? ?END >> >> >> 2. I explicity allow for a wms request to be made for the layer in >> EPSG:900913 by setting the following in my MapServer LAYER: >> ? ?METADATA >> ? ? ?"wms_srs" ? ? ? ? ? ? "EPSG:4326 EPSG:900913" >> >> >> 3. I define my TileCache layer so that it requests images from >> Mapserver in EPSG:900913. >> [v2_20m_global] >> type=MapServerLayer >> mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map >> metaTile=true >> metaSize=2,2 >> metaBuffer=0,500 >> layers=imagery >> spherical_mercator=true >> srs=EPSG:900913 >> >> That's what works for me. >> >> Roger >> -- >> >> On Thu, May 21, 2009 at 5:24 AM, Chad Clabaugh wrote: >>> Thank you Roger, for your response. ?I have done that but I do not >>> understand how tilecache works. ?The images that are returned from mapserver >>> line up perfectly. But the images returned from tilecache do not align very >>> well (they're distorted). ?If tilecache is simply caching the returned >>> images then I do not understand where this distortion comes from. ?Any >>> thoughts? >>> >>> Thanks! >>> >>> -----Original Message----- >>> From: Roger Andr? [mailto:randre at gmail.com] >>> Sent: Wednesday, May 20, 2009 11:46 PM >>> To: Chad Clabaugh >>> Cc: mapserver-users at lists.osgeo.org >>> Subject: Re: [mapserver-users] Precache >>> >>> Your request is somewhat lacking in detail, but assuming that your >>> goal is a simple one, here is one way to accomplish this. >>> >>> 1. Create a MapServer project that displays your shapefile in whatever >>> style you choose. >>> 2. Setup a TileCache instance that points to your MapServer project. >>> 3. Run the tilecache_seed.py script to pre-generate tiles. >>> >>> Roger >>> -- >>> >>> On Wed, May 20, 2009 at 12:16 PM, Chad Clabaugh >>> wrote: >>>> How can I precache tile images from shapefiles? >>>> >>>> >>>> >>>> Thanks >>>> >>>> >>>> >>>> Chad Clabaugh >>>> >>>> Technical Support, Engineering >>>> >>>> Office: 260.760.6398 >>>> >>>> Mobile: 260.466.8861 >>>> >>>> >>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>> >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > From jmckenna at gatewaygeomatics.com Fri Jun 19 14:50:50 2009 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 19 Jun 2009 18:50:50 -0300 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <4A3BE044.30407@swoodbridge.com> References: <4A3BE044.30407@swoodbridge.com> Message-ID: <4A3C083A.2000604@gatewaygeomatics.com> Stephen Woodbridge wrote: > Hi all, > > Anyone know where/if there is a mapserver 5.4.1 download for MS4W? > I have some mapfiles build using 5.4 features that I need to move to a > windows box. The latest one I see in the MS4W downloads is 5.4.0-rc2 :( > > Thanks, 5.4.1 will be added to the next beta (http://bugzilla.maptools.org/show_bug.cgi?id=2064) and you can follow along with the progress (and provide testing feedback) through that ticket. -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ From woodbri at swoodbridge.com Fri Jun 19 15:21:47 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 19 Jun 2009 18:21:47 -0400 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <4A3C0547.5060402@gatewaygeomatics.com> References: <4A3BE044.30407@swoodbridge.com> <4A3C0547.5060402@gatewaygeomatics.com> Message-ID: <4A3C0F7B.3050003@swoodbridge.com> Jeff McKenna wrote: > Stephen Woodbridge wrote: >> Hi all, >> >> Anyone know where/if there is a mapserver 5.4.1 download for MS4W? >> I have some mapfiles build using 5.4 features that I need to move to a >> windows box. The latest one I see in the MS4W downloads is 5.4.0-rc2 :( >> >> Thanks, > > I held off on adding the 5.4.1 build to the MS4W-3.0-betas because I was > worried about some possible build issues. Are you saying that you have > tested the 3.0 betas locally with no problems? > > Again if you find issues please file a ticket or check for an existing > ticket and comment. Thanks. > > > -jeff > > Jeff, I believe we have loaded: http://maptools.org/dl/ms4w/ms4w-2.3.1-setup.exe and http://maptools.org/dl/ms4w/mapserver_ms4w-5.4.0-rc2.zip This seems to be running, but I'm getting this error: loadLabel(): Unknown identifier. Parsing error near (2):(line 407) Which I believe is because Thomas added some rendering features that I'm using after 5.4.0-RC2. Are you saying the 3.0 betas might have more recent code in them than 5.4.0-RC2 -Steve From no-reply at neogeo-online.net Fri Jun 19 15:55:33 2009 From: no-reply at neogeo-online.net (Guillaume Sueur) Date: Sat, 20 Jun 2009 00:55:33 +0200 Subject: [mapserver-users] Precache In-Reply-To: <6db14d250906191448x2af35625m6d8437d681413242@mail.gmail.com> References: <00ff01c9d97f$851c05d0$8f541170$@com> <9c2015090905202045v1a77e797xe983e887c49172e1@mail.gmail.com> <014401c9da0f$23d25000$6b76f000$@com> <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> <6db14d250906191448x2af35625m6d8437d681413242@mail.gmail.com> Message-ID: <4A3C1765.90302@neogeo-online.net> Hi Varun, It looks rather like a question for the tilecache-users list, but I can give you a hand. I think you didn't specify any layer when running tilecache_seed.py Please try : tilecache_seed.py [your_layer_name_as_set_in_tilecache.cfg] 0 5 where 0 and 5 are zoom start and zoom end. You can adapt this last one depending on how many levels you set for your layer. Run it from the directory where tilecache.cfg is, to avoid problem if you have many of them... Regards, Guillaume Varun saraf a ?crit : > Hello, > > I have got this (tilecache with mapserver on google maps) working > finally after a lot of problems but I now really need to know about > how to do a pre-cache of all the tiles from mapserver. I am running > tilecache 2.10 on Windows with mapserver ms4w from maptools.org. I > tried running "tilecache_seed.py" as per the suggestion above but it > always ends up in the following error > > Traceback (most recent call last): > File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, in dule> > TileCache.Client.main() > File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 153, in > main > layer = svc.layers[args[0]] > IndexError: list index out of range > > Any help in this regard would be great. > > Thanks, > Varun > > On Fri, Jun 19, 2009 at 2:39 PM, Varun saraf wrote: >> Hi Roger, >> >> I am trying to get my mapserver and tilecache work together but its >> somehow not working. I am using the same projection as you in all my >> layers and the mapfile. (This works when I call my mapserver directly >> from google and hence the projection is right). >> >> Here is my mapfile (Only things that might be important). >> >> MAP >> EXTENT -173 5 -45 75 >> >> IMAGETYPE PNG >> >> PROJECTION >> "init=epsg:4326" >> END >> >> WEB >> METADATA >> wms_srs "EPSG:4326 EPSG:900913" >> END >> .... >> END >> >> LAYER >> .... >> PROJECTION >> "init=epsg:4326" >> END >> END >> >> Next I added the 900913 epsg to the proj.4 of mapserver and made the >> required changes in tilecache.cfg file as you specified. >> >> [google-tiles] >> type=MapServerLayer >> mapfile=C:/ms4w/apps/QCTGIS/drawMap.map >> metaTile=true >> metaSize=2,2 >> metaBuffer=0,500 >> layers=tr20_d00 >> spherical_mercator=true >> srs=EPSG:900913 >> >> I am not sure if the linkn I am using is wrong. I have tilecache >> installed in the cgi directory of the apache server that was installed >> using "ms4". The example index.html that comes with tilecache works >> fine and I can see the images being cached. Also my mapserver directly >> works fine. Can you tell me what is it that I am doing wrong here? the >> link I use for the tileUrlTemplate in google maps is >> "http://127.0.0.1:8123/cgi-bin/tilecache-2.10/tilecache.cgi/1.0.0/google-tiles/{Y}/{X}/{Z}.png?type=google". >> I can also see that this call gets initiated in the apache logs >> (access.log) but nothing happens therafter. I don't even know if this >> is failing at tilecache end and mapserver isn't being called at all or >> at mapserver's end where the image is not being sent by mapserver. Can >> you help me out here? >> >> Thanks a lot. >> Varun >> >> On Thu, May 21, 2009 at 12:46 PM, Roger Andr? wrote: >>> Ahh, ok. I'm not sure in what fashion you are using TileCache, but my >>> experience has been with using it to create tiles to display in Google >>> Maps. Google Maps uses the projection which is EPSG:900913. I >>> believe there are other codes for it, but that is the one I use. >>> >>> All of my source data for the MapServer projects I make are in >>> EPSG:4326. So there are 3 things I need to do in order to make the >>> Tilecache output tiles align correctly in Gmaps. >>> >>> 1. I set both the mapfile and the layer projections to EPSG:4326. >>> MAP >>> NAME 'v2_80m_global' >>> PROJECTION >>> "init=epsg:4326" >>> END >>> >>> LAYER >>> NAME 'imagery' >>> PROJECTION >>> "init=epsg:4326" >>> END >>> >>> >>> 2. I explicity allow for a wms request to be made for the layer in >>> EPSG:900913 by setting the following in my MapServer LAYER: >>> METADATA >>> "wms_srs" "EPSG:4326 EPSG:900913" >>> >>> >>> 3. I define my TileCache layer so that it requests images from >>> Mapserver in EPSG:900913. >>> [v2_20m_global] >>> type=MapServerLayer >>> mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map >>> metaTile=true >>> metaSize=2,2 >>> metaBuffer=0,500 >>> layers=imagery >>> spherical_mercator=true >>> srs=EPSG:900913 >>> >>> That's what works for me. >>> >>> Roger >>> -- >>> >>> On Thu, May 21, 2009 at 5:24 AM, Chad Clabaugh wrote: >>>> Thank you Roger, for your response. I have done that but I do not >>>> understand how tilecache works. The images that are returned from mapserver >>>> line up perfectly. But the images returned from tilecache do not align very >>>> well (they're distorted). If tilecache is simply caching the returned >>>> images then I do not understand where this distortion comes from. Any >>>> thoughts? >>>> >>>> Thanks! >>>> >>>> -----Original Message----- >>>> From: Roger Andr? [mailto:randre at gmail.com] >>>> Sent: Wednesday, May 20, 2009 11:46 PM >>>> To: Chad Clabaugh >>>> Cc: mapserver-users at lists.osgeo.org >>>> Subject: Re: [mapserver-users] Precache >>>> >>>> Your request is somewhat lacking in detail, but assuming that your >>>> goal is a simple one, here is one way to accomplish this. >>>> >>>> 1. Create a MapServer project that displays your shapefile in whatever >>>> style you choose. >>>> 2. Setup a TileCache instance that points to your MapServer project. >>>> 3. Run the tilecache_seed.py script to pre-generate tiles. >>>> >>>> Roger >>>> -- >>>> >>>> On Wed, May 20, 2009 at 12:16 PM, Chad Clabaugh >>>> wrote: >>>>> How can I precache tile images from shapefiles? >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> Chad Clabaugh >>>>> >>>>> Technical Support, Engineering >>>>> >>>>> Office: 260.760.6398 >>>>> >>>>> Mobile: 260.466.8861 >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From vppriya at tenet.res.in Fri Jun 19 22:07:36 2009 From: vppriya at tenet.res.in (padma priya) Date: Sat, 20 Jun 2009 10:37:36 +0530 Subject: [mapserver-users] Contour maps Message-ID: <20090620050736.1135.qmail@mail.tenet.res.in> Thanks everyone for the replies. I will try out the suggestions and get back. Cheers! -----Original Message----- From: siki zoltan Date: Fri, 19 Jun 2009 18:42:12 +0200 (CEST) To: padma priya CC: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Contour maps Dear Padma, You can use gdal_contour (found in gdal utilities) to generate contours from a DEM, then mapserver can display contour vectors. You can use several opensource software to generate DEM, e.g. GRASS, GTM Best regards Zoltan On Fri, 19 Jun 2009, padma priya wrote: > Hi All > Can anyone tell me if it is possible to draw contour maps using mapserver. > TIA > Padma > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From thomas.bonfort at camptocamp.com Sat Jun 20 01:21:04 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Sat, 20 Jun 2009 10:21:04 +0200 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <4A3C0F7B.3050003@swoodbridge.com> References: <4A3BE044.30407@swoodbridge.com> <4A3C0547.5060402@gatewaygeomatics.com> <4A3C0F7B.3050003@swoodbridge.com> Message-ID: <2922382e0906200121n132d4f0brb0561955ab2fed2a@mail.gmail.com> > > loadLabel(): Unknown identifier. Parsing error near (2):(line 407) > > Which I believe is because Thomas added some rendering features that I'm > using after 5.4.0-RC2. what's on line 407 in your mapfile? I don't think there are any keywords I added since the 5.4 release process started. -- thomas From woodbri at swoodbridge.com Sat Jun 20 07:08:30 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Sat, 20 Jun 2009 10:08:30 -0400 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <2922382e0906200121n132d4f0brb0561955ab2fed2a@mail.gmail.com> References: <4A3BE044.30407@swoodbridge.com> <4A3C0547.5060402@gatewaygeomatics.com> <4A3C0F7B.3050003@swoodbridge.com> <2922382e0906200121n132d4f0brb0561955ab2fed2a@mail.gmail.com> Message-ID: <4A3CED5E.3060106@swoodbridge.com> Thomas Bonfort wrote: >> loadLabel(): Unknown identifier. Parsing error near (2):(line 407) >> >> Which I believe is because Thomas added some rendering features that I'm >> using after 5.4.0-RC2. > > what's on line 407 in your mapfile? I don't think there are any > keywords I added since the 5.4 release process started. > > -- > thomas Thomas, CLASS EXPRESSION /C/ MAXSCALEDENOM 50100 STYLE WIDTH 14 OUTLINECOLOR "#B7AC9A" OUTLINEWIDTH 1 MINWIDTH 1.5 MAXWIDTH 12 END STYLE WIDTH 14 COLOR "#ffffbc" MINWIDTH 1.5 MAXWIDTH 12 END LABEL MAXSCALEDENOM 30000 TYPE TRUETYPE FONT "arial" SIZE 12 COLOR "#000000" PARTIALS FALSE OUTLINEWIDTH 3 #### Line: 407 ANGLE FOLLOW OUTLINECOLOR "#ffffbc" PRIORITY 3 MINSIZE 7 MAXSIZE 10 MINDISTANCE 200 MINFEATURESIZE 20 END END I was thinking the OUTLINEWIDTH and OUTLINECOLOR were new, but I could be mistaken. I'm not sure when these were added, anyway the above works fine in Linux and only through this error when I moved stuff over to Windows. I have just build my own mapserver using VS2008 Express based on 4.5.1 and I'm waiting for the client to download that and test it. I'll also move the data and applications over to my Windows box and try to reproduce in my own environment if I have time this weekend. -Steve From vsaraf.gmu at gmail.com Sun Jun 21 07:32:18 2009 From: vsaraf.gmu at gmail.com (Varun saraf) Date: Sun, 21 Jun 2009 10:32:18 -0400 Subject: [mapserver-users] Precache In-Reply-To: <4A3C1765.90302@neogeo-online.net> References: <00ff01c9d97f$851c05d0$8f541170$@com> <9c2015090905202045v1a77e797xe983e887c49172e1@mail.gmail.com> <014401c9da0f$23d25000$6b76f000$@com> <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> <6db14d250906191448x2af35625m6d8437d681413242@mail.gmail.com> <4A3C1765.90302@neogeo-online.net> Message-ID: <6db14d250906210732w5e5e2646ob8c6affdc2865e39@mail.gmail.com> It worked perfect.I have another question but I guess I will put it up on the tilecache-users list. Thanks a lot, Varun On Fri, Jun 19, 2009 at 6:55 PM, Guillaume Sueur wrote: > Hi Varun, > > It looks rather like a question for the tilecache-users list, but I can give > you a hand. > I think you didn't specify any layer when running tilecache_seed.py > Please try : > tilecache_seed.py [your_layer_name_as_set_in_tilecache.cfg] 0 5 > where 0 and 5 are zoom start and zoom end. You can adapt this last one > depending on how many levels you set for your layer. > Run it from the directory where tilecache.cfg is, to avoid problem if you > have many of them... > > Regards, > > Guillaume > > Varun saraf a ?crit : >> >> Hello, >> >> I have got this (tilecache with mapserver on google maps) working >> finally after a lot of problems but I now really need to know about >> how to do a pre-cache of all the tiles from mapserver. I am running >> tilecache 2.10 on Windows with mapserver ms4w from maptools.org. I >> tried running "tilecache_seed.py" as per the suggestion above but it >> always ends up in the following error >> >> Traceback (most recent call last): >> ?File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, >> in > dule> >> ? ?TileCache.Client.main() >> ?File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line >> 153, in >> ?main >> ? ?layer = svc.layers[args[0]] >> IndexError: list index out of range >> >> Any help in this regard would be great. >> >> Thanks, >> Varun >> >> On Fri, Jun 19, 2009 at 2:39 PM, Varun saraf wrote: >>> >>> Hi Roger, >>> >>> I am trying to get my mapserver and tilecache work together but its >>> somehow not working. I am using the same projection as you in all my >>> layers and the mapfile. (This works when I call my mapserver directly >>> from google and hence the projection is right). >>> >>> Here is my mapfile (Only things that might be important). >>> >>> MAP >>> ? EXTENT -173 5 -45 75 >>> >>> ? IMAGETYPE PNG >>> >>> ? PROJECTION >>> ? ? "init=epsg:4326" >>> ? END >>> >>> ? WEB >>> ? METADATA >>> ? ?wms_srs ? ? ? ? ? ? "EPSG:4326 EPSG:900913" >>> ? END >>> .... >>> ? END >>> >>> ? LAYER >>> .... >>> ? ? ? PROJECTION >>> ? ? ? ? ? "init=epsg:4326" >>> ? ? ? END >>> ? END >>> >>> Next I added the 900913 epsg to the proj.4 of mapserver and made the >>> required changes in tilecache.cfg file as you specified. >>> >>> [google-tiles] >>> type=MapServerLayer >>> mapfile=C:/ms4w/apps/QCTGIS/drawMap.map >>> metaTile=true >>> metaSize=2,2 >>> metaBuffer=0,500 >>> layers=tr20_d00 >>> spherical_mercator=true >>> srs=EPSG:900913 >>> >>> I am not sure if the linkn I am using is wrong. I have tilecache >>> installed in the cgi directory of the apache server that was installed >>> using "ms4". The example index.html that comes with tilecache works >>> fine and I can see the images being cached. Also my mapserver directly >>> works fine. Can you tell me what is it that I am doing wrong here? the >>> link I use for the tileUrlTemplate in google maps is >>> >>> "http://127.0.0.1:8123/cgi-bin/tilecache-2.10/tilecache.cgi/1.0.0/google-tiles/{Y}/{X}/{Z}.png?type=google". >>> I can also see that this call gets initiated in the apache logs >>> (access.log) but nothing happens therafter. I don't even know if this >>> is failing at tilecache end and mapserver isn't being called at all or >>> at mapserver's end where the image is not being sent by mapserver. Can >>> you help me out here? >>> >>> Thanks a lot. >>> Varun >>> >>> On Thu, May 21, 2009 at 12:46 PM, Roger Andr? wrote: >>>> >>>> Ahh, ok. ?I'm not sure in what fashion you are using TileCache, but my >>>> experience has been with using it to create tiles to display in Google >>>> Maps. ?Google Maps uses the projection which is EPSG:900913. ?I >>>> believe there are other codes for it, but that is the one I use. >>>> >>>> All of my source data for the MapServer projects I make are in >>>> EPSG:4326. ?So there are 3 things I need to do in order to make the >>>> Tilecache output tiles align correctly in Gmaps. >>>> >>>> 1. I set both the mapfile and the layer projections to EPSG:4326. >>>> MAP >>>> ?NAME ?'v2_80m_global' >>>> ?PROJECTION >>>> ? "init=epsg:4326" >>>> ?END >>>> >>>> ?LAYER >>>> ? NAME 'imagery' >>>> ? PROJECTION >>>> ? ? "init=epsg:4326" >>>> ? END >>>> >>>> >>>> 2. I explicity allow for a wms request to be made for the layer in >>>> EPSG:900913 by setting the following in my MapServer LAYER: >>>> ? METADATA >>>> ? ? "wms_srs" ? ? ? ? ? ? "EPSG:4326 EPSG:900913" >>>> >>>> >>>> 3. I define my TileCache layer so that it requests images from >>>> Mapserver in EPSG:900913. >>>> [v2_20m_global] >>>> type=MapServerLayer >>>> mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map >>>> metaTile=true >>>> metaSize=2,2 >>>> metaBuffer=0,500 >>>> layers=imagery >>>> spherical_mercator=true >>>> srs=EPSG:900913 >>>> >>>> That's what works for me. >>>> >>>> Roger >>>> -- >>>> >>>> On Thu, May 21, 2009 at 5:24 AM, Chad Clabaugh >>>> wrote: >>>>> >>>>> Thank you Roger, for your response. ?I have done that but I do not >>>>> understand how tilecache works. ?The images that are returned from >>>>> mapserver >>>>> line up perfectly. But the images returned from tilecache do not align >>>>> very >>>>> well (they're distorted). ?If tilecache is simply caching the returned >>>>> images then I do not understand where this distortion comes from. ?Any >>>>> thoughts? >>>>> >>>>> Thanks! >>>>> >>>>> -----Original Message----- >>>>> From: Roger Andr? [mailto:randre at gmail.com] >>>>> Sent: Wednesday, May 20, 2009 11:46 PM >>>>> To: Chad Clabaugh >>>>> Cc: mapserver-users at lists.osgeo.org >>>>> Subject: Re: [mapserver-users] Precache >>>>> >>>>> Your request is somewhat lacking in detail, but assuming that your >>>>> goal is a simple one, here is one way to accomplish this. >>>>> >>>>> 1. Create a MapServer project that displays your shapefile in whatever >>>>> style you choose. >>>>> 2. Setup a TileCache instance that points to your MapServer project. >>>>> 3. Run the tilecache_seed.py script to pre-generate tiles. >>>>> >>>>> Roger >>>>> -- >>>>> >>>>> On Wed, May 20, 2009 at 12:16 PM, Chad Clabaugh >>>>> >>>>> wrote: >>>>>> >>>>>> How can I precache tile images from shapefiles? >>>>>> >>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> >>>>>> Chad Clabaugh >>>>>> >>>>>> Technical Support, Engineering >>>>>> >>>>>> Office: 260.760.6398 >>>>>> >>>>>> Mobile: 260.466.8861 >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> mapserver-users mailing list >>>>>> mapserver-users at lists.osgeo.org >>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>> >>>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > From no-reply at neogeo-online.net Sun Jun 21 07:59:08 2009 From: no-reply at neogeo-online.net (Guillaume Sueur) Date: Sun, 21 Jun 2009 16:59:08 +0200 Subject: [mapserver-users] Precache In-Reply-To: <6db14d250906210732w5e5e2646ob8c6affdc2865e39@mail.gmail.com> References: <00ff01c9d97f$851c05d0$8f541170$@com> <9c2015090905202045v1a77e797xe983e887c49172e1@mail.gmail.com> <014401c9da0f$23d25000$6b76f000$@com> <9c2015090905210946p2fcb0e1dy57be9fa36e4c6fb2@mail.gmail.com> <6db14d250906191139m5c247f67t4c26a898284c6b52@mail.gmail.com> <6db14d250906191448x2af35625m6d8437d681413242@mail.gmail.com> <4A3C1765.90302@neogeo-online.net> <6db14d250906210732w5e5e2646ob8c6affdc2865e39@mail.gmail.com> Message-ID: <4A3E4ABC.4010908@neogeo-online.net> I'll be there too ! Best regards, Guillaume Varun saraf a ?crit : > It worked perfect.I have another question but I guess I will put it up > on the tilecache-users list. > > Thanks a lot, > Varun > > On Fri, Jun 19, 2009 at 6:55 PM, Guillaume > Sueur wrote: >> Hi Varun, >> >> It looks rather like a question for the tilecache-users list, but I can give >> you a hand. >> I think you didn't specify any layer when running tilecache_seed.py >> Please try : >> tilecache_seed.py [your_layer_name_as_set_in_tilecache.cfg] 0 5 >> where 0 and 5 are zoom start and zoom end. You can adapt this last one >> depending on how many levels you set for your layer. >> Run it from the directory where tilecache.cfg is, to avoid problem if you >> have many of them... >> >> Regards, >> >> Guillaume >> >> Varun saraf a ?crit : >>> Hello, >>> >>> I have got this (tilecache with mapserver on google maps) working >>> finally after a lot of problems but I now really need to know about >>> how to do a pre-cache of all the tiles from mapserver. I am running >>> tilecache 2.10 on Windows with mapserver ms4w from maptools.org. I >>> tried running "tilecache_seed.py" as per the suggestion above but it >>> always ends up in the following error >>> >>> Traceback (most recent call last): >>> File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, >>> in >> dule> >>> TileCache.Client.main() >>> File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line >>> 153, in >>> main >>> layer = svc.layers[args[0]] >>> IndexError: list index out of range >>> >>> Any help in this regard would be great. >>> >>> Thanks, >>> Varun >>> >>> On Fri, Jun 19, 2009 at 2:39 PM, Varun saraf wrote: >>>> Hi Roger, >>>> >>>> I am trying to get my mapserver and tilecache work together but its >>>> somehow not working. I am using the same projection as you in all my >>>> layers and the mapfile. (This works when I call my mapserver directly >>>> from google and hence the projection is right). >>>> >>>> Here is my mapfile (Only things that might be important). >>>> >>>> MAP >>>> EXTENT -173 5 -45 75 >>>> >>>> IMAGETYPE PNG >>>> >>>> PROJECTION >>>> "init=epsg:4326" >>>> END >>>> >>>> WEB >>>> METADATA >>>> wms_srs "EPSG:4326 EPSG:900913" >>>> END >>>> .... >>>> END >>>> >>>> LAYER >>>> .... >>>> PROJECTION >>>> "init=epsg:4326" >>>> END >>>> END >>>> >>>> Next I added the 900913 epsg to the proj.4 of mapserver and made the >>>> required changes in tilecache.cfg file as you specified. >>>> >>>> [google-tiles] >>>> type=MapServerLayer >>>> mapfile=C:/ms4w/apps/QCTGIS/drawMap.map >>>> metaTile=true >>>> metaSize=2,2 >>>> metaBuffer=0,500 >>>> layers=tr20_d00 >>>> spherical_mercator=true >>>> srs=EPSG:900913 >>>> >>>> I am not sure if the linkn I am using is wrong. I have tilecache >>>> installed in the cgi directory of the apache server that was installed >>>> using "ms4". The example index.html that comes with tilecache works >>>> fine and I can see the images being cached. Also my mapserver directly >>>> works fine. Can you tell me what is it that I am doing wrong here? the >>>> link I use for the tileUrlTemplate in google maps is >>>> >>>> "http://127.0.0.1:8123/cgi-bin/tilecache-2.10/tilecache.cgi/1.0.0/google-tiles/{Y}/{X}/{Z}.png?type=google". >>>> I can also see that this call gets initiated in the apache logs >>>> (access.log) but nothing happens therafter. I don't even know if this >>>> is failing at tilecache end and mapserver isn't being called at all or >>>> at mapserver's end where the image is not being sent by mapserver. Can >>>> you help me out here? >>>> >>>> Thanks a lot. >>>> Varun >>>> >>>> On Thu, May 21, 2009 at 12:46 PM, Roger Andr? wrote: >>>>> Ahh, ok. I'm not sure in what fashion you are using TileCache, but my >>>>> experience has been with using it to create tiles to display in Google >>>>> Maps. Google Maps uses the projection which is EPSG:900913. I >>>>> believe there are other codes for it, but that is the one I use. >>>>> >>>>> All of my source data for the MapServer projects I make are in >>>>> EPSG:4326. So there are 3 things I need to do in order to make the >>>>> Tilecache output tiles align correctly in Gmaps. >>>>> >>>>> 1. I set both the mapfile and the layer projections to EPSG:4326. >>>>> MAP >>>>> NAME 'v2_80m_global' >>>>> PROJECTION >>>>> "init=epsg:4326" >>>>> END >>>>> >>>>> LAYER >>>>> NAME 'imagery' >>>>> PROJECTION >>>>> "init=epsg:4326" >>>>> END >>>>> >>>>> >>>>> 2. I explicity allow for a wms request to be made for the layer in >>>>> EPSG:900913 by setting the following in my MapServer LAYER: >>>>> METADATA >>>>> "wms_srs" "EPSG:4326 EPSG:900913" >>>>> >>>>> >>>>> 3. I define my TileCache layer so that it requests images from >>>>> Mapserver in EPSG:900913. >>>>> [v2_20m_global] >>>>> type=MapServerLayer >>>>> mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map >>>>> metaTile=true >>>>> metaSize=2,2 >>>>> metaBuffer=0,500 >>>>> layers=imagery >>>>> spherical_mercator=true >>>>> srs=EPSG:900913 >>>>> >>>>> That's what works for me. >>>>> >>>>> Roger >>>>> -- >>>>> >>>>> On Thu, May 21, 2009 at 5:24 AM, Chad Clabaugh >>>>> wrote: >>>>>> Thank you Roger, for your response. I have done that but I do not >>>>>> understand how tilecache works. The images that are returned from >>>>>> mapserver >>>>>> line up perfectly. But the images returned from tilecache do not align >>>>>> very >>>>>> well (they're distorted). If tilecache is simply caching the returned >>>>>> images then I do not understand where this distortion comes from. Any >>>>>> thoughts? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -----Original Message----- >>>>>> From: Roger Andr? [mailto:randre at gmail.com] >>>>>> Sent: Wednesday, May 20, 2009 11:46 PM >>>>>> To: Chad Clabaugh >>>>>> Cc: mapserver-users at lists.osgeo.org >>>>>> Subject: Re: [mapserver-users] Precache >>>>>> >>>>>> Your request is somewhat lacking in detail, but assuming that your >>>>>> goal is a simple one, here is one way to accomplish this. >>>>>> >>>>>> 1. Create a MapServer project that displays your shapefile in whatever >>>>>> style you choose. >>>>>> 2. Setup a TileCache instance that points to your MapServer project. >>>>>> 3. Run the tilecache_seed.py script to pre-generate tiles. >>>>>> >>>>>> Roger >>>>>> -- >>>>>> >>>>>> On Wed, May 20, 2009 at 12:16 PM, Chad Clabaugh >>>>>> >>>>>> wrote: >>>>>>> How can I precache tile images from shapefiles? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> Chad Clabaugh >>>>>>> >>>>>>> Technical Support, Engineering >>>>>>> >>>>>>> Office: 260.760.6398 >>>>>>> >>>>>>> Mobile: 260.466.8861 >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> mapserver-users mailing list >>>>>>> mapserver-users at lists.osgeo.org >>>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>>> >>>>>>> >>>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> > > From paulborodaev at gmail.com Sun Jun 21 23:00:43 2009 From: paulborodaev at gmail.com (BrainDrain) Date: Sun, 21 Jun 2009 23:00:43 -0700 (PDT) Subject: [mapserver-users] clipping symbols at tile boundary? In-Reply-To: <10c201c9f089$692332b0$3b699810$@com> References: <20090618235924.GA12007@q.rho.net> <10c201c9f089$692332b0$3b699810$@com> Message-ID: <1245650443695-3131305.post@n2.nabble.com> OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help in this case. I didn't find solution how to avoid breaking labels while using gutter. I suppose the only one is to turn off gutter (prebuild OL map clone with no gutter) on scales when symbols are turned off (if symbols are visible in large scales then labels uses large font size and gutter works fine with labels). Aaron Racicot wrote: > > Wendell, > > Look at 'gutter' in OpenLayers. It will allow you to get tiles slightly > larger from your Mapserver WMS to get rid of some of the artifacts: > > http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay > er.gutter > > Hope that helps... > > Aaron > > -------------------------- > Aaron Racicot > Z-Pulley Inc. > > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wendell > Turner > Sent: Thursday, June 18, 2009 4:59 PM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] clipping symbols at tile boundary? > > (this must be basic, but here goes anyway...) > > I'm using Mapserver 5.2 with OpenLayers 2.7. I have a > vector mapserver layer with point objects (shown with circle > symbols) on it. The vector layer referenced via > OpenLayers.Layer.WMS and is tiled. > > The circles are displayed in the tile that the center is on, > but not the adjacent tiles. That is, if a circle is near > the edge, part of the circle is chopped off. > > Is that what 'BUFFER 10' fixes? What about 'PARTIALS > FALSE'? That seems to be just for labels, but that only > shows the label when it completely lies within the tile. > Do I need to turn off tiling completely? > > Thanks, > > Wendell > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/clipping-symbols-at-tile-boundary--tp3116673p3131305.html Sent from the Mapserver - User mailing list archive at Nabble.com. From andrew.deklerk at gmail.com Mon Jun 22 01:12:11 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 22 Jun 2009 01:12:11 -0700 (PDT) Subject: [mapserver-users] New EPSG added but Projection Error Message-ID: <1245658331252-3131630.post@n2.nabble.com> Hi All I have a requirement to create a map with a non-standard projection. I have added the new projection to the /proj/nad/epsg file with the appropriate parameters - i.e: # Hartebeesthoek94 / Lo31 <2054>+proj=tmerc +lon_0=31 +datum=WGS84 <> If I then try and reference that projection in my map file like below it throws an error - msProcessProjection(): Projection library error. projection not named: PROJECTION "init=epsg:2054" END On the other hand, if I reference the proj4 format directly - it works - i.e PROJECTION "+proj=tmerc +lon_0=31 +datum=WGS84" END Any ideas what I need to do, or is it not as simple as adding it directly to the epsg file? Thanks in advance Andrew -- View this message in context: http://n2.nabble.com/New-EPSG-added-but-Projection-Error-tp3131630p3131630.html Sent from the Mapserver - User mailing list archive at Nabble.com. From nelsonwc7 at hotmail.com Mon Jun 22 01:30:40 2009 From: nelsonwc7 at hotmail.com (Nelson Correia) Date: Mon, 22 Jun 2009 08:30:40 +0000 Subject: [mapserver-users] tilecache_clean.py cleaning more than expected Message-ID: Hi all, I?m trying to keep my disk usage to about 500MB, but apparently tilecache_clean is freeing more space than what I?ve requested: # du -s -h /data/TILES 782M /data/TILES # python /apps/tilecache2.10/tilecache_clean.py -s 500 /data/TILES Cache entries found: 13040 Removed 12644 files. # du -s -h /data/TILES 73M /data/TILES Anyone knows why is this happening? Thanks, Nelson _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Mon Jun 22 02:38:13 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 22 Jun 2009 12:38:13 +0300 Subject: [mapserver-users] New EPSG added but Projection Error References: <1245658331252-3131630.post@n2.nabble.com> Message-ID: Hi, Try adding some white space between <2054> and +proj -Jukka Rahkonen- stretch wrote: Hi All I have a requirement to create a map with a non-standard projection. I have added the new projection to the /proj/nad/epsg file with the appropriate parameters - i.e: # Hartebeesthoek94 / Lo31 <2054>+proj=tmerc +lon_0=31 +datum=WGS84 <> If I then try and reference that projection in my map file like below it throws an error - msProcessProjection(): Projection library error. projection not named: PROJECTION "init=epsg:2054" END On the other hand, if I reference the proj4 format directly - it works - i.e PROJECTION "+proj=tmerc +lon_0=31 +datum=WGS84" END Any ideas what I need to do, or is it not as simple as adding it directly to the epsg file? Thanks in advance Andrew -- View this message in context: http://n2.nabble.com/New-EPSG-added-but-Projection-Error-tp3131630p3131630.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From deomurari at gmail.com Mon Jun 22 03:09:29 2009 From: deomurari at gmail.com (Arpit Deomurari) Date: Mon, 22 Jun 2009 15:39:29 +0530 Subject: [mapserver-users] Help Needed - MS4W, Tikiwiki and Vista Message-ID: <26af92cd0906220309l162f0fb1rb39d07f608c6ac9e@mail.gmail.com> Dear Friends... I'm trying to use tikiwiki as a GeoCMS on MS4W on windows(Vista) Platform... I have configured Mapserver 5.4.0 RC2 on XAMPP Platform and it's working perfectly standalone... But when I use with tikiwiki map module I get this error.... Can Some one help me in solving this error..... *An error as occured with the mapfile: world.map [MapServer Error]: loadWeb(): Parsing error near (:):(line 33) * * # WEB TEMPLATE D:\xampp\htdocs\tw\map\map.html --> IMAGEPATH D:\xampp\htdocs\tw\map\images IMAGEURL /map/images METADATA VIEW1 "Australia,117.500594119,-34.8753753754,165.037355881,-3.2087087087" VIEW2 "Fiji,165.704315901,-24.5147748593,201.374684099,-0.76477485929"* -- Arpit Deomurari Naturalist And Birder...... "AVANI" Anand Colony Road No-1 Nr. "Gurukrupa", Opp. "Rushi" Apartment, Vikasgruh Road, Jamnagar - 361008 Gujarat(INDIA) E-Mail:- deomurari at gmail.com arpit at waders.in Web site: http://www.waders.in http://indianaturewatch.net/view_cat.php?tag=Arpit%20Deomurari http://www.flickr.com/photos/deomurari Mobile No.:- +91-9426442243 (Mobile) I Believe In God, Only spell It Nature ******************************************* One should not have a job, career or profession- only a hobby, passion and a cause Please consider your environmental responsibility before printing this e-mail - Save paper. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.deklerk at gmail.com Mon Jun 22 03:59:53 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 22 Jun 2009 03:59:53 -0700 (PDT) Subject: [mapserver-users] New EPSG added but Projection Error In-Reply-To: References: <1245658331252-3131630.post@n2.nabble.com> Message-ID: <1245668393723-3132274.post@n2.nabble.com> Thanks - that seemed to work. its the small things............ Rahkonen Jukka wrote: > > Hi, > > Try adding some white space between <2054> and +proj > > -Jukka Rahkonen- > > > -- View this message in context: http://n2.nabble.com/New-EPSG-added-but-Projection-Error-tp3131630p3132274.html Sent from the Mapserver - User mailing list archive at Nabble.com. From cnieman at dmsolutions.ca Mon Jun 22 04:27:02 2009 From: cnieman at dmsolutions.ca (Christy Nieman) Date: Mon, 22 Jun 2009 07:27:02 -0400 Subject: [mapserver-users] clipping symbols at tile boundary? In-Reply-To: <1245650443695-3131305.post@n2.nabble.com> References: <20090618235924.GA12007@q.rho.net> <10c201c9f089$692332b0$3b699810$@com> <1245650443695-3131305.post@n2.nabble.com> Message-ID: <4A3F6A86.8000907@dmsolutions.ca> Hi, You can put "labelcache_map_edge_buffer" "-10" in the WEB block metadata. This will ensure that no labels are drawn within 10 pixels of a tile boundary (you can change the value to increase or decrease the buffer zone) E.g.: MAP ... WEB METADATA "labelcache_map_edge_buffer" "-10" END ... END ... END Christy BrainDrain wrote: > OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help > in this case. I didn't find solution how to avoid breaking labels while > using gutter. I suppose the only one is to turn off gutter (prebuild OL map > clone with no gutter) on scales when symbols are turned off (if symbols are > visible in large scales then labels uses large font size and gutter works > fine with labels). > > Aaron Racicot wrote: > >> Wendell, >> >> Look at 'gutter' in OpenLayers. It will allow you to get tiles slightly >> larger from your Mapserver WMS to get rid of some of the artifacts: >> >> http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay >> er.gutter >> >> Hope that helps... >> >> Aaron >> >> -------------------------- >> Aaron Racicot >> Z-Pulley Inc. >> >> >> -----Original Message----- >> From: mapserver-users-bounces at lists.osgeo.org >> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wendell >> Turner >> Sent: Thursday, June 18, 2009 4:59 PM >> To: mapserver-users at lists.osgeo.org >> Subject: [mapserver-users] clipping symbols at tile boundary? >> >> (this must be basic, but here goes anyway...) >> >> I'm using Mapserver 5.2 with OpenLayers 2.7. I have a >> vector mapserver layer with point objects (shown with circle >> symbols) on it. The vector layer referenced via >> OpenLayers.Layer.WMS and is tiled. >> >> The circles are displayed in the tile that the center is on, >> but not the adjacent tiles. That is, if a circle is near >> the edge, part of the circle is chopped off. >> >> Is that what 'BUFFER 10' fixes? What about 'PARTIALS >> FALSE'? That seems to be just for labels, but that only >> shows the label when it completely lies within the tile. >> Do I need to turn off tiling completely? >> >> Thanks, >> >> Wendell >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > > From andrew.deklerk at gmail.com Mon Jun 22 04:40:05 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 22 Jun 2009 04:40:05 -0700 (PDT) Subject: [mapserver-users] GetLegendGraphic GeltLegend Problem Message-ID: <1245670805685-3132435.post@n2.nabble.com> Hi all I am running Mapserver 5.4 RC2 as per the MS4W from the maptools site - mapserv -v output below: "MapServer version 5.4.0-rc2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPP ORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPOR TS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT =JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE" Previously, the following request from Mapserver 5.0.0 produced the legend item for the requested layer correctly: http://domain/wms/wms.php?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=Provinces&Format=image/png However, when I do the same call now, i get the map returned instead of the legend graphic. Is there an extra parameter I need to pass through, or some incorrect syntax that is being trapped by the latest release. Thanks in advance -- View this message in context: http://n2.nabble.com/GetLegendGraphic-GeltLegend-Problem-tp3132435p3132435.html Sent from the Mapserver - User mailing list archive at Nabble.com. From DeDuikertjes at xs4all.nl Mon Jun 22 06:02:25 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Mon, 22 Jun 2009 15:02:25 +0200 Subject: [mapserver-users] Postgis data source: quoting table name problem Message-ID: <4A3F80E1.5040100@xs4all.nl> Dear List, I've extensively searched the archives, saw a couple of more or less related posts, but couldn't find any solutions for my problem. In my mapserver application I use postgis as a data source. In my application the tables containing geometry columns do need to have odd characters like . and - in their names (for clarity: the table names that is, not the column names). Postgis allows this by double qouting the table name in functions, queries and sql statements. So in mapserver I like to do that as well as in the following example: DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn' Unfortunately that fails with a message from the WMS: msDrawMap(): Image handling error. Failed to draw layer named 'geoidNL.IMRO.SVBBU-102-_vlak'. prepare_database(): Query error. Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "nl_imro_0026_svbbu_0001" WHERE tc_vlak_geometry && setSRID('BOX3D(155016 467631,156758 470080)'::BOX3D, find_srid('','"nl_imro_0026_svbbu_0001"','tc_vlak_geometry') )' Postgresql reports the error as 'ERROR: find_srid() - couldnt find the corresponding SRID - is the geometry registered in the GEOMETRY_COLUMNS table? Is there an uppercase/lowercase missmatch? ' More Help: Error with POSTGIS data variable. You specified 'check your .map file'. Standard ways of specifiying are : (1) 'geometry_column from geometry_table' (2) 'geometry_column from (sub query) as foo using unique column name using SRID=srid#' Make sure you put in the 'using unique column name' and 'using SRID=#' clauses in. For more help, please see http://postgis.refractions.net/documentation/ Mappostgis.c - version of Jan 23/2004 Removing the quotes works fine and gives a map from the WMS. Of course removing the quotes in this example is no problem because there are no odd characters like . and -. When tablenames do have these characters, the query of course fails. Are there any workarounds for this problem other than renaming tables to names without odd characters? (and yes, I've tried to add using srid = 28992 to the DATA string, but that doesn't help). (and yes, I've tried escaping double quotes like DATA "'tc_vlak_geometry from \"nl_imro_0026_svbbu_0001\" using unique geoidn"') Any help greatly appreciated. MArco From crschmidt at metacarta.com Mon Jun 22 06:18:55 2009 From: crschmidt at metacarta.com (Christopher Schmidt) Date: Mon, 22 Jun 2009 09:18:55 -0400 Subject: [mapserver-users] tilecache_clean.py cleaning more than expected In-Reply-To: References: Message-ID: <20090622131855.GA22033@metacarta.com> On Mon, Jun 22, 2009 at 08:30:40AM +0000, Nelson Correia wrote: > > > > > > > Hi all, > > I?m trying to keep my disk usage to about 500MB, but apparently tilecache_clean is freeing more space than what I?ve requested: > > # du -s -h /data/TILES > 782M /data/TILES > > # python /apps/tilecache2.10/tilecache_clean.py -s 500 /data/TILES > Cache entries found: 13040 > Removed 12644 files. > > # du -s -h /data/TILES > 73M /data/TILES > > Anyone knows why is this happening? Please send this message to the tilecache mailing list. Regards, -- Christopher Schmidt MetaCarta From stelaanders at gmail.com Mon Jun 22 07:22:16 2009 From: stelaanders at gmail.com (stela anders) Date: Mon, 22 Jun 2009 11:22:16 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: ok... I?m waiting for the news :p Thanks 2009/6/18 Tamas Szekeres > Hi, > > I've set it up (Win2003) but didn't crash, though I get blank images in cgi > mode. > http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E > :\tests\TestCGI\map.map&mode=map > > shp2img produces correct image however. I'm a bit uncertain whether the 2 > problems are the same but I'll look into this one in more detail shortly. > > > Tamas > > > 2009/6/18 stela anders > >> Hi guys! >> >> I got that binary now : >> http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip >> Same error Tamas... >> >> System : Windows XP / IIS 5.1 >> >> Using Postgis as datasourse... >> >> I made a package with : >> - Mapfile >> - Postgis data >> - Html >> You only need OL js to tryout... >> Or you can try typing : >> http://localhost/cgi-binx/mapserv.exe?map=map.map >> >> The error is : >> ---- >> CGI Error >> The specified CGI application misbehaved by not returning a complete set >> of HTTP headers. The headers it did return are: >> --- >> >> Using version 5.2.2 all works fine... >> Stela >> >> 2009/6/18 Tamas Szekeres >> >> Hi, >>> >>> Some of the guys reported issues with mapserver 5.4+ in normal CGI mode >>> (FastCGI was reported ok) but I couldn't reproduce it myself so it would be >>> helpful if someone could describe the steps (and provide mapfiles/sample >>> data) to check it out. >>> You could also test with the binaries provided from here which appears to >>> be working ok. >>> >>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>> >>> >>> >>> Best regards, >>> >>> Tamas >>> >>> >>> 2009/6/18 stela anders >>> >>>> Hey guys ! >>>> That?s my first message here... (I?m from Argentina, sorry about my bad >>>> English) >>>> >>>> Is there any bug on Mapserver 5.4 CGI ? >>>> We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS >>>> ... We tried to update to newest version 5.4 and got a CGI error ... >>>> Is there any FAQ to upgrade ? Or maybe is it a bug? >>>> >>>> Stela >>>> >>>> >>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.wesp at gmail.com Mon Jun 22 07:41:34 2009 From: oliver.wesp at gmail.com (Oliver Wesp) Date: Mon, 22 Jun 2009 16:41:34 +0200 Subject: [mapserver-users] Re: [UMN_MAPSERVER-USERS] Problem: ANGLEITEM and TRANSPARENT In-Reply-To: References: Message-ID: Dear List, I'm facing the same problems adressed in the messages below regarding the transpareny of pixmap symbols. Pixmap symbols lose their transparency after rotation or resizing with ANGLE or SIZE parameter. I'm working with mapserver 5.4.0 and gd 2.0.32. Is anybody aware of this problem? Was this fixed with later versions of GD? Any help is appreciated. best regards, Oliver On Wed, May 31, 2006 at 4:04 PM, Steve Lime wrote: > As a follow up. The patch was not as complete as I hoped. I worked on the > problem until late last night but did not end up committing anything- still > working on it though. > > Steve > > >>> Steve Lime 05/30/06 1:01 PM >>> > Christian: The problem seems to be in GD. Transparency is lost after > rotation and I've tried a variety of methods > to rebuild it post rotation and it simply doesn't work. That said, the > folks have MapMedia have submitted a new > image rotation function that should fix the issue and some others with > resampling method. I need to integrate > that into the development version for testing. I will do that tonite... > > Steve > > >>> Christian Wilmes 5/30/2006 8:11:39 AM >>> > Hi All, > > I'm trying to visualize point-data with the mapserver. As symbol I'm using > a transparent PIXMAP. Now I want to use ANGLEITEM in the STYLE-Object, > ANGLEITEM itself is working fine, but using it causes the lost of the > transperency. Instead of the parameter TRANSPARNZ in the SYMBOL-Object I > also tried it with a gif and a png which has already a transparent > background. The result is the same, without ANGLEITEM it works fine but > without it doesn't. > > Does anybody have an idea how to fix that problem? > > Best Regards > Christian > -- > > > Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! > Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlinden at zeelandnet.nl Mon Jun 22 07:09:09 2009 From: mlinden at zeelandnet.nl (Milo van der Linden) Date: Mon, 22 Jun 2009 16:09:09 +0200 Subject: [mapserver-users] Postgis data source: quoting table name problem In-Reply-To: <4A3F80E1.5040100@xs4all.nl> References: <4A3F80E1.5040100@xs4all.nl> Message-ID: <1245679749.5757.7.camel@milo-crunchbang> Hello Marco, If you do not specify ...using unique geoidnd using SRID=28992' mapserver will search the table for srid information, again sending the table name in a query to the database as seen in the error message. I agree that this might be a tiny bug, but it might be a workaround to define the srid in the DATA clause. Kind regards, Milo van der Linden On Mon, 2009-06-22 at 15:02 +0200, DeDuikertjes wrote: > Dear List, > > I've extensively searched the archives, saw a couple of more or less > related posts, but couldn't find any solutions for my problem. > > In my mapserver application I use postgis as a data source. > In my application the tables containing geometry columns do need to have > odd characters like . and - in their names (for clarity: the table names > that is, not the column names). > Postgis allows this by double qouting the table name in functions, > queries and sql statements. > > So in mapserver I like to do that as well as in the following example: > > DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn' > > Unfortunately that fails with a message from the WMS: > > msDrawMap(): Image handling error. Failed to draw layer named > 'geoidNL.IMRO.SVBBU-102-_vlak'. prepare_database(): Query error. Error > executing POSTGIS DECLARE (the actual query) statement: 'DECLARE > mycursor BINARY CURSOR FOR SELECT > asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text > from "nl_imro_0026_svbbu_0001" WHERE tc_vlak_geometry && > setSRID('BOX3D(155016 467631,156758 470080)'::BOX3D, > find_srid('','"nl_imro_0026_svbbu_0001"','tc_vlak_geometry') )' > Postgresql reports the error as 'ERROR: find_srid() - couldnt find the > corresponding SRID - is the geometry registered in the GEOMETRY_COLUMNS > table? Is there an uppercase/lowercase missmatch? ' More Help: Error > with POSTGIS data variable. You specified 'check your .map file'. > Standard ways of specifiying are : (1) 'geometry_column from > geometry_table' (2) 'geometry_column from (sub query) as foo using > unique column name using SRID=srid#' Make sure you put in the 'using > unique column name' and 'using SRID=#' clauses in. For more help, please > see http://postgis.refractions.net/documentation/ Mappostgis.c - version > of Jan 23/2004 > > Removing the quotes works fine and gives a map from the WMS. > Of course removing the quotes in this example is no problem because > there are no odd characters like . and -. > When tablenames do have these characters, the query of course fails. > > Are there any workarounds for this problem other than renaming tables to > names without odd characters? > (and yes, I've tried to add using srid = 28992 to the DATA string, but > that doesn't help). > (and yes, I've tried escaping double quotes like DATA "'tc_vlak_geometry > from \"nl_imro_0026_svbbu_0001\" using unique geoidn"') > > Any help greatly appreciated. > > MArco > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From andrew.deklerk at gmail.com Mon Jun 22 08:19:19 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 22 Jun 2009 08:19:19 -0700 (PDT) Subject: [mapserver-users] Mapserver 5.4 For Windows Resolution problems - openlayers Message-ID: <1245683959130-3136893.post@n2.nabble.com> Hi all I have upgraded my local machine to Mapserver 5.4 for windows. Since upgrading my openlayers projects has started complaining about setting my map resolutions, and the output is a map with a whole lot of tiles of the full map extent. Reverting back to my old 5 version suddenly everything works fine. I have also had an issue with getMapLegend (couple of posts earlier). The latest windows build is 5.4 rc2. Can anyone tell me if there is an issue with this, or if there is something new that needs to be implemented to get things working again. I apologise for the lack of additional technical detail, but I have spent the entire day trying to troubleshoot this and come a full circle so I actually dont know what I have dome and what I haven't done at this stage! Perhaps, if anyone else has had problems they could let me know? Thanks -- View this message in context: http://n2.nabble.com/Mapserver-5.4-For-Windows-Resolution-problems---openlayers-tp3136893p3136893.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Jukka.Rahkonen at mmmtike.fi Mon Jun 22 08:23:48 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 22 Jun 2009 18:23:48 +0300 Subject: [mapserver-users] Help Needed - MS4W, Tikiwiki and Vista References: <26af92cd0906220309l162f0fb1rb39d07f608c6ac9e@mail.gmail.com> Message-ID: Hi, Maybe IMAGEPATH should be like IMAGEPATH D:\xampp\htdocs\tw\map\images\ Mapfile reference at http://www.mapserver.org/mapfile/web.html tells: "IMAGEPATH [path] Path to the temporary directory fro writing temporary files and images. Must be writable by the user the web server is running as. Must end with a / or depending on your platform." There is really "Must end with a / or depending", I suppose it should be "end with a / or \". -Jukka Rahkonen- Arpit Deomurari wrote: Dear Friends... I'm trying to use tikiwiki as a GeoCMS on MS4W on windows(Vista) Platform... I have configured Mapserver 5.4.0 RC2 on XAMPP Platform and it's working perfectly standalone... But when I use with tikiwiki map module I get this error.... Can Some one help me in solving this error..... *An error as occured with the mapfile: world.map [MapServer Error]: loadWeb(): Parsing error near (:):(line 33) * * # WEB TEMPLATE D:\xampp\htdocs\tw\map\map.html --> IMAGEPATH D:\xampp\htdocs\tw\map\images IMAGEURL /map/images METADATA VIEW1 "Australia,117.500594119,-34.8753753754,165.037355881,-3.2087087087" VIEW2 "Fiji,165.704315901,-24.5147748593,201.374684099,-0.76477485929"* -- Arpit Deomurari Naturalist And Birder...... "AVANI" Anand Colony Road No-1 Nr. "Gurukrupa", Opp. "Rushi" Apartment, Vikasgruh Road, Jamnagar - 361008 Gujarat(INDIA) E-Mail:- deomurari at gmail.com arpit at waders.in Web site: http://www.waders.in http://indianaturewatch.net/view_cat.php?tag=Arpit%20Deomurari http://www.flickr.com/photos/deomurari Mobile No.:- +91-9426442243 (Mobile) I Believe In God, Only spell It Nature ******************************************* One should not have a job, career or profession- only a hobby, passion and a cause Please consider your environmental responsibility before printing this e-mail - Save paper. From DeDuikertjes at xs4all.nl Mon Jun 22 08:21:17 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Mon, 22 Jun 2009 17:21:17 +0200 Subject: [mapserver-users] Postgis data source: quoting table name problem In-Reply-To: <1245679749.5757.7.camel@milo-crunchbang> References: <4A3F80E1.5040100@xs4all.nl> <1245679749.5757.7.camel@milo-crunchbang> Message-ID: <4A3FA16D.2020401@xs4all.nl> Milo, List, changing to DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn using SRID = 28992' and also DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn using srid = 28992' fails, but: DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn using SRID=28992' and DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn using srid=28992' both work as it should. I allready tried things like that before, but apparently got something wrong in the details like having spaces around the = Great, thank you very much. MArco Milo van der Linden schreef: > Hello Marco, > > > If you do not specify ...using unique geoidnd using SRID=28992' > mapserver will search the table for srid information, again sending the > table name in a query to the database as seen in the error message. > > I agree that this might be a tiny bug, but it might be a workaround to > define the srid in the DATA clause. > > Kind regards, > > Milo van der Linden > > > > On Mon, 2009-06-22 at 15:02 +0200, DeDuikertjes wrote: > >> Dear List, >> >> I've extensively searched the archives, saw a couple of more or less >> related posts, but couldn't find any solutions for my problem. >> >> In my mapserver application I use postgis as a data source. >> In my application the tables containing geometry columns do need to have >> odd characters like . and - in their names (for clarity: the table names >> that is, not the column names). >> Postgis allows this by double qouting the table name in functions, >> queries and sql statements. >> >> So in mapserver I like to do that as well as in the following example: >> >> DATA 'tc_vlak_geometry from "nl_imro_0026_svbbu_0001" using unique geoidn' >> >> Unfortunately that fails with a message from the WMS: >> >> msDrawMap(): Image handling error. Failed to draw layer named >> 'geoidNL.IMRO.SVBBU-102-_vlak'. prepare_database(): Query error. Error >> executing POSTGIS DECLARE (the actual query) statement: 'DECLARE >> mycursor BINARY CURSOR FOR SELECT >> asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text >> from "nl_imro_0026_svbbu_0001" WHERE tc_vlak_geometry && >> setSRID('BOX3D(155016 467631,156758 470080)'::BOX3D, >> find_srid('','"nl_imro_0026_svbbu_0001"','tc_vlak_geometry') )' >> Postgresql reports the error as 'ERROR: find_srid() - couldnt find the >> corresponding SRID - is the geometry registered in the GEOMETRY_COLUMNS >> table? Is there an uppercase/lowercase missmatch? ' More Help: Error >> with POSTGIS data variable. You specified 'check your .map file'. >> Standard ways of specifiying are : (1) 'geometry_column from >> geometry_table' (2) 'geometry_column from (sub query) as foo using >> unique column name using SRID=srid#' Make sure you put in the 'using >> unique column name' and 'using SRID=#' clauses in. For more help, please >> see http://postgis.refractions.net/documentation/ Mappostgis.c - version >> of Jan 23/2004 >> >> Removing the quotes works fine and gives a map from the WMS. >> Of course removing the quotes in this example is no problem because >> there are no odd characters like . and -. >> When tablenames do have these characters, the query of course fails. >> >> Are there any workarounds for this problem other than renaming tables to >> names without odd characters? >> (and yes, I've tried to add using srid = 28992 to the DATA string, but >> that doesn't help). >> (and yes, I've tried escaping double quotes like DATA "'tc_vlak_geometry >> from \"nl_imro_0026_svbbu_0001\" using unique geoidn"') >> >> Any help greatly appreciated. >> >> MArco >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> From szekerest at gmail.com Mon Jun 22 08:47:46 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Mon, 22 Jun 2009 17:47:46 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: I had to replace the 'STATUS ON' with 'STATUS DEFAULT' in the mapfile to make it work. Here is the result: http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E :\tests\TestCGI\map.map&mode=map But it seems the original problem couldn't be reproduced here, it might be an environment specific issue (I'm using Win2003 x64). I'll be trying to set up the same stuff in XP, just in case .... Best regards, Tamas 2009/6/22 stela anders > ok... I?m waiting for the news :p > > Thanks > > 2009/6/18 Tamas Szekeres > >> Hi, >> >> I've set it up (Win2003) but didn't crash, though I get blank images in >> cgi mode. >> http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E >> :\tests\TestCGI\map.map&mode=map >> >> shp2img produces correct image however. I'm a bit uncertain whether the 2 >> problems are the same but I'll look into this one in more detail shortly. >> >> >> Tamas >> >> >> 2009/6/18 stela anders >> >>> Hi guys! >>> >>> I got that binary now : >>> http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip >>> Same error Tamas... >>> >>> System : Windows XP / IIS 5.1 >>> >>> Using Postgis as datasourse... >>> >>> I made a package with : >>> - Mapfile >>> - Postgis data >>> - Html >>> You only need OL js to tryout... >>> Or you can try typing : >>> http://localhost/cgi-binx/mapserv.exe?map=map.map >>> >>> The error is : >>> ---- >>> CGI Error >>> The specified CGI application misbehaved by not returning a complete set >>> of HTTP headers. The headers it did return are: >>> --- >>> >>> Using version 5.2.2 all works fine... >>> Stela >>> >>> 2009/6/18 Tamas Szekeres >>> >>> Hi, >>>> >>>> Some of the guys reported issues with mapserver 5.4+ in normal CGI mode >>>> (FastCGI was reported ok) but I couldn't reproduce it myself so it would be >>>> helpful if someone could describe the steps (and provide mapfiles/sample >>>> data) to check it out. >>>> You could also test with the binaries provided from here which appears >>>> to be working ok. >>>> >>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>> >>>> >>>> >>>> Best regards, >>>> >>>> Tamas >>>> >>>> >>>> 2009/6/18 stela anders >>>> >>>>> Hey guys ! >>>>> That?s my first message here... (I?m from Argentina, sorry about my bad >>>>> English) >>>>> >>>>> Is there any bug on Mapserver 5.4 CGI ? >>>>> We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS >>>>> ... We tried to update to newest version 5.4 and got a CGI error ... >>>>> Is there any FAQ to upgrade ? Or maybe is it a bug? >>>>> >>>>> Stela >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stelaanders at gmail.com Mon Jun 22 08:52:20 2009 From: stelaanders at gmail.com (stela anders) Date: Mon, 22 Jun 2009 12:52:20 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: I think It?s not the case... I tested in Windows 2003/IIS 6.0 (x86) and got same problem... Stella 2009/6/22 Tamas Szekeres > I had to replace the 'STATUS ON' with 'STATUS DEFAULT' in the mapfile to > make it work. Here is the result: > > http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E > :\tests\TestCGI\map.map&mode=map > > But it seems the original problem couldn't be reproduced here, it might be > an environment specific issue (I'm using Win2003 x64). > I'll be trying to set up the same stuff in XP, just in case .... > > Best regards, > > Tamas > > > > > 2009/6/22 stela anders > > ok... I?m waiting for the news :p >> >> Thanks >> >> 2009/6/18 Tamas Szekeres >> >>> Hi, >>> >>> I've set it up (Win2003) but didn't crash, though I get blank images in >>> cgi mode. >>> http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E >>> :\tests\TestCGI\map.map&mode=map >>> >>> shp2img produces correct image however. I'm a bit uncertain whether the 2 >>> problems are the same but I'll look into this one in more detail shortly. >>> >>> >>> Tamas >>> >>> >>> 2009/6/18 stela anders >>> >>>> Hi guys! >>>> >>>> I got that binary now : >>>> http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip >>>> Same error Tamas... >>>> >>>> System : Windows XP / IIS 5.1 >>>> >>>> Using Postgis as datasourse... >>>> >>>> I made a package with : >>>> - Mapfile >>>> - Postgis data >>>> - Html >>>> You only need OL js to tryout... >>>> Or you can try typing : >>>> http://localhost/cgi-binx/mapserv.exe?map=map.map >>>> >>>> The error is : >>>> ---- >>>> CGI Error >>>> The specified CGI application misbehaved by not returning a complete set >>>> of HTTP headers. The headers it did return are: >>>> --- >>>> >>>> Using version 5.2.2 all works fine... >>>> Stela >>>> >>>> 2009/6/18 Tamas Szekeres >>>> >>>> Hi, >>>>> >>>>> Some of the guys reported issues with mapserver 5.4+ in normal CGI mode >>>>> (FastCGI was reported ok) but I couldn't reproduce it myself so it would be >>>>> helpful if someone could describe the steps (and provide mapfiles/sample >>>>> data) to check it out. >>>>> You could also test with the binaries provided from here which appears >>>>> to be working ok. >>>>> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>>> >>>>> >>>>> >>>>> Best regards, >>>>> >>>>> Tamas >>>>> >>>>> >>>>> 2009/6/18 stela anders >>>>> >>>>>> Hey guys ! >>>>>> That?s my first message here... (I?m from Argentina, sorry about my >>>>>> bad English) >>>>>> >>>>>> Is there any bug on Mapserver 5.4 CGI ? >>>>>> We have a full application using Mapserver 5.2 CGI on Windowns >>>>>> 2003/IIS ... We tried to update to newest version 5.4 and got a CGI error >>>>>> ... >>>>>> Is there any FAQ to upgrade ? Or maybe is it a bug? >>>>>> >>>>>> Stela >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> mapserver-users mailing list >>>>>> mapserver-users at lists.osgeo.org >>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Mon Jun 22 09:22:53 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Mon, 22 Jun 2009 18:22:53 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Could you post a log of a single request monitored with SysInternals filemon (and setting up a filter to mapserv.exe). I'd be curious to know which files are accessed by mapserv.exe during a request on your system. Best regards, Tamas 2009/6/22 stela anders > I think It?s not the case... > I tested in Windows 2003/IIS 6.0 (x86) and got same problem... > > Stella > 2009/6/22 Tamas Szekeres > > I had to replace the 'STATUS ON' with 'STATUS DEFAULT' in the mapfile to >> make it work. Here is the result: >> >> http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E >> :\tests\TestCGI\map.map&mode=map >> >> But it seems the original problem couldn't be reproduced here, it might be >> an environment specific issue (I'm using Win2003 x64). >> I'll be trying to set up the same stuff in XP, just in case .... >> >> Best regards, >> >> Tamas >> >> >> >> >> 2009/6/22 stela anders >> >> ok... I?m waiting for the news :p >>> >>> Thanks >>> >>> 2009/6/18 Tamas Szekeres >>> >>>> Hi, >>>> >>>> I've set it up (Win2003) but didn't crash, though I get blank images in >>>> cgi mode. >>>> http://vbkto.dyndns.org:1280/cgi-bin4/mapserv.exe?map=E >>>> :\tests\TestCGI\map.map&mode=map >>>> >>>> shp2img produces correct image however. I'm a bit uncertain whether the >>>> 2 problems are the same but I'll look into this one in more detail shortly. >>>> >>>> >>>> Tamas >>>> >>>> >>>> 2009/6/18 stela anders >>>> >>>>> Hi guys! >>>>> >>>>> I got that binary now : >>>>> http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip >>>>> Same error Tamas... >>>>> >>>>> System : Windows XP / IIS 5.1 >>>>> >>>>> Using Postgis as datasourse... >>>>> >>>>> I made a package with : >>>>> - Mapfile >>>>> - Postgis data >>>>> - Html >>>>> You only need OL js to tryout... >>>>> Or you can try typing : >>>>> http://localhost/cgi-binx/mapserv.exe?map=map.map >>>>> >>>>> The error is : >>>>> ---- >>>>> CGI Error >>>>> The specified CGI application misbehaved by not returning a complete >>>>> set of HTTP headers. The headers it did return are: >>>>> --- >>>>> >>>>> Using version 5.2.2 all works fine... >>>>> Stela >>>>> >>>>> 2009/6/18 Tamas Szekeres >>>>> >>>>> Hi, >>>>>> >>>>>> Some of the guys reported issues with mapserver 5.4+ in normal CGI >>>>>> mode (FastCGI was reported ok) but I couldn't reproduce it myself so it >>>>>> would be helpful if someone could describe the steps (and provide >>>>>> mapfiles/sample data) to check it out. >>>>>> You could also test with the binaries provided from here which appears >>>>>> to be working ok. >>>>>> >>>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>>>> >>>>>> >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Tamas >>>>>> >>>>>> >>>>>> 2009/6/18 stela anders >>>>>> >>>>>>> Hey guys ! >>>>>>> That?s my first message here... (I?m from Argentina, sorry about my >>>>>>> bad English) >>>>>>> >>>>>>> Is there any bug on Mapserver 5.4 CGI ? >>>>>>> We have a full application using Mapserver 5.2 CGI on Windowns >>>>>>> 2003/IIS ... We tried to update to newest version 5.4 and got a CGI error >>>>>>> ... >>>>>>> Is there any FAQ to upgrade ? Or maybe is it a bug? >>>>>>> >>>>>>> Stela >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> mapserver-users mailing list >>>>>>> mapserver-users at lists.osgeo.org >>>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iacovlev.pavel at gmail.com Mon Jun 22 10:39:27 2009 From: iacovlev.pavel at gmail.com (Pavel Iacovlev) Date: Mon, 22 Jun 2009 20:39:27 +0300 Subject: [mapserver-users] Compiling mapserver with custom libtiff and libgeotiff Message-ID: <2a37f67a0906221039ob10dfc6w8dec70bb20af354b@mail.gmail.com> Good day all, Os: Ubuntu 8.04 I need bigtiff support in mapserver (default version in ubuntu 8.04 does not offer this). Steps: #libtiff make sudo make install #libgeotiff ./configure --with-ld-shared="gcc -shared" make sudo make install #mapserver ./configure \ --prefix=/usr \ --with-pdf \ --with-freetype \ --with-agg \ --with-eppl \ --with-proj \ --with-threads \ --with-sde \ --with-geos \ --with-ogr \ --with-gdal \ --with-tiff=/usr/local \ --with-postgis \ --with-wfs \ --with-wcs \ --with-wmsclient \ --with-wfsclient \ --with-sos \ --with-fribidi-config \ --with-php=/usr/include/php5 \ --with-httpd=/usr/sbin/apache2 \ --with-gd make Error (on mapserver make) gcc -c -O2 -fPIC -Wall -DNEED_NONBLOCKING_STDERR -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_NONBLOCKING_STDERR -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_POSTGIS -DUSE_TIFF -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB -I/usr/include -I/usr/include/agg2 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include -I/usr/include/libxml2 mapraster.c -o mapraster.o mapraster.c: In function ?readGEOTiff?: mapraster.c:444: error: ?TIFFDirEntry? undeclared (first use in this function) mapraster.c:444: error: (Each undeclared identifier is reported only once mapraster.c:444: error: for each function it appears in.) mapraster.c:444: error: expected ?;? before ?tdir? mapraster.c:453: warning: pointer targets in passing argument 1 of ?TIFFSwabShort? differ in signedness mapraster.c:456: error: ?tdir? undeclared (first use in this function) make: *** [mapraster.o] Error 1 Without --with-tiff=/usr/local compiles fine. Any help would be appreciated. -- http://iap.md, The future is open From nelsonwc7 at hotmail.com Mon Jun 22 10:44:15 2009 From: nelsonwc7 at hotmail.com (Nelson Correia) Date: Mon, 22 Jun 2009 17:44:15 +0000 Subject: [mapserver-users] tilecache_clean.py cleaning more than expected In-Reply-To: <20090622131855.GA22033@metacarta.com> References: <20090622131855.GA22033@metacarta.com> Message-ID: Hi, I've sent it two times to tilecache at openlayers.org a few days ago, but it seems to never reached that mailing list... Nelson > Date: Mon, 22 Jun 2009 09:18:55 -0400 > To: nelsonwc7 at hotmail.com > CC: mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] tilecache_clean.py cleaning more than expected > From: crschmidt at metacarta.com > > On Mon, Jun 22, 2009 at 08:30:40AM +0000, Nelson Correia wrote: > > > > > > > > > > > > > > Hi all, > > > > I?m trying to keep my disk usage to about 500MB, but apparently tilecache_clean is freeing more space than what I?ve requested: > > > > # du -s -h /data/TILES > > 782M /data/TILES > > > > # python /apps/tilecache2.10/tilecache_clean.py -s 500 /data/TILES > > Cache entries found: 13040 > > Removed 12644 files. > > > > # du -s -h /data/TILES > > 73M /data/TILES > > > > Anyone knows why is this happening? > > Please send this message to the tilecache mailing list. > > Regards, > -- > Christopher Schmidt > MetaCarta _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From warmerdam at pobox.com Mon Jun 22 10:49:48 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon, 22 Jun 2009 13:49:48 -0400 Subject: [mapserver-users] Compiling mapserver with custom libtiff and libgeotiff In-Reply-To: <2a37f67a0906221039ob10dfc6w8dec70bb20af354b@mail.gmail.com> References: <2a37f67a0906221039ob10dfc6w8dec70bb20af354b@mail.gmail.com> Message-ID: <4A3FC43C.6070708@pobox.com> Pavel Iacovlev wrote: > Good day all, > > Os: Ubuntu 8.04 > > I need bigtiff support in mapserver (default version in ubuntu 8.04 > does not offer this). ... > Without --with-tiff=/usr/local compiles fine. > > Any help would be appreciated. Pavel, The built-in tiff support in mapserver does not appear to work with the latest tiff library and it is not well maintained. Normally you should build GDAL with libtiff4 to get bigtiff support. The internal libtiff in GDAL includes this so building it --with-libtiff=internal --with-libgeotiff=internal should do the trick. Then you will need to rebuild MapServer to use your new local GDAL build. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From wendell at enflight.com Mon Jun 22 10:54:13 2009 From: wendell at enflight.com (Wendell Turner) Date: Mon, 22 Jun 2009 10:54:13 -0700 Subject: [mapserver-users] clipping symbols at tile boundary? In-Reply-To: <4A3F6A86.8000907@dmsolutions.ca> References: <20090618235924.GA12007@q.rho.net> <10c201c9f089$692332b0$3b699810$@com> <1245650443695-3131305.post@n2.nabble.com> <4A3F6A86.8000907@dmsolutions.ca> Message-ID: <20090622175413.GA26027@q.rho.net> Thanks. The gutter parameter seems to fix the symbols, and the symbol labels, but the labels on lines are still chopped. The labelcache_map_edge_buffer didn't seem to work. For now I'll just use 'singleTile: true', and take the (non-tiled) performance hit. On Mon, Jun 22, 2009 at 07:27:02AM -0400, Christy Nieman wrote: > Hi, > > You can put "labelcache_map_edge_buffer" "-10" in the WEB block metadata. > This will ensure that no labels are drawn within 10 pixels of a tile > boundary (you can change the value to increase or decrease the buffer zone) > > E.g.: > MAP > ... > WEB > METADATA > "labelcache_map_edge_buffer" "-10" > END > ... > END > ... > END > > Christy > > BrainDrain wrote: >> OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help >> in this case. I didn't find solution how to avoid breaking labels while >> using gutter. I suppose the only one is to turn off gutter (prebuild OL map >> clone with no gutter) on scales when symbols are turned off (if symbols are >> visible in large scales then labels uses large font size and gutter works >> fine with labels). >> >> Aaron Racicot wrote: >> >>> Wendell, >>> >>> Look at 'gutter' in OpenLayers. It will allow you to get tiles slightly >>> larger from your Mapserver WMS to get rid of some of the artifacts: >>> >>> http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay >>> er.gutter >>> >>> Hope that helps... >>> >>> Aaron >>> >>> -------------------------- >>> Aaron Racicot >>> Z-Pulley Inc. >>> >>> >>> -----Original Message----- >>> From: mapserver-users-bounces at lists.osgeo.org >>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wendell >>> Turner >>> Sent: Thursday, June 18, 2009 4:59 PM >>> To: mapserver-users at lists.osgeo.org >>> Subject: [mapserver-users] clipping symbols at tile boundary? >>> >>> (this must be basic, but here goes anyway...) >>> >>> I'm using Mapserver 5.2 with OpenLayers 2.7. I have a >>> vector mapserver layer with point objects (shown with circle >>> symbols) on it. The vector layer referenced via >>> OpenLayers.Layer.WMS and is tiled. >>> >>> The circles are displayed in the tile that the center is on, >>> but not the adjacent tiles. That is, if a circle is near >>> the edge, part of the circle is chopped off. >>> >>> Is that what 'BUFFER 10' fixes? What about 'PARTIALS >>> FALSE'? That seems to be just for labels, but that only >>> shows the label when it completely lies within the tile. >>> Do I need to turn off tiling completely? >>> >>> Thanks, >>> >>> Wendell >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From pauljame at gmail.com Mon Jun 22 14:02:33 2009 From: pauljame at gmail.com (Paul james) Date: Mon, 22 Jun 2009 18:02:33 -0300 Subject: [mapserver-users] Querying map using CGI ... Message-ID: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> Hello guys, I pretty lost with CGI... Using mapscript, I can get query results with functions queryByPoint and queryByRect... How can I do that in CGI mode? Thanks Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Mon Jun 22 14:29:09 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 22 Jun 2009 16:29:09 -0500 Subject: [mapserver-users] Querying map using CGI ... In-Reply-To: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> Message-ID: <4A3FB155.5157.008F.0@dnr.state.mn.us> Querying is controlled via the mode parameter. Mode=query does a point query returning at most 1 result in one layer. Mode=nquery allows you to query multiple layers and return multiple results from either a point or a rect. MapServer looks at the various additional supplied parameters to decide whether to do a point or rect query. For example, this url will drop a point through all queryable layers that have status DEFAULT (since I'm not explicitly turning anything on) http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapxy=x+y&mode=nquery and this will do a bbox query: http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapext=minx+miny+maxx+maxy&mode=nquery You can turn layers on with the layer or layers parameters and can restrict queries to one layer (if necessary) using qlayer. mode=query ~ queryByPoint with MS_SINGLE mode=nquery ~ queryByPoint with MS_MULTIPLE or queryByRect The qlayer parameter has the effect of running the query methods on a layerObj while without it you're running on the whole mapObj. Does this help? Steve >>> On 6/22/2009 at 4:02 PM, in message <33fad6880906221402qde8375bj252c48b367d7eb4d at mail.gmail.com>, Paul james wrote: > Hello guys, I pretty lost with CGI... > Using mapscript, I can get query results with functions queryByPoint and > queryByRect... > How can I do that in CGI mode? > > Thanks > > Paul From szekerest at gmail.com Mon Jun 22 15:09:12 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Tue, 23 Jun 2009 00:09:12 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Stela, By using my latest binaries I've found that mapserv.exe is hanging right after returning the image to the browser. This problem is possibly caused by some breaking changes in geos 3-1, since geos 3-0 seems to be working correctly. Would you test your application by using geos 3-0? I'd be curious to know whether this problem is the same as yours, or not. If you can't compile geos-3-0 then here is the dll compiled with MSVC2008. http://vbkto.dyndns.org:1280/tests/geos_c.zip Best regards, Tamas -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Mon Jun 22 15:11:26 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Mon, 22 Jun 2009 18:11:26 -0400 Subject: [mapserver-users] Mapserver 5.4.1 for MS4W?? In-Reply-To: <4A3CED5E.3060106@swoodbridge.com> References: <4A3BE044.30407@swoodbridge.com> <4A3C0547.5060402@gatewaygeomatics.com> <4A3C0F7B.3050003@swoodbridge.com> <2922382e0906200121n132d4f0brb0561955ab2fed2a@mail.gmail.com> <4A3CED5E.3060106@swoodbridge.com> Message-ID: <4A40018E.9000002@swoodbridge.com> Problem resolved. This was a weird one in my book. I turns out that the mapfile got corrupted somehow. The mapfile was good on my linux system it was zipped up and sent to the windows system. We had to edit the SHAPEPATH, FONTSET and SYMBOLSET values in wordpad. Somewhere along the line 5 random characters in the mapfile got corrupted. Below is the good mapfile from my linux system that worked. On the windows version the SIZE 12 got changed to SIZE ?2 Any after spending all day transferring my build stuff to the windows server and getting it to build there I finally got a working mapserv.exe based on 5.4.1 and it generated the same error below. Since I was logged into the Windows box, I was decided to edit the mapfile to work around the problem, and noticed the corrupted line. Fixed it and reran the test ... four more times fixing additional corrupt lines and it finally worked, 5 minutes before the box had to be powered down and moved to the coloc center. So I didn't get a change to retest with ms4w and mapserver-5.4.0-RC2 with the repaired mapfile and won't have a chance before next week sometime if I can get access then. So on a side note, I have some questions about building stuff on windows if anyone with knowledge would like to contact me off list, I would appreciate the chance for a few questions. Thanks, -Steve Stephen Woodbridge wrote: > Thomas Bonfort wrote: >>> loadLabel(): Unknown identifier. Parsing error near (2):(line 407) >>> >>> Which I believe is because Thomas added some rendering features that I'm >>> using after 5.4.0-RC2. >> >> what's on line 407 in your mapfile? I don't think there are any >> keywords I added since the 5.4 release process started. >> >> -- >> thomas > > Thomas, > > CLASS > EXPRESSION /C/ > MAXSCALEDENOM 50100 > STYLE > WIDTH 14 > OUTLINECOLOR "#B7AC9A" > OUTLINEWIDTH 1 > MINWIDTH 1.5 > MAXWIDTH 12 > END > STYLE > WIDTH 14 > COLOR "#ffffbc" > MINWIDTH 1.5 > MAXWIDTH 12 > END > LABEL > MAXSCALEDENOM 30000 > TYPE TRUETYPE FONT "arial" SIZE 12 COLOR "#000000" PARTIALS > FALSE OUTLINEWIDTH 3 #### Line: 407 > ANGLE FOLLOW > OUTLINECOLOR "#ffffbc" > PRIORITY 3 > MINSIZE 7 > MAXSIZE 10 > MINDISTANCE 200 > MINFEATURESIZE 20 > END > END > > I was thinking the OUTLINEWIDTH and OUTLINECOLOR were new, but I could > be mistaken. I'm not sure when these were added, anyway the above works > fine in Linux and only through this error when I moved stuff over to > Windows. > > I have just build my own mapserver using VS2008 Express based on 4.5.1 > and I'm waiting for the client to download that and test it. I'll also > move the data and applications over to my Windows box and try to > reproduce in my own environment if I have time this weekend. > > -Steve > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From stelaanders at gmail.com Thu Jun 18 12:43:56 2009 From: stelaanders at gmail.com (stela anders) Date: Thu, 18 Jun 2009 16:43:56 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Hi guys! I got that binary now : http://vbkto.dyndns.org:1280/sdk/release-1500-gdal-mapserver.zip Same error Tamas... System : Windows XP / IIS 5.1 Using Postgis as datasourse... I made a package with : - Mapfile - Postgis data - Html You only need OL js to tryout... Or you can try typing : http://localhost/cgi-binx/mapserv.exe?map=map.map The error is : ---- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: --- Using version 5.2.2 all works fine... Stela 2009/6/18 Tamas Szekeres > Hi, > > Some of the guys reported issues with mapserver 5.4+ in normal CGI mode > (FastCGI was reported ok) but I couldn't reproduce it myself so it would be > helpful if someone could describe the steps (and provide mapfiles/sample > data) to check it out. > You could also test with the binaries provided from here which appears to > be working ok. > > http://vbkto.dyndns.org:1280/sdk/Default.aspx > > > > Best regards, > > Tamas > > > 2009/6/18 stela anders > >> Hey guys ! >> That?s my first message here... (I?m from Argentina, sorry about my bad >> English) >> >> Is there any bug on Mapserver 5.4 CGI ? >> We have a full application using Mapserver 5.2 CGI on Windowns 2003/IIS >> ... We tried to update to newest version 5.4 and got a CGI error ... >> Is there any FAQ to upgrade ? Or maybe is it a bug? >> >> Stela >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestCGI.rar Type: application/octet-stream Size: 86546 bytes Desc: not available URL: From stelaanders at gmail.com Mon Jun 22 10:09:55 2009 From: stelaanders at gmail.com (stela anders) Date: Mon, 22 Jun 2009 14:09:55 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Log: 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: Open Access: 001000A1 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: Open Access: 00100001 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileInternalInformation 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A 13:45:38 inetinfo.exe:5544 DIRECTORY C:\Mapserver\cg-binx\ SUCCESS FileBothDirectoryInformation: mapserv.exe 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 13:45:38 inetinfo.exe:5544 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT FOUND Options: Open Access: 00100001 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT FOUND Options: Open Access: Read 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\ SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\WSOCK32.dll NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\WS2_32.dll NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\WS2HELP.dll NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\SHFOLDER.dll NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\ODBC32.dll NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: WINDOWS 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: WinSxS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS FileBothDirectoryInformation: MSVCR90.dll 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS Length: 617472 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS Length: 8491008 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: Error 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Attributes: D 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Options: Open Directory Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Length: 1054208 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: Read 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Length: 98304 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access: 00100020 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH NOT FOUND Options: Open Access: Read 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: Open Access: Read 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\ SUCCESS FileNameInformation 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\Mapserver\cg-binx\map.map SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map SUCCESS Offset: 0 Length: 8192 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF FILE Offset: 590 Length: 4096 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF FILE Offset: 590 Length: 8192 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\gdalplugins\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation: * 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ NO MORE FILES FileBothDirectoryInformation 13:45:38 mapserv.exe:1012 CLOSE C:\MapServer\gdalplugins\ SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: Open Access: 001000A1 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileInternalInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileNameInformation 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: WINDOWS 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open Directory Access: 00100001 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: system32 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 13:45:38 mapserv.exe:1012 QUERY INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT FOUND Options: Open Access: 001200A9 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT FOUND Options: Open Access: 00100001 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS 13:45:38 vsjitdebugger.e:5636 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe BUFFER OVERFLOW FileNameInformation 13:45:38 vsjitdebugger.e:5636 QUERY INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT FOUND Options: Open Access: Read 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT FOUND Options: Open Access: 00100001 -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Mon Jun 22 15:04:38 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Tue, 23 Jun 2009 00:04:38 +0200 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Stela, By using my latest binaries I've found that mapserv.exe is hanging right after returning the image to the browser. This problem is possibly caused by some breaking changes in geos 3-1, since geos 3-0 seems to be working correctly. Would you test your application by using geos 3-0? I'd be curious to know whether this problem is the same as yours, or not. If you can't compile geos-3-0 then here is the dll compiled with MSVC2008. http://vbkto.dyndns.org:1280/tests/geos_c.zip Best regards, Tamas 2009/6/22 stela anders > Log: > > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: > Open Access: 001000A1 > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: > Open Access: 00100001 > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileInternalInformation > 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A > 13:45:38 inetinfo.exe:5544 DIRECTORY C:\Mapserver\cg-binx\ SUCCESS FileBothDirectoryInformation: > mapserv.exe > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 > 13:45:38 inetinfo.exe:5544 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT > FOUND Options: Open Access: Read > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\ SUCCESS Options: Open > Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\WSOCK32.dll NOT FOUND Attributes: Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\WS2_32.dll NOT FOUND Attributes: Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\WS2HELP.dll NOT FOUND Attributes: Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\SHFOLDER.dll NOT FOUND Attributes: Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\ODBC32.dll NOT FOUND Attributes: Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Attributes: > A > 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory Access: > 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: > WINDOWS > 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open Directory > Access: 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: > WinSxS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS Options: > Open Directory Access: 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS FileBothDirectoryInformation: > MSVCR90.dll > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: > Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS Length: 617472 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: > Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS Length: 8491008 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: > Error > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Attributes: > D > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Options: > Open Directory Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Length: > 1054208 > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: Read > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Length: 98304 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: > Open Access: 00100020 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH NOT > FOUND Options: Open Access: Read > 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: > Open Access: Read > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\ SUCCESS FileNameInformation > 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\Mapserver\cg-binx\map.map SUCCESS FileInternalInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS > 13:45:38 mapserv.exe:1012 READ > C:\Mapserver\cg-binx\map.map SUCCESS Offset: 0 Length: 8192 > 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF > FILE Offset: 590 Length: 4096 > 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF > FILE Offset: 590 Length: 8192 > 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\gdalplugins\ SUCCESS Options: > Open Directory Access: 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation: > * > > 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation > 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ NO MORE > FILES FileBothDirectoryInformation > 13:45:38 mapserv.exe:1012 CLOSE C:\MapServer\gdalplugins\ SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: > Open Access: 001000A1 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: > Open Access: 00100001 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileInternalInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileNameInformation > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A > 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory Access: > 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: > WINDOWS > 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open Directory > Access: 00100001 > 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: > system32 > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 > 13:45:38 mapserv.exe:1012 QUERY > INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT > FOUND Options: Open Access: 00100001 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT > FOUND Options: Open Access: 001200A9 > 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT > FOUND Options: Open Access: 00100001 > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS > 13:45:38 vsjitdebugger.e:5636 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe BUFFER > OVERFLOW FileNameInformation > 13:45:38 vsjitdebugger.e:5636 QUERY > INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > > 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS > 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT > FOUND Options: Open Access: Read > 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT > FOUND Options: Open Access: 00100001 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From schatterjee at addisontx.gov Mon Jun 22 14:51:12 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 22 Jun 2009 16:51:12 -0500 Subject: [mapserver-users] error in opening mapfile Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15A6@sc-exchange.addisongov.org> Hi all! I have just started with Mapserver. I have installed the Mapserver from ms4w. The map server and Apache server is running. I have also downloaded the Itasca application and copied in the htdocs folder under Apache. But my problem is I am not able to see the map. It is generating the error message : msLoadMap(): Unable to access file. (/mapservdemo/workshop/itasca.map) I have changed the required IMAGEPATH and IMAGEURL and the hidden variables in the index.html file which is shown below: MapServer Itasca Application

MapServer Itasca Application (ms v5.0)


This demonstration application will take you through various levels of complexity. Starting with a basic application that allows a user to pan/zoom and change layers we add:

  • dynamically configured scalebars
  • javascript-based panning
  • query results to a frame
  • and finally, a DHTML rubber-band zoom/query capabilty
The base data is the old-reliable Itasca dataset that we know and love...


This site running MapServer v. 5.0
The itasca.map file is as below: # # Start of map file # MAP NAME ITASCA STATUS ON SIZE 600 600 EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897 UNITS METERS SHAPEPATH "C:\ms4w\Apache\htdocs\mapservdemo\workshop\data" IMAGECOLOR 255 255 255 TEMPLATEPATTERN "itasca" IMAGETYPE PNG # # Projection definition, consult the PROJ.4 documentation for parameter discussion # # PROJECTION # "proj=utm" # "ellps=GRS80" # "zone=15" # "north" # "no_defs" # # OR: # # "init=epsg:26915" # END # # Start of symbol definitions (we're only using a few) # SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END SYMBOL NAME 'star' TYPE VECTOR FILLED TRUE POINTS 0 .375 .35 .375 .5 0 .65 .375 1 .375 .75 .625 .875 1 .5 .75 .125 1 .25 .625 END END # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER templates/header.html TEMPLATE "set in index.html" FOOTER templates/footer.html MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "c:/webdevdata/ms_tmp" IMAGEURL "/ms_tmp/" METADATA WMS_TITLE "UMN MapServer Itasca Demo" WMS_ABSTRACT "This is a UMN MapServer application for Itasca County located in north central Minnesota." WMS_ACCESSCONSTRAINTS "none" # change this value to match your setup WMS_ONLINERESOURCE "http://localhost/mapservdemo/workshop/index.html" WMS_SRS "EPSG:26915" END END # # Start of reference map # REFERENCE IMAGE graphics/reference.png EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127 SIZE 120 120 STATUS ON MINBOXSIZE 5 MAXBOXSIZE 100 COLOR 255 0 0 OUTLINECOLOR 0 0 0 MARKERSIZE 8 MARKER 'star' END # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 0 0 0 LABEL COLOR 255 255 255 SIZE TINY END STYLE 1 SIZE 100 2 COLOR 255 255 255 UNITS MILES INTERVALS 1 TRANSPARENT TRUE STATUS ON END # # Start of layer definitions # LAYER NAME drgs TYPE RASTER STATUS OFF # OFFSITE 31 OFFSITE 252 252 252 CLASS NAME 'Digital Raster Graphic' KEYIMAGE graphics/drgs_keyimage.png END METADATA WMS_TITLE "USGS 1:250,000 Digital Raster Graphic" WMS_ABSTRACT "Hibbing and Bemidji quadrangles. See http://deli.dnr.state.mn.us/metadata/full/drgncim1.html for more information." WMS_SRS "EPSG:26915" END TILEINDEX drgidx END LAYER NAME ctybdpy2 TYPE POLYGON STATUS DEFAULT DATA ctybdpy2 # no need for a background IF the USGS quads are being drawn REQUIRES "![drgs]" CLASSITEM 'cty_name' CLASS EXPRESSION 'Itasca' STYLE OUTLINECOLOR 128 128 128 COLOR 225 225 185 END END CLASS # every other county in the state EXPRESSION /./ STYLE OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END METADATA WMS_TITLE "County Boundary" WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information." WMS_SRS "EPSG:26915" END END LAYER NAME mcd90py2 GROUP cities TYPE POLYGON DATA mcd90py2 STATUS OFF CLASSITEM city_name CLASS NAME "Cities & Towns" EXPRESSION /./ STYLE COLOR 255 225 90 END TEMPLATE "templates/mcd90py2.html" END HEADER "templates/mcd90py2_header.html" FOOTER "templates/mcd90py2_footer.html" DUMP TRUE # allow GML export METADATA WMS_TITLE "Minor Civil Divisions" WMS_ABSTRACT "Minor civil divisions for Itasca County (boundaries only)." WMS_SRS "EPSG:26915" END END LAYER NAME twprgpy3 TYPE POLYGON DATA twprgpy3 STATUS OFF CLASS NAME 'Townships' STYLE SYMBOL 'circle' SIZE 2 OUTLINECOLOR 181 181 145 END END METADATA WMS_TITLE "Township Boundaries" WMS_ABSTRACT "Pulic Land Survey (PLS) township boundaries for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/twprgne2.html for more information." WMS_SRS "EPSG:26915" END END LAYER NAME lakespy2 TYPE POLYGON STATUS OFF DATA lakespy2 CLASS NAME 'Lakes & Rivers' TEMPLATE "templates/lakespy2.html" STYLE COLOR 49 117 185 END END HEADER "templates/lakespy2_header.html" FOOTER "templates/lakespy2_footer.html" TOLERANCE 3 DUMP TRUE # allow GML export METADATA WMS_TITLE "Lakes and Rivers" WMS_ABSTRACT "DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information." WMS_SRS "EPSG:26915" END END # lakes LAYER NAME dlgstln2 TYPE LINE STATUS OFF DATA dlgstln2 CLASS NAME "Streams" TEMPLATE "templates/dlgstln2.html" STYLE COLOR 49 117 185 END END HEADER "templates/dlgstln2_header.html" FOOTER "templates/dlgstln2_footer.html" TOLERANCE 5 DUMP TRUE # allow GML export METADATA WMS_TITLE "Streams" WMS_ABSTRACT "DLG streams for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlgstln2.html for more information." WMS_SRS "EPSG:26915" END END # streams LAYER NAME ctyrdln3 GROUP roads MAXSCALE 300000 STATUS OFF DATA ctyrdln3 TYPE LINE CLASS STYLE COLOR 0 0 0 END END METADATA WMS_TITLE "County Roads" WMS_ABSTRACT "County roads (lines only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # county roads LAYER NAME ctyrdln3_anno GROUP roads MAXSCALE 300000 STATUS OFF DATA ctyrdln3 TYPE ANNOTATION LABELITEM "road_name" CLASS STYLE COLOR 255 255 255 SYMBOL 'symbols/ctyhwy.png' END LABEL MINFEATURESIZE 40 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END METADATA WMS_TITLE "County Roads" WMS_ABSTRACT "County roads (shields only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # county road annotation LAYER NAME majrdln3 GROUP roads MAXSCALE 600000 STATUS OFF DATA majrdln3 TYPE LINE CLASS NAME "Roads" STYLE COLOR 0 0 0 END END METADATA WMS_TITLE "Highways" WMS_ABSTRACT "Highways- state, US and interstate (lines only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # highways LAYER NAME majrdln3_anno GROUP roads MAXSCALE 600000 STATUS OFF DATA majrdln3 TYPE ANNOTATION LABELITEM "road_num" CLASSITEM "road_class" CLASS EXPRESSION "3" STYLE COLOR 0 0 0 # dummy color SYMBOL 'symbols/sthwy.png' END LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END CLASS EXPRESSION "2" STYLE COLOR 0 0 0 # dummy color SYMBOL 'symbols/ushwy.png' END LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END CLASS EXPRESSION "1" STYLE COLOR 0 0 0 # dummy color SYMBOL 'symbols/interstate.png' END LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 255 255 255 END END METADATA WMS_TITLE "Highways" WMS_ABSTRACT "Highways- state, US and interstate (shields only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # highway annotation LAYER NAME airports TYPE POINT DATA airports STATUS OFF CLASS NAME 'Airports' STYLE COLOR 128 255 164 SYMBOL 'circle' SIZE 7 END TEMPLATE "templates/airports.html" END HEADER "templates/airports_header.html" FOOTER "templates/airports_footer.html" TOLERANCE 5 METADATA WMS_TITLE "Airports" WMS_ABSTRACT "Airport runways for Itasca County." WMS_SRS "EPSG:26915" END END LAYER NAME mcd90py2_anno GROUP cities TYPE ANNOTATION DATA mcd90py2 STATUS OFF LABELITEM "city_name" CLASSITEM "city_name" LABELMAXSCALE 500000 CLASS EXPRESSION /./ LABEL COLOR 0 0 0 SHADOWCOLOR 218 218 218 SHADOWSIZE 2 2 TYPE BITMAP SIZE MEDIUM POSITION CC PARTIALS FALSE BUFFER 2 END END METADATA WMS_TITLE "Minor Civil Divisions" WMS_ABSTRACT "Minor civil divisions for Itasca County (annotation only)." WMS_SRS "EPSG:26915" END END END # Map File I have also changed my httpd.conf file by including the following lines: Alias /ms_tmp/ "c:/webdevdata/ms_tmp/" AllowOverride None Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all But I am still receiving the same error. When I am trying to display the Itasca.map file in the browser as below http://127.0.0.1/cgi-bin/mapserv.exe?map="c:\ms4w\Apache\htdocs\mapservd emo\workshop\itasca.map " I am getting an error message msEvalRegex(): Regular expression error. String ("c:\ms4w\Apache\htdocs\mapservdemo\workshop\itasca.map") failed expression test. But I can open the map file in text form in the browser without the mapserver. I have no idea of what is going wrong? Any help in this regard is welcome. Thanks Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From khayer117 at yahoo.com Tue Jun 23 00:44:17 2009 From: khayer117 at yahoo.com (abul khayer) Date: Tue, 23 Jun 2009 00:44:17 -0700 (PDT) Subject: [mapserver-users] New Map Viewer using Mapserver Message-ID: <504726.57806.qm@web45410.mail.sp1.yahoo.com> I have developed a GIS map viewer using Mapserver. This tools is easy to customize and integration with existing application. I hope that it will help new mapserver developers. click here or http://tinyurl.com/bdmapper ....................................... Md. Abul Khayer GIS Programmer CEGIS (www.cegisbd.com), Bangladesh Cell: +8801730019572 Blog: khayer.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at ci.faniq.com Tue Jun 23 02:05:20 2009 From: noreply at ci.faniq.com (Syedmohseen K) Date: Tue, 23 Jun 2009 05:05:20 -0400 (EDT) Subject: [mapserver-users] syedmohseen56@gmail.com has sent you a private message Message-ID: <20090623090520.27A85E01881@lists.osgeo.org> An HTML attachment was scrubbed... URL: From szekerest at gmail.com Tue Jun 23 02:25:09 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Tue, 23 Jun 2009 11:25:09 +0200 Subject: [mapserver-users] New Map Viewer using Mapserver In-Reply-To: <504726.57806.qm@web45410.mail.sp1.yahoo.com> References: <504726.57806.qm@web45410.mail.sp1.yahoo.com> Message-ID: Hi, On the page you have referred I can read the following statement: "All the time I am waiting for a Mapserver framework to work like .NET component. Unfortunately most of the Mapserver developer are very high skill, so they can not realize my simple requirement." I just wanted to let you know MapServer does have a working .NET interface for 4 years, the related files are incorporated in the ms4w and FWTools binary distributions, and you could also download the cutting edge Windows packages of the current MapServer development and stable branches for various compiler/architecture combinations from this location: http://vbkto.dyndns.org:1280/sdk/Default.aspx Best regards, Tamas 2009/6/23 abul khayer > I have developed a GIS map viewer using Mapserver. This tools is easy to > customize and integration with existing application. I hope that it will > help new mapserver developers. > > click here > or > http://tinyurl.com/bdmapper > > > ....................................... > Md. Abul Khayer > GIS Programmer > CEGIS (www.cegisbd.com), Bangladesh > Cell: +8801730019572 > Blog: khayer.wordpress.com > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Tue Jun 23 06:06:01 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 23 Jun 2009 08:06:01 -0500 Subject: [mapserver-users] Re: [UMN_MAPSERVER-USERS] Problem: ANGLEITEM andTRANSPARENT Message-ID: <4A408CEA0200008F000254A5@co5.dnr.state.mn.us> I went back to the tickets and found this one: http://trac.osgeo.org/mapserver/ticket/2391 There are notes at the end of the ticket that gd 2.0.36 had some changes in it to specifically address the problem. Please try upgrading and see what happens. Steve >>> Oliver Wesp 06/22/09 9:42 AM >>> Dear List, I'm facing the same problems adressed in the messages below regarding the transpareny of pixmap symbols. Pixmap symbols lose their transparency after rotation or resizing with ANGLE or SIZE parameter. I'm working with mapserver 5.4.0 and gd 2.0.32. Is anybody aware of this problem? Was this fixed with later versions of GD? Any help is appreciated. best regards, Oliver On Wed, May 31, 2006 at 4:04 PM, Steve Lime wrote: > As a follow up. The patch was not as complete as I hoped. I worked on the > problem until late last night but did not end up committing anything- still > working on it though. > > Steve > > >>> Steve Lime 05/30/06 1:01 PM >>> > Christian: The problem seems to be in GD. Transparency is lost after > rotation and I've tried a variety of methods > to rebuild it post rotation and it simply doesn't work. That said, the > folks have MapMedia have submitted a new > image rotation function that should fix the issue and some others with > resampling method. I need to integrate > that into the development version for testing. I will do that tonite... > > Steve > > >>> Christian Wilmes 5/30/2006 8:11:39 AM >>> > Hi All, > > I'm trying to visualize point-data with the mapserver. As symbol I'm using > a transparent PIXMAP. Now I want to use ANGLEITEM in the STYLE-Object, > ANGLEITEM itself is working fine, but using it causes the lost of the > transperency. Instead of the parameter TRANSPARNZ in the SYMBOL-Object I > also tried it with a gif and a png which has already a transparent > background. The result is the same, without ANGLEITEM it works fine but > without it doesn't. > > Does anybody have an idea how to fix that problem? > > Best Regards > Christian > -- > > > Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! > Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer > > From David.Fawcett at state.mn.us Tue Jun 23 06:46:43 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 23 Jun 2009 08:46:43 -0500 Subject: [mapserver-users] Help Needed - MS4W, Tikiwiki and Vista In-Reply-To: Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F0@s-sp22.pca.state.mn.us> You could also try writing it like: /xampp/htdocs/tw/map/images/ This should work fine on a Windows system if the path is correct. David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka Sent: Monday, June 22, 2009 10:24 AM To: Arpit Deomurari; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Help Needed - MS4W, Tikiwiki and Vista Hi, Maybe IMAGEPATH should be like IMAGEPATH D:\xampp\htdocs\tw\map\images\ Mapfile reference at http://www.mapserver.org/mapfile/web.html tells: "IMAGEPATH [path] Path to the temporary directory fro writing temporary files and images. Must be writable by the user the web server is running as. Must end with a / or depending on your platform." There is really "Must end with a / or depending", I suppose it should be "end with a / or \". -Jukka Rahkonen- Arpit Deomurari wrote: Dear Friends... I'm trying to use tikiwiki as a GeoCMS on MS4W on windows(Vista) Platform... I have configured Mapserver 5.4.0 RC2 on XAMPP Platform and it's working perfectly standalone... But when I use with tikiwiki map module I get this error.... Can Some one help me in solving this error..... *An error as occured with the mapfile: world.map [MapServer Error]: loadWeb(): Parsing error near (:):(line 33) * * # WEB TEMPLATE D:\xampp\htdocs\tw\map\map.html --> IMAGEPATH D:\xampp\htdocs\tw\map\images IMAGEURL /map/images METADATA VIEW1 "Australia,117.500594119,-34.8753753754,165.037355881,-3.2087087087" VIEW2 "Fiji,165.704315901,-24.5147748593,201.374684099,-0.76477485929"* -- Arpit Deomurari Naturalist And Birder...... "AVANI" Anand Colony Road No-1 Nr. "Gurukrupa", Opp. "Rushi" Apartment, Vikasgruh Road, Jamnagar - 361008 Gujarat(INDIA) E-Mail:- deomurari at gmail.com arpit at waders.in Web site: http://www.waders.in http://indianaturewatch.net/view_cat.php?tag=Arpit%20Deomurari http://www.flickr.com/photos/deomurari Mobile No.:- +91-9426442243 (Mobile) I Believe In God, Only spell It Nature ******************************************* One should not have a job, career or profession- only a hobby, passion and a cause Please consider your environmental responsibility before printing this e-mail - Save paper. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From stelaanders at gmail.com Tue Jun 23 07:06:44 2009 From: stelaanders at gmail.com (stela anders) Date: Tue, 23 Jun 2009 11:06:44 -0300 Subject: [mapserver-users] Re: Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Great Tamas! Worked now... You found the problem! Congrats! :* Stella -------------- next part -------------- An HTML attachment was scrubbed... URL: From stelaanders at gmail.com Tue Jun 23 07:04:14 2009 From: stelaanders at gmail.com (stela anders) Date: Tue, 23 Jun 2009 11:04:14 -0300 Subject: [mapserver-users] Mapserver CGI 5.4 crashed my app (Windows 2003) In-Reply-To: References: Message-ID: Great Tamas! Worked now... You found the problem! Congrats! :* Stella 2009/6/22 Tamas Szekeres > Stela, > > By using my latest binaries I've found that mapserv.exe is hanging right > after returning the image to the browser. This problem is possibly caused by > some breaking changes in geos 3-1, since geos 3-0 seems to be working > correctly. Would you test your application by using geos 3-0? I'd be curious > to know whether this problem is the same as yours, or not. > If you can't compile geos-3-0 then here is the dll compiled with MSVC2008. > > http://vbkto.dyndns.org:1280/tests/geos_c.zip > > Best regards, > > Tamas > > > > > 2009/6/22 stela anders > >> Log: >> >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: >> Open Access: 001000A1 >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileInternalInformation >> >> 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Attributes: A >> 13:45:38 inetinfo.exe:5544 DIRECTORY C:\Mapserver\cg-binx\ SUCCESS FileBothDirectoryInformation: >> mapserv.exe >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 >> 13:45:38 inetinfo.exe:5544 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS Length: 33792 >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 inetinfo.exe:5544 OPEN C:\Mapserver\cg-binx\mapserv.exe.Config NOT >> FOUND Options: Open Access: 00100001 >> >> 13:45:38 inetinfo.exe:5544 CLOSE C:\Mapserver\cg-binx\mapserv.exe SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\ >> MAPSERV.EXE-0B3170C2.pf NOT >> FOUND Options: Open Access: Read >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\Prefetch\ >> MAPSERV.EXE-0B3170C2.pf NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\ SUCCESS Options: Open >> Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libmap.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libmap.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libmap.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\zlib1.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\zlib1.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\zlib1.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\proj.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\proj.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\proj.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libxml2.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libxml2.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libxml2.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\WSOCK32.dll NOT FOUND Attributes: Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WSOCK32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WSOCK32.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WSOCK32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\WS2_32.dll NOT FOUND Attributes: Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2_32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WS2_32.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2_32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\WS2HELP.dll NOT FOUND Attributes: Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\WS2HELP.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\WS2HELP.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\WS2HELP.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\iconv.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\iconv.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\iconv.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libfcgi.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libfcgi.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libfcgi.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\pdflib.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\pdflib.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\pdflib.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\fribidi.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\fribidi.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\fribidi.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\LIBPQ.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\LIBPQ.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\SHFOLDER.dll NOT FOUND Attributes: Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHFOLDER.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\SHFOLDER.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHFOLDER.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\gdal17dev.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\gdal17dev.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\xerces-c_2_8.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\xerces-c_2_8.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libexpat.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libexpat.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libexpat.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\ODBC32.dll NOT FOUND Attributes: Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\ODBC32.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\sqlite3.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\sqlite3.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\sqlite3.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\geos_c.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\geos_c.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\geos_c.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\libcurl.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\libcurl.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\libcurl.dll.2.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.dll SUCCESS Attributes: >> A >> 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory >> Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: >> WINDOWS >> 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open >> Directory Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: >> WinSxS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS Options: >> Open Directory Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS FileBothDirectoryInformation: >> MSVCR90.dll >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\ SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Length: 110080 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\IMM32.DLL SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\IMM32.DLL SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\IMM32.DLL SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: >> Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\COMCTL32.dll SUCCESS Length: 617472 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\COMCTL32.dll.124.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\COMCTL32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: >> Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\SHELL32.dll SUCCESS Length: 8491008 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\SHELL32.dll.124.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\SHELL32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe.Local\ NOT FOUND Attributes: >> Error >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Attributes: >> D >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS Options: >> Open Directory Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Length: >> 1054208 >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Attributes: RHA >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: Read >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Manifest SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\WindowsShell.Manifest SUCCESS Length: 749 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\WindowsShell.Config NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WindowsShell.Manifest SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Length: 98304 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: >> Open Access: 00100020 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\odbcint.dll SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\odbcint.dll SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH >> NOT FOUND Options: Open Access: Read >> 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\proj\nad \proj_def.dat PATH >> NOT FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: >> Open Access: Read >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\ SUCCESS FileNameInformation >> 13:45:38 mapserv.exe:1012 OPEN C:\Mapserver\cg-binx\map.map SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\Mapserver\cg-binx\map.map SUCCESS FileInternalInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS >> 13:45:38 mapserv.exe:1012 READ >> C:\Mapserver\cg-binx\map.map SUCCESS Offset: 0 Length: 8192 >> 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF >> FILE Offset: 590 Length: 4096 >> 13:45:38 mapserv.exe:1012 READ C:\Mapserver\cg-binx\map.map END OF >> FILE Offset: 590 Length: 8192 >> 13:45:38 mapserv.exe:1012 CLOSE C:\Mapserver\cg-binx\map.map SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\MapServer\gdalplugins\ SUCCESS Options: >> Open Directory Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation: >> * >> >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ SUCCESS FileBothDirectoryInformation >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\MapServer\gdalplugins\ NO MORE >> FILES FileBothDirectoryInformation >> 13:45:38 mapserv.exe:1012 CLOSE C:\MapServer\gdalplugins\ SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: >> Open Access: 001000A1 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Options: >> Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileInternalInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS FileNameInformation >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Attributes: A >> 13:45:38 mapserv.exe:1012 OPEN C:\ SUCCESS Options: Open Directory >> Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: >> WINDOWS >> 13:45:38 mapserv.exe:1012 CLOSE C:\ SUCCESS >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\ SUCCESS Options: Open >> Directory Access: 00100001 >> 13:45:38 mapserv.exe:1012 DIRECTORY C:\WINDOWS\ SUCCESS FileBothDirectoryInformation: >> system32 >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\ SUCCESS >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 >> 13:45:38 mapserv.exe:1012 QUERY >> INFORMATION C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS Length: 228872 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Manifest NOT >> FOUND Options: Open Access: 00100001 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT >> FOUND Options: Open Access: 001200A9 >> 13:45:38 mapserv.exe:1012 OPEN C:\WINDOWS\system32\vsjitdebugger.exe.Config NOT >> FOUND Options: Open Access: 00100001 >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\system32\vsjitdebugger.exe SUCCESS >> 13:45:38 vsjitdebugger.e:5636 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe BUFFER >> OVERFLOW FileNameInformation >> 13:45:38 vsjitdebugger.e:5636 QUERY >> INFORMATION C:\Mapserver\cg-binx\mapserv.exe SUCCESS FileNameInformation >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83 SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> >> 13:45:38 mapserv.exe:1012 CLOSE C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e SUCCESS >> 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT >> FOUND Options: Open Access: Read >> 13:45:38 svchost.exe:860 OPEN C:\WINDOWS\Prefetch\MAPSERV.EXE-0B3170C2.pf NOT >> FOUND Options: Open Access: 00100001 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Johann.online at gmx.de Tue Jun 23 07:28:44 2009 From: Johann.online at gmx.de (Johannes Sommer) Date: Tue, 23 Jun 2009 16:28:44 +0200 Subject: [mapserver-users] Charset problems with GetFeatureInfo-Request Message-ID: <20090623142844.265610@gmx.net> Hi everyone, I'm getting wrong characters (german umlauts) when I send a GetFeatureInfo-Request. It looks like Mapserver treats the data as encoded in UTF-8. Example (plain text): ------------------------ GetFeatureInfo results: Layer 'Test' Feature 158: NAME = 'Ehrenb??rg und Katzenk??pfe' ------------------------ The attribut content should be: 'Ehrenb?rg und Katzenk?pfe' I assume (that's what the Capabilities-document tells me) that Mapserver's default charset is ISO-8859-1. System: - Debian Etch(iso-8859-1) - Apache2 (iso-8859-1) - Mapserver 5.4.1 (?) - Oracle 10.2 (GERMAN_GERMANY.WE8MSWIN1252) - NLS_LANG=GERMAN_GERMANY.WE8MSWIN1252 - ArcSDE 9.2 Is Mapserver aware of the oracle system variable NLS_LANG when connecting to ArcSDE? When I connect through SQLPlus to the database, there is no charset problem, because SQLPlus depends on NLS_LANG. Changing the NLS_LANG variable didn't change the result of GetFeatureInfo in my tests. I read about the thread of Russel McOrmond (http://www.mail-archive.com/mapserver-users at lists.osgeo.org/msg05435.html) and hoped that the Charset issue would be solved in 5.4. But I'm still stuck with this problem. It seems that this is not an ArcSDE-problem. I queried a Shapefile (exported from ArcSDE though) with a GetFeatureInfo-Request with the same (wrong) results. Thanks for any suggestions! Johannes -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From pauljame at gmail.com Tue Jun 23 07:42:51 2009 From: pauljame at gmail.com (Paul james) Date: Tue, 23 Jun 2009 11:42:51 -0300 Subject: [mapserver-users] Querying map using CGI ... In-Reply-To: <4A3FB155.5157.008F.0@dnr.state.mn.us> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> Message-ID: <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> Thanks Steve! Great explanation! But, in mapscript I got the query?s result getting resultCacheMemberObj and layer.getFeature... How can I do something like that using cgi? Paul On Mon, Jun 22, 2009 at 6:29 PM, Steve Lime wrote: > Querying is controlled via the mode parameter. Mode=query does a point > query returning at most 1 result in one layer. Mode=nquery allows you > to query multiple layers and return multiple results from either a point or > a rect. MapServer looks at the various additional supplied parameters to > decide whether to do a point or rect query. > > For example, this url will drop a point through all queryable layers that > have status DEFAULT (since I'm not explicitly turning anything on) > > http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapxy=x+y&mode=nquery > > and this will do a bbox query: > > > http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapext=minx+miny+maxx+maxy&mode=nquery > > You can turn layers on with the layer or layers parameters and can restrict > queries to one layer (if necessary) using qlayer. > > mode=query ~ queryByPoint with MS_SINGLE > mode=nquery ~ queryByPoint with MS_MULTIPLE or queryByRect > > The qlayer parameter has the effect of running the query methods on a > layerObj while without it you're running on the whole mapObj. > > Does this help? > > Steve > > >>> On 6/22/2009 at 4:02 PM, in message > <33fad6880906221402qde8375bj252c48b367d7eb4d at mail.gmail.com>, Paul james > wrote: > > Hello guys, I pretty lost with CGI... > > Using mapscript, I can get query results with functions queryByPoint and > > queryByRect... > > How can I do that in CGI mode? > > > > Thanks > > > > Paul > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Tue Jun 23 07:47:30 2009 From: szekerest at gmail.com (Tamas Szekeres) Date: Tue, 23 Jun 2009 16:47:30 +0200 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> Message-ID: Paul, The problem described in this thread sounds like it may be dedicated to a problem discovered recently in geos-3-1 branch causing the application to crash/hang during the process termination. You said you've been using MS4W 3.0 beta2 or the packages from http://vbkto.dyndns.org:1280/sdk/Default.aspxboth have been using geos-3-1 in the packages up to this time. Since fastCGI keeps mapserv.exe running that would explain why this issue doesn't come up with the FCGI mode. I've now reverted to use geos-3-0 in the packages at http://vbkto.dyndns.org:1280/sdk/Default.aspx Feel free to test with the recent versions and let me know about the details. Best regards, Tamas 2009/6/10 Paul james > I tested with a Shapefile, same bug with 5.4 and CGI.... Working fine with > fastcgi... > > Paul > > > > On Wed, Jun 10, 2009 at 1:14 PM, Tamas Szekeres wrote: > >> It would anyway be helpful if you could describe the steps to reproduce >> the issue. I'm afraid I won't be able to find out the problem without >> inspecting that locally by using a debug version of the builds. There have >> been a lot of changes between 5.2 and 5.4 so it's quite difficult to >> identify the location and the related changeset just by looking into the >> change log in the subversion. >> >> Best regards, >> >> Tamas >> >> >> >> 2009/6/10 Brian Fischer >> >> I would agree with Paul. I am running 5.2 and previous version just >>> fine as well. >>> >>> >>> >>> *Brian Fischer,* CFM GIS Project Manager >>> *Houston Engineering, Inc.* >>> Phone: W: 763.493.4522 / M: 763.229.2734 >>> >>> >>> >>> *From:* Paul james [mailto:pauljame at gmail.com] >>> *Sent:* Wednesday, June 10, 2009 8:46 AM >>> *To:* Tamas Szekeres >>> *Cc:* Brian Fischer; mapserver-users at lists.osgeo.org; Daniel Morissette; >>> Steve Lime >>> >>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >>> error on IIS(5.1 and 6.0) ... Possible BUG? >>> >>> >>> >>> I don?t think its related to security settings... I can run the CGI on >>> 5.2 ... And as well with fastcgi on 5.4 ... >>> Anyway I gave all permission to all user in mapserver directory and app >>> directory... Nothing changes... >>> >>> Anyone test that with Postgis layer? I?m trying to get a shapefile to >>> test ... >>> >>> Paul >>> >>> On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres >>> wrote: >>> >>> Paul, >>> >>> I've just tried with the latest 5.4 version and worked fine though I'm >>> using OGR/mapinfo.tab data source. >>> >>> I suspect you may run into a problem related to the possible differences >>> in the security settings. Some files may not be accessible by the current >>> user executing mapserv.exe which may be "IUSR_[computername]" for the normal >>> CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. >>> >>> Best regards, >>> >>> Tamas >>> >>> 2009/6/9 Paul james >>> >>> >>> >>> Just one update in my tests... >>> Using FASTCGI It worked FINE (mapserver 5.4)... >>> >>> I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 >>> >>> Paul >>> >>> >>> >>> On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: >>> >>> Probably is a mapserver CGI bug... >>> >>> >>> >>> >>> >>> >>> >>> >>> Paul >>> >>> >>> >>> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer >>> wrote: >>> >>> Paul, >>> >>> Just to let you know you are not alone. I am experiencing the same >>> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >>> project. Here?s a link to the bug report >>> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >>> anything back on a solution yet. I?m not sure if this is a MapServer bug or >>> a bug with the way the MS4W package was compiled. It runs fine of Apache >>> for me. >>> >>> >>> >>> Brian Fischer >>> >>> Houston Engineering, Inc. >>> >>> >>> >>> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >>> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >>> *Sent:* Friday, May 29, 2009 1:08 PM >>> *To:* Steve Lime >>> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI >>> error on IIS(5.1 and 6.0) ... Possible BUG? >>> >>> >>> >>> >>> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >>> >>> Paul >>> >>> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >>> wrote: >>> >>> What's the full URL submitted against the CGI? >>> >>> >>> On 5/29/2009 at 12:59 PM, in message >>> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >>> james >>> >>> wrote: >>> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >>> beta... >>> > 2 - I?m using normal CGI >>> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >>> test >>> > later ... >>> > >>> > Paul >>> > >>> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >>> wrote: >>> > >>> >> Hi Paul, >>> >> >>> >> Did you experience the same with the release-1310 and release-1400 >>> >> versions? Did you experience the same with the development version? >>> >> Are you using fastCGI or normal cgi? >>> >> Is this just a PostGIS related problem or you get the same with a >>> simple >>> >> shapefile? >>> >> >>> >> Sorry for the bunch of the questions... >>> >> >>> >> Best regards, >>> >> >>> >> Tamas >>> >> >>> >> >>> >> >>> >> 2009/5/29 Paul james >>> >> >>> >>> Yes Daniel... I deleted all previous files and put only 5.4 >>> files... My >>> >>> mapscript application is working fine on 5.4... >>> >>> But the CGI dont... >>> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>> >>> >>> >>> Paul >>> >>> >>> >>> >>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>> >>> dmorissette at mapgears.com> wrote: >>> >>> >>> >>>> Paul james wrote: >>> >>>> >>> >>>>> Hi Daniel... >>> >>>>> I got the binaries from Tamas build : >>> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>> >>>>> And from MS4W 3.0 beta2... >>> >>>>> Same result with both... >>> >>>>> >>> >>>>> That error you got is my fault... I took off the : >>> >>>>> IMAGE "..\Map.png" >>> >>>>> from REFERENCE definition when copy the code to email... >>> >>>>> >>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>> >>>>> Just replacing with 5.4 binary I got that 502 error... >>> >>>>> >>> >>>>> >>> >>>> Hopefully you always make sure you update all DLLs as well when >>> you >>> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >>> if they >>> >>>> come from different build environments or versions they may not >>> be >>> >>>> compatible and could cause the kind of crashes that you are >>> experiencing. >>> >>>> >>> >>>> >>> >>>> Daniel >>> >>>> -- >>> >>>> Daniel Morissette >>> >>>> http://www.mapgears.com/ >>> >>>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> mapserver-users mailing list >>> >>> mapserver-users at lists.osgeo.org >>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >>> >>> >> >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >>> >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Tue Jun 23 07:55:08 2009 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 23 Jun 2009 11:55:08 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880905291108i62697bf0u184171d566e5758d@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> Message-ID: <4A40ECCC.2010206@gatewaygeomatics.com> The next MS4W 3.0 beta will also be downgraded to geos-3.0.4 (you can follow the progress at http://bugzilla.maptools.org/show_bug.cgi?id=2044) -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ Tamas Szekeres wrote: > Paul, > > The problem described in this thread sounds like it may be dedicated to > a problem discovered recently in geos-3-1 branch causing the application > to crash/hang during the process termination. You said you've been using > MS4W 3.0 beta2 or the packages from > http://vbkto.dyndns.org:1280/sdk/Default.aspx both have been using > geos-3-1 in the packages up to this time. > Since fastCGI keeps mapserv.exe running that would explain why this > issue doesn't come up with the FCGI mode. > > I've now reverted to use geos-3-0 in the packages at > http://vbkto.dyndns.org:1280/sdk/Default.aspx > > Feel free to test with the recent versions and let me know about the > details. > > Best regards, > > Tamas From pauljame at gmail.com Tue Jun 23 08:26:45 2009 From: pauljame at gmail.com (Paul james) Date: Tue, 23 Jun 2009 12:26:45 -0300 Subject: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG? In-Reply-To: References: <33fad6880905290807m51b395cdybbc7792d229af94c@mail.gmail.com> <33fad6880906020612g56bef6b3l8ac294ed1e39285d@mail.gmail.com> <33fad6880906091050o1c8ad384s86cebc2294904472@mail.gmail.com> <33fad6880906100645t28e503cdn5ee4e050aad44815@mail.gmail.com> <33fad6880906100935vb71ee9bp16035157df5a6ffc@mail.gmail.com> Message-ID: <33fad6880906230826kb2f7e3bi33dae889996caae8@mail.gmail.com> Tamas, You are right ! It is working fine now... Thanks Paul On Tue, Jun 23, 2009 at 11:47 AM, Tamas Szekeres wrote: > Paul, > > The problem described in this thread sounds like it may be dedicated to a > problem discovered recently in geos-3-1 branch causing the application to > crash/hang during the process termination. You said you've been using MS4W > 3.0 beta2 or the packages from > http://vbkto.dyndns.org:1280/sdk/Default.aspx both have been using > geos-3-1 in the packages up to this time. > Since fastCGI keeps mapserv.exe running that would explain why this issue > doesn't come up with the FCGI mode. > > I've now reverted to use geos-3-0 in the packages at > http://vbkto.dyndns.org:1280/sdk/Default.aspx > > Feel free to test with the recent versions and let me know about the > details. > > Best regards, > > Tamas > > > > 2009/6/10 Paul james > > I tested with a Shapefile, same bug with 5.4 and CGI.... Working fine with >> fastcgi... >> >> Paul >> >> >> >> On Wed, Jun 10, 2009 at 1:14 PM, Tamas Szekeres wrote: >> >>> It would anyway be helpful if you could describe the steps to reproduce >>> the issue. I'm afraid I won't be able to find out the problem without >>> inspecting that locally by using a debug version of the builds. There have >>> been a lot of changes between 5.2 and 5.4 so it's quite difficult to >>> identify the location and the related changeset just by looking into the >>> change log in the subversion. >>> >>> Best regards, >>> >>> Tamas >>> >>> >>> >>> 2009/6/10 Brian Fischer >>> >>> I would agree with Paul. I am running 5.2 and previous version just >>>> fine as well. >>>> >>>> >>>> >>>> *Brian Fischer,* CFM GIS Project Manager >>>> *Houston Engineering, Inc.* >>>> Phone: W: 763.493.4522 / M: 763.229.2734 >>>> >>>> >>>> >>>> *From:* Paul james [mailto:pauljame at gmail.com] >>>> *Sent:* Wednesday, June 10, 2009 8:46 AM >>>> *To:* Tamas Szekeres >>>> *Cc:* Brian Fischer; mapserver-users at lists.osgeo.org; Daniel >>>> Morissette; Steve Lime >>>> >>>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating >>>> CGI error on IIS(5.1 and 6.0) ... Possible BUG? >>>> >>>> >>>> >>>> I don?t think its related to security settings... I can run the CGI on >>>> 5.2 ... And as well with fastcgi on 5.4 ... >>>> Anyway I gave all permission to all user in mapserver directory and app >>>> directory... Nothing changes... >>>> >>>> Anyone test that with Postgis layer? I?m trying to get a shapefile to >>>> test ... >>>> >>>> Paul >>>> >>>> On Tue, Jun 9, 2009 at 7:02 PM, Tamas Szekeres >>>> wrote: >>>> >>>> Paul, >>>> >>>> I've just tried with the latest 5.4 version and worked fine though I'm >>>> using OGR/mapinfo.tab data source. >>>> >>>> I suspect you may run into a problem related to the possible differences >>>> in the security settings. Some files may not be accessible by the current >>>> user executing mapserv.exe which may be "IUSR_[computername]" for the normal >>>> CGI and "NT AUTHORITY/NETWORK SERVICE" for the fast cgi option by default. >>>> >>>> Best regards, >>>> >>>> Tamas >>>> >>>> 2009/6/9 Paul james >>>> >>>> >>>> >>>> Just one update in my tests... >>>> Using FASTCGI It worked FINE (mapserver 5.4)... >>>> >>>> I added a bug ticket : http://trac.osgeo.org/mapserver/ticket/3049 >>>> >>>> Paul >>>> >>>> >>>> >>>> On Tue, Jun 2, 2009 at 10:12 AM, Paul james wrote: >>>> >>>> Probably is a mapserver CGI bug... >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Paul >>>> >>>> >>>> >>>> On Sat, May 30, 2009 at 11:56 PM, Brian Fischer < >>>> bfischer at houstoneng.com> wrote: >>>> >>>> Paul, >>>> >>>> Just to let you know you are not alone. I am experiencing the same >>>> problem with MS4W 3.0 beta 1 and 2. I?ve reported it as a bug to the MS4W >>>> project. Here?s a link to the bug report >>>> http://bugzilla.maptools.org/show_bug.cgi?id=2043. I haven?t heard >>>> anything back on a solution yet. I?m not sure if this is a MapServer bug or >>>> a bug with the way the MS4W package was compiled. It runs fine of Apache >>>> for me. >>>> >>>> >>>> >>>> Brian Fischer >>>> >>>> Houston Engineering, Inc. >>>> >>>> >>>> >>>> *From:* mapserver-users-bounces at lists.osgeo.org [mailto: >>>> mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Paul james >>>> *Sent:* Friday, May 29, 2009 1:08 PM >>>> *To:* Steve Lime >>>> *Cc:* mapserver-users at lists.osgeo.org; Daniel Morissette >>>> *Subject:* Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating >>>> CGI error on IIS(5.1 and 6.0) ... Possible BUG? >>>> >>>> >>>> >>>> >>>> http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.map&mode=map&map_imagetype=png&mapext=-180+0+-90+90&imgext=-180+0+-90+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256 >>>> >>>> Paul >>>> >>>> On Fri, May 29, 2009 at 3:01 PM, Steve Lime >>>> wrote: >>>> >>>> What's the full URL submitted against the CGI? >>>> >>>> >>> On 5/29/2009 at 12:59 PM, in message >>>> <33fad6880905291059i5602a89q84d7673ddcfff511 at mail.gmail.com>, Paul >>>> james >>>> >>>> wrote: >>>> > 1 - I tried with 1500,1400,1310,development version(1500) and ms4w >>>> beta... >>>> > 2 - I?m using normal CGI >>>> > 3 - My tests are only with Postgis... I?ll generate a shapefile to >>>> test >>>> > later ... >>>> > >>>> > Paul >>>> > >>>> > On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres >>>> wrote: >>>> > >>>> >> Hi Paul, >>>> >> >>>> >> Did you experience the same with the release-1310 and release-1400 >>>> >> versions? Did you experience the same with the development version? >>>> >> Are you using fastCGI or normal cgi? >>>> >> Is this just a PostGIS related problem or you get the same with a >>>> simple >>>> >> shapefile? >>>> >> >>>> >> Sorry for the bunch of the questions... >>>> >> >>>> >> Best regards, >>>> >> >>>> >> Tamas >>>> >> >>>> >> >>>> >> >>>> >> 2009/5/29 Paul james >>>> >> >>>> >>> Yes Daniel... I deleted all previous files and put only 5.4 >>>> files... My >>>> >>> mapscript application is working fine on 5.4... >>>> >>> But the CGI dont... >>>> >>> Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)... >>>> >>> >>>> >>> Paul >>>> >>> >>>> >>> >>>> >>> On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette < >>>> >>> dmorissette at mapgears.com> wrote: >>>> >>> >>>> >>>> Paul james wrote: >>>> >>>> >>>> >>>>> Hi Daniel... >>>> >>>>> I got the binaries from Tamas build : >>>> >>>>> http://vbkto.dyndns.org:1280/sdk/Default.aspx >>>> >>>>> And from MS4W 3.0 beta2... >>>> >>>>> Same result with both... >>>> >>>>> >>>> >>>>> That error you got is my fault... I took off the : >>>> >>>>> IMAGE "..\Map.png" >>>> >>>>> from REFERENCE definition when copy the code to email... >>>> >>>>> >>>> >>>>> My application works fine with 5.2 binary in iis 5.1 and 6.0 >>>> >>>>> Just replacing with 5.4 binary I got that 502 error... >>>> >>>>> >>>> >>>>> >>>> >>>> Hopefully you always make sure you update all DLLs as well when >>>> you >>>> >>>> "replace with 5.4 binary"? Even if the DLLs have the same names, >>>> if they >>>> >>>> come from different build environments or versions they may not >>>> be >>>> >>>> compatible and could cause the kind of crashes that you are >>>> experiencing. >>>> >>>> >>>> >>>> >>>> >>>> Daniel >>>> >>>> -- >>>> >>>> Daniel Morissette >>>> >>>> http://www.mapgears.com/ >>>> >>>> >>>> >>> >>>> >>> >>>> >>> _______________________________________________ >>>> >>> mapserver-users mailing list >>>> >>> mapserver-users at lists.osgeo.org >>>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>> >>>> >>> >>>> >> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>>> >>>> >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Fawcett at state.mn.us Tue Jun 23 08:30:19 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 23 Jun 2009 10:30:19 -0500 Subject: [mapserver-users] Compiling MapServer Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> What is the latest advice for output image libraries when compiling mapserv on unix? I remember an older conflict with libtiff and the tiff functionality in GDAL. If one is going to include GDAL, does it make sense to add libtiff, libgeotiff, or libjpeg, or is it better practice to just use GDAL to read and write these formats? Pros? Cons? Thanks, David. From woodbri at swoodbridge.com Tue Jun 23 08:39:16 2009 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Tue, 23 Jun 2009 11:39:16 -0400 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> Message-ID: <4A40F724.3010501@swoodbridge.com> Fawcett, David wrote: > What is the latest advice for output image libraries when compiling > mapserv on unix? > > I remember an older conflict with libtiff and the tiff functionality in > GDAL. > > If one is going to include GDAL, does it make sense to add libtiff, > libgeotiff, or libjpeg, or is it better practice to just use GDAL to > read and write these formats? > > Pros? Cons? Well I think Frank is the ultimate authority on this, but when I asked a similar question a while back because I ran into a bug or a problem, I was told that I should just use GDAL and that the mapserver "native" support was not being actively worked on. My recommendation to the steering committee at the time was to deprecate the "native" support if we were not going to maintain it, but I don't think that has gone anywhere. So my practice to always build mapserver --without-tiff and if I need image support to build it with GDAL. Works for me :) -Steve W From David.Fawcett at state.mn.us Tue Jun 23 08:47:04 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 23 Jun 2009 10:47:04 -0500 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <4A40F7F2.1000605@hostgis.com> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5FA@s-sp22.pca.state.mn.us> Gregor and Steve, Do you do the same with libjpeg? David. -----Original Message----- From: Gregor at HostGIS [mailto:gregor at hostgis.com] Sent: Tuesday, June 23, 2009 10:43 AM To: Fawcett, David Cc: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Compiling MapServer Don't use MapServer's built-in TIFF support; GDAL's is a lot nicer anyway. GDAL's even has BigTIFF if you build GDAL using its "internal" support for most formats, which is what I'd advise at that stage too. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ From schatterjee at addisontx.gov Tue Jun 23 08:48:15 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Tue, 23 Jun 2009 10:48:15 -0500 Subject: [mapserver-users] error in mapserver - File not found error Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15A7@sc-exchange.addisongov.org> Hi all, I have just started with mapserver. I have also downloaded the Itasca application. My problem is I am able to see the initial map with legend and scale. But I am not able to pan or zoom nor select layers or do anything after that. It is giving Page Not Found Error. It will be helpful if any one can help me in pointing out the problem Thanks Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregor at hostgis.com Tue Jun 23 08:42:42 2009 From: gregor at hostgis.com (Gregor at HostGIS) Date: Tue, 23 Jun 2009 08:42:42 -0700 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> Message-ID: <4A40F7F2.1000605@hostgis.com> Don't use MapServer's built-in TIFF support; GDAL's is a lot nicer anyway. GDAL's even has BigTIFF if you build GDAL using its "internal" support for most formats, which is what I'd advise at that stage too. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ From warmerdam at pobox.com Tue Jun 23 08:50:13 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 23 Jun 2009 11:50:13 -0400 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> Message-ID: <4A40F9B5.7020800@pobox.com> Fawcett, David wrote: > What is the latest advice for output image libraries when compiling > mapserv on unix? > > I remember an older conflict with libtiff and the tiff functionality in > GDAL. > > If one is going to include GDAL, does it make sense to add libtiff, > libgeotiff, or libjpeg, or is it better practice to just use GDAL to > read and write these formats? David, It is better to leave out direct use of libtiff, and just let GDAL do it. Likewise for reading jpeg, and other image formats. However, I have noticed that mapserver-trunk now seems to depend on direct use of libpng and libjpeg for generating these files (as opposed to going through GD). So it may not be so easy to avoid libpng and libjpeg in builds. I persume this is not yet an issue with the released versions. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From thomas.bonfort at camptocamp.com Tue Jun 23 08:58:44 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Tue, 23 Jun 2009 17:58:44 +0200 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <4A40F9B5.7020800@pobox.com> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> <4A40F9B5.7020800@pobox.com> Message-ID: <2922382e0906230858k7c9f2ecscbe54892acd02@mail.gmail.com> Frank, We already had a dependency on libpng and libjpg through GD (as gd isn't statically linked against those). How can the direct dependency be causing any more problems than the actual situation ? regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 23, 2009 at 17:50, Frank Warmerdam wrote: > Fawcett, David wrote: >> >> What is the latest advice for output image libraries when compiling >> mapserv on unix? >> I remember an older conflict with libtiff and the tiff functionality in >> GDAL. >> If one is going to include GDAL, does it make sense to add libtiff, >> libgeotiff, or libjpeg, or is it better practice to just use GDAL to >> read and write these formats? > > David, > > It is better to leave out direct use of libtiff, and just let GDAL do it. > Likewise for reading jpeg, and other image formats. ?However, I have > noticed that mapserver-trunk now seems to depend on direct use of libpng > and libjpeg for generating these files (as opposed to going through GD). > So it may not be so easy to avoid libpng and libjpeg in builds. > > I persume this is not yet an issue with the released versions. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up ? | Frank Warmerdam, > warmerdam at pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush ? ?| Geospatial Programmer for Rent > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From warmerdam at pobox.com Tue Jun 23 09:03:11 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 23 Jun 2009 12:03:11 -0400 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <2922382e0906230858k7c9f2ecscbe54892acd02@mail.gmail.com> References: <6246727221874A4FB8D3F9BBC37D9BD5056DA5F7@s-sp22.pca.state.mn.us> <4A40F9B5.7020800@pobox.com> <2922382e0906230858k7c9f2ecscbe54892acd02@mail.gmail.com> Message-ID: <4A40FCBF.4050105@pobox.com> Thomas Bonfort wrote: > Frank, > > We already had a dependency on libpng and libjpg through GD (as gd > isn't statically linked against those). How can the direct dependency > be causing any more problems than the actual situation ? Tomas, Well, I believe now mapserver itself needs libjpeg and libpng include files which was not necessarily the case before. I also had a copy of GD on win32 that apparently had libjpeg and libpng embedded, but on a recent build discovered I needed also to provide real libjpeg and libpng libraries to link MapServer. I'm not saying it is a particularly serious issue, but it has already thrown me for a loop. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From David.Fawcett at state.mn.us Tue Jun 23 09:02:56 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 23 Jun 2009 11:02:56 -0500 Subject: [mapserver-users] Compiling MapServer In-Reply-To: <2922382e0906230858k7c9f2ecscbe54892acd02@mail.gmail.com> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA5FD@s-sp22.pca.state.mn.us> Perhaps libjpeg should be moved from the 'optional external libraries' to the 'required external libraries' section page of the docs then? http://mapserver.org/installation/unix.html -----Original Message----- From: Thomas Bonfort [mailto:thomas.bonfort at camptocamp.com] Sent: Tuesday, June 23, 2009 10:59 AM To: Frank Warmerdam Cc: Fawcett, David; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Compiling MapServer Frank, We already had a dependency on libpng and libjpg through GD (as gd isn't statically linked against those). How can the direct dependency be causing any more problems than the actual situation ? regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 23, 2009 at 17:50, Frank Warmerdam wrote: > Fawcett, David wrote: >> >> What is the latest advice for output image libraries when compiling >> mapserv on unix? I remember an older conflict with libtiff and the >> tiff functionality in GDAL. >> If one is going to include GDAL, does it make sense to add libtiff, >> libgeotiff, or libjpeg, or is it better practice to just use GDAL to >> read and write these formats? > > David, > > It is better to leave out direct use of libtiff, and just let GDAL do > it. Likewise for reading jpeg, and other image formats. ?However, I > have noticed that mapserver-trunk now seems to depend on direct use of > libpng and libjpeg for generating these files (as opposed to going > through GD). So it may not be so easy to avoid libpng and libjpeg in > builds. > > I persume this is not yet an issue with the released versions. > > Best regards, > -- > ---------------------------------------+------------------------------ > ---------------------------------------+-------- > I set the clouds in motion - turn up ? | Frank Warmerdam, > warmerdam at pobox.com light and sound - activate the windows | > http://pobox.com/~warmerdam and watch the world go round - Rush ? ?| > Geospatial Programmer for Rent > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From boolean10001 at yahoo.com Tue Jun 23 11:21:02 2009 From: boolean10001 at yahoo.com (Carlos Ruiz) Date: Tue, 23 Jun 2009 11:21:02 -0700 (PDT) Subject: [mapserver-users] WFS schema problem Message-ID: <418186.8899.qm@web38206.mail.mud.yahoo.com> Hi list, I'm trying to connect to a WFS service I made with MapServer, but the application that I'm using throws the following exception: Error parsing response: No schema information for namespace "http://mapserver.gis.umn.edu/mapserver" provided. I have installed Mapserver 5.4.0. I guess the schema's referring to the old site instead the? new mapserver.org one. Does anybody knows how to correct this ? Thanks in advance IC Carlos Ruiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From schatterjee at addisontx.gov Tue Jun 23 12:33:48 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Tue, 23 Jun 2009 14:33:48 -0500 Subject: [mapserver-users] Itasca application working fine Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D00279772E@sc-exchange.addisongov.org> Hi! Now the Itasca application is working fine. There was a problem in the index file where the relative path to the program was not set up correctly. Cheers Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Tue Jun 23 15:09:14 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 23 Jun 2009 17:09:14 -0500 Subject: [mapserver-users] Querying map using CGI ... In-Reply-To: <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> Message-ID: <4A410C3E.5157.008F.0@dnr.state.mn.us> The CGI provides to results via templates. Templates operate on the resultCacheMemberObj contents and do a layer.getFeature behind the scenes. You need only concern yourself with the presentation piece. Through templates you can: - output, and to a certain extent format, attributes - output and format coordinates and bounding boxes - limit the number of features output - control output order of layers - define custom mime-types RFC 36 is a good place to start for the newer template support. I think I've posted a few examples to the list as well. (http://mapserver.org/development/rfc/ms-rfc-36.html) Steve >>> On 6/23/2009 at 9:42 AM, in message <33fad6880906230742o2036ea6ctae3a3cc003145984 at mail.gmail.com>, Paul james wrote: > Thanks Steve! Great explanation! > But, in mapscript I got the query?s result getting resultCacheMemberObj and > layer.getFeature... > How can I do something like that using cgi? > > Paul > > > On Mon, Jun 22, 2009 at 6:29 PM, Steve Lime wrote: > >> Querying is controlled via the mode parameter. Mode=query does a point >> query returning at most 1 result in one layer. Mode=nquery allows you >> to query multiple layers and return multiple results from either a point or >> a rect. MapServer looks at the various additional supplied parameters to >> decide whether to do a point or rect query. >> >> For example, this url will drop a point through all queryable layers that >> have status DEFAULT (since I'm not explicitly turning anything on) >> >> http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapxy=x+y&mode=nquery >> >> and this will do a bbox query: >> >> >> > http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapext=minx+miny+maxx+maxy&mode=n > query >> >> You can turn layers on with the layer or layers parameters and can restrict >> queries to one layer (if necessary) using qlayer. >> >> mode=query ~ queryByPoint with MS_SINGLE >> mode=nquery ~ queryByPoint with MS_MULTIPLE or queryByRect >> >> The qlayer parameter has the effect of running the query methods on a >> layerObj while without it you're running on the whole mapObj. >> >> Does this help? >> >> Steve >> >> >>> On 6/22/2009 at 4:02 PM, in message >> <33fad6880906221402qde8375bj252c48b367d7eb4d at mail.gmail.com>, Paul james >> wrote: >> > Hello guys, I pretty lost with CGI... >> > Using mapscript, I can get query results with functions queryByPoint and >> > queryByRect... >> > How can I do that in CGI mode? >> > >> > Thanks >> > >> > Paul >> >> From ben at remoteinformation.com.au Wed Jun 24 01:44:35 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Wed, 24 Jun 2009 16:44:35 +0800 Subject: [mapserver-users] label sizes not scaling Message-ID: <8FD90A8C-99C0-4602-AAD0-9D2C35584B31@remoteinformation.com.au> G'day all, using mapserver 5.4 as a WMS server (to an openlayers application) I don't seem to be able to get any scaling of labels. If I set SIZE 10, they are 10 pixel. If I don't set any size params, they are 4. If I set minsize, they are minsize (but the ALIGN is poor). if I set minsize 8 and size 10, they are size 10 and the ALIGN is pretty good. I'm actually projecting a network graph, so it would be good to be able to see the priority labels when zoomed out, and the others when zoomed in, but at a legible (and sensible) size. I'm not sure where to start - is it MapServer, WMS, OpenLayers, or a false sense I had that this was how it should work... cheers Ben (Mapfile layer (it's postgis): NAME "titles" DEBUG 2 GROUP "Nodes" SIZEUNITS PIXELS METADATA layer_title "titles" layer_order "1" "wms_title" "titles" "wms_srs" "EPSG:4326" "wms_group_title" "Nodes" END DATA "polys FROM ( SELECT n.id, n.title, n.description, colourhex, n.geom, n.rating, setsrid(n.polygeom, 4326) as polys FROM nodes n LEFT OUTER JOIN categories c ON n.category::int = c.id AND c.del = 0 WHERE n.del = 0 AND n.graphid = %GRAPHID% ) AS foo USING UNIQUE id USING srid=4326" TYPE ANNOTATION STATUS ON LABELITEM "title" LABELCACHE ON CLASS LABEL MAXLENGTH 7 WRAP " " ALIGN center BUFFER 5 MINSIZE 8 SIZE 10 MAXSIZE 24 COLOR 0 40 0 PRIORITY [rating] PARTIALS FALSE TYPE TRUETYPE FONT lucida END END ) -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... From sarawut.map at gmail.com Wed Jun 24 02:24:18 2009 From: sarawut.map at gmail.com (Sarawut Ninsawat) Date: Wed, 24 Jun 2009 18:24:18 +0900 Subject: [mapserver-users] Error double free or corruption in PHP Mapscript for WxS with Layer->setprocessing() Message-ID: <4A41F0C2.6030901@gmail.com> Hi all I try to make php Mapscript for WMS request with specific BANDS Processing parameters. $oLayer = $oMap->getLayerByName("testdata"); $oLayer->clearProcessing(); $bands="1,2,3,4,5,6,7"; $oLayer->setprocessing("BANDS=".$bands); $oMap->owsdispatch($request); Then I got the error as *** glibc detected *** double free or corruption (!prev): 0x0000000000aa96e0 *** in log file I can do it with $bands="1,2,3,4,5". It is works well. If I implement directly from cgi and specific PROCESSING = "BANDS=1,2,3,4,5,6,7,8,9,10" in mapfile. It is also work. Please advise me. Best regards Sarawut From DeDuikertjes at xs4all.nl Wed Jun 24 06:12:29 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:12:29 +0200 Subject: [mapserver-users] WFS returning empty features Message-ID: <4A42263D.3030803@xs4all.nl> Dear List, I've mapserver all set up. The mapfile is working and produces a nice and working WMS. The WFS is giving me troubles. It returns a valid capabilities document with no warnings A getfeature request returns GML, with the bounds defined, but otherwise with NO features. This for a layer which draws perfectly well in the WMS. uDig sees all colums (attributes) of the layer, but every column is empty. I've not a clue what I am doing wrong. any help greatly appreciated. MArco From DeDuikertjes at xs4all.nl Wed Jun 24 06:17:20 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:17:20 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <20090624131535.68075a44@kmail.b3partners.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> Message-ID: <4A422760.40004@xs4all.nl> Roy, List, i'm using MapServer version 5.1-dev I've set the map extent. I did not set layer extents. Is that necessary? MArco Roy Braam schreef: > What version of mapserver are you using? Have you set the map extent and layer extents? > > Roy > > > _____ > > From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] > To: mapserver-users at lists.osgeo.org > Sent: Wed, 24 Jun 2009 15:12:29 +0200 > Subject: [mapserver-users] WFS returning empty features > > Dear List, > > I've mapserver all set up. > The mapfile is working and produces a nice and working WMS. > > The WFS is giving me troubles. > It returns a valid capabilities document with no warnings > A getfeature request returns GML, with the bounds defined, but otherwise > with NO features. > This for a layer which draws perfectly well in the WMS. > > uDig sees all colums (attributes) of the layer, but every column is empty. > > I've not a clue what I am doing wrong. > > any help greatly appreciated. > > MArco > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From Jukka.Rahkonen at mmmtike.fi Wed Jun 24 06:21:35 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Wed, 24 Jun 2009 16:21:35 +0300 Subject: [mapserver-users] WFS returning empty features References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> Message-ID: Hi, Do you have something in "gml_include_items" in the layer metadata? -Jukka Rahkonen- DeDuikertjes wrote: Roy, List, i'm using MapServer version 5.1-dev I've set the map extent. I did not set layer extents. Is that necessary? MArco Roy Braam schreef: > What version of mapserver are you using? Have you set the map extent and layer extents? > > Roy > > > _____ > > From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] > To: mapserver-users at lists.osgeo.org > Sent: Wed, 24 Jun 2009 15:12:29 +0200 > Subject: [mapserver-users] WFS returning empty features > > Dear List, > > I've mapserver all set up. > The mapfile is working and produces a nice and working WMS. > > The WFS is giving me troubles. > It returns a valid capabilities document with no warnings > A getfeature request returns GML, with the bounds defined, but otherwise > with NO features. > This for a layer which draws perfectly well in the WMS. > > uDig sees all colums (attributes) of the layer, but every column is empty. > > I've not a clue what I am doing wrong. > > any help greatly appreciated. > > MArco > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From DeDuikertjes at xs4all.nl Wed Jun 24 06:25:33 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:25:33 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> Message-ID: <4A42294D.7090908@xs4all.nl> Roy, Jukka, List, I've tried adding extents to each layer: no succes I've "gml_include_items" "all" "gml_featureid" "geoidn" in the layer metadata MArco Here is a snippet of the mapfile: MAP NAME "NL.IMRO.0026.SVBBU-0001" IMAGETYPE png UNITS METERS EXTENT 155016 467631 156758 470080 PROJECTION "init=epsg:28992" END WEB METADATA "ows_title" "NL.IMRO.0026.SVBBU-0001" "wms_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" "wfs_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" "wfs_srs" "EPSG:28992" "wms_srs" "EPSG:28992" END END LAYER name "geoidNL.IMRO.0026.SVBBU-0001_vlak" GROUP "geoidNL.IMRO.0026.SVBBU-0001" PROJECTION "init=epsg:28992" END EXTENT 155016 467631 156758 470080 METADATA "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" "gml_include_items" "all" "gml_featureid" "geoidn" END STATUS off TYPE polygon DUMP true CONNECTIONTYPE postgis CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992' FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" OPACITY 30 TEMPLATE "dummy.html" CLASS STYLE COLOR 0 0 0 OUTLINECOLOR 255 0 0 END END END Rahkonen Jukka schreef: > Hi, > > Do you have something in "gml_include_items" in the layer metadata? > > -Jukka Rahkonen- > > DeDuikertjes wrote: > > Roy, List, > > i'm using MapServer version 5.1-dev > > I've set the map extent. I did not set layer extents. Is that necessary? > > MArco > > Roy Braam schreef: > >> What version of mapserver are you using? Have you set the map extent and layer extents? >> >> Roy >> >> >> _____ >> >> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >> To: mapserver-users at lists.osgeo.org >> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >> Subject: [mapserver-users] WFS returning empty features >> >> Dear List, >> >> I've mapserver all set up. >> The mapfile is working and produces a nice and working WMS. >> >> The WFS is giving me troubles. >> It returns a valid capabilities document with no warnings >> A getfeature request returns GML, with the bounds defined, but otherwise >> with NO features. >> This for a layer which draws perfectly well in the WMS. >> >> uDig sees all colums (attributes) of the layer, but every column is empty. >> >> I've not a clue what I am doing wrong. >> >> any help greatly appreciated. >> >> MArco >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > From DeDuikertjes at xs4all.nl Wed Jun 24 06:39:39 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:39:39 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <44244.145.50.39.11.1245850116.squirrel@webmail.hostingdiscounter.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <44244.145.50.39.11.1245850116.squirrel@webmail.hostingdiscounter.nl> Message-ID: <4A422C9B.6020907@xs4all.nl> Bart, Thanks, Tried to widen that. No luck .. Is the request ok (i try in the browser)? : http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=geoidNL.IMRO.0026.SVBBU-0001_vlak it returns: 155065.290000,467655.922000 156442.422000,470040.750000 On closer inspection uDig does something strange. On zoom to layer it zooms to the wrong area (but shows no features there either). MArco bartvde at osgis.nl schreef: > Try and widen your MAP->EXTENT. > > Best regards, > Bart > > >> Roy, Jukka, List, >> >> I've tried adding extents to each layer: no succes >> I've >> >> "gml_include_items" "all" >> "gml_featureid" "geoidn" >> >> in the layer metadata >> >> MArco >> >> Here is a snippet of the mapfile: >> >> MAP >> NAME "NL.IMRO.0026.SVBBU-0001" >> IMAGETYPE png >> UNITS METERS >> EXTENT 155016 467631 156758 470080 >> PROJECTION >> "init=epsg:28992" >> END >> >> WEB >> METADATA >> "ows_title" "NL.IMRO.0026.SVBBU-0001" >> "wms_onlineresource" >> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >> "wfs_onlineresource" >> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >> >> "wfs_srs" "EPSG:28992" >> "wms_srs" "EPSG:28992" >> END >> END >> LAYER >> name "geoidNL.IMRO.0026.SVBBU-0001_vlak" >> >> GROUP "geoidNL.IMRO.0026.SVBBU-0001" >> >> PROJECTION >> "init=epsg:28992" >> END >> >> EXTENT 155016 467631 156758 470080 >> >> METADATA >> "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" >> "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" >> "gml_include_items" "all" >> "gml_featureid" "geoidn" >> END >> >> STATUS off >> TYPE polygon >> DUMP true >> >> CONNECTIONTYPE postgis >> CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" >> DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique >> geoidn using srid=28992' >> FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" >> OPACITY 30 >> TEMPLATE "dummy.html" >> CLASS >> STYLE >> COLOR 0 0 0 >> OUTLINECOLOR 255 0 0 >> END >> END >> END >> >> >> >> >> Rahkonen Jukka schreef: >> >>> Hi, >>> >>> Do you have something in "gml_include_items" in the layer metadata? >>> >>> -Jukka Rahkonen- >>> >>> DeDuikertjes wrote: >>> >>> Roy, List, >>> >>> i'm using MapServer version 5.1-dev >>> >>> I've set the map extent. I did not set layer extents. Is that necessary? >>> >>> MArco >>> >>> Roy Braam schreef: >>> >>> >>>> What version of mapserver are you using? Have you set the map extent >>>> and layer extents? >>>> >>>> Roy >>>> >>>> >>>> _____ >>>> >>>> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >>>> To: mapserver-users at lists.osgeo.org >>>> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >>>> Subject: [mapserver-users] WFS returning empty features >>>> >>>> Dear List, >>>> >>>> I've mapserver all set up. >>>> The mapfile is working and produces a nice and working WMS. >>>> >>>> The WFS is giving me troubles. >>>> It returns a valid capabilities document with no warnings >>>> A getfeature request returns GML, with the bounds defined, but >>>> otherwise >>>> with NO features. >>>> This for a layer which draws perfectly well in the WMS. >>>> >>>> uDig sees all colums (attributes) of the layer, but every column is >>>> empty. >>>> >>>> I've not a clue what I am doing wrong. >>>> >>>> any help greatly appreciated. >>>> >>>> MArco >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > From bartvde at osgis.nl Wed Jun 24 06:42:37 2009 From: bartvde at osgis.nl (bartvde at osgis.nl) Date: Wed, 24 Jun 2009 15:42:37 +0200 (CEST) Subject: [mapserver-users] WFS returning empty features In-Reply-To: <4A422C9B.6020907@xs4all.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <44244.145.50.39.11.1245850116.squirrel@webmail.hostingdiscounter.nl> <4A422C9B.6020907@xs4all.nl> Message-ID: <20382.145.50.39.11.1245850957.squirrel@webmail.hostingdiscounter.nl> Hmm, running out of ideas :-) What if you remove your FILTER tag or add brackets to it? FILTER "(geoidn='geoidNL.IMRO.0026.SVBBU-0001')" Best regards, Bart > Bart, > > Thanks, Tried to widen that. No luck .. > Is the request ok (i try in the browser)? : > http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=geoidNL.IMRO.0026.SVBBU-0001_vlak > > it returns: > > > > > > > > 155065.290000,467655.922000 156442.422000,470040.750000 > > > > > > On closer inspection uDig does something strange. On zoom to layer it > zooms to the wrong area (but shows no features there either). > > MArco > > bartvde at osgis.nl schreef: >> Try and widen your MAP->EXTENT. >> >> Best regards, >> Bart >> >> >>> Roy, Jukka, List, >>> >>> I've tried adding extents to each layer: no succes >>> I've >>> >>> "gml_include_items" "all" >>> "gml_featureid" "geoidn" >>> >>> in the layer metadata >>> >>> MArco >>> >>> Here is a snippet of the mapfile: >>> >>> MAP >>> NAME "NL.IMRO.0026.SVBBU-0001" >>> IMAGETYPE png >>> UNITS METERS >>> EXTENT 155016 467631 156758 470080 >>> PROJECTION >>> "init=epsg:28992" >>> END >>> >>> WEB >>> METADATA >>> "ows_title" "NL.IMRO.0026.SVBBU-0001" >>> "wms_onlineresource" >>> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >>> "wfs_onlineresource" >>> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >>> >>> "wfs_srs" "EPSG:28992" >>> "wms_srs" "EPSG:28992" >>> END >>> END >>> LAYER >>> name "geoidNL.IMRO.0026.SVBBU-0001_vlak" >>> >>> GROUP "geoidNL.IMRO.0026.SVBBU-0001" >>> >>> PROJECTION >>> "init=epsg:28992" >>> END >>> >>> EXTENT 155016 467631 156758 470080 >>> >>> METADATA >>> "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" >>> "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" >>> "gml_include_items" "all" >>> "gml_featureid" "geoidn" >>> END >>> >>> STATUS off >>> TYPE polygon >>> DUMP true >>> >>> CONNECTIONTYPE postgis >>> CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" >>> DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique >>> geoidn using srid=28992' >>> FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" >>> OPACITY 30 >>> TEMPLATE "dummy.html" >>> CLASS >>> STYLE >>> COLOR 0 0 0 >>> OUTLINECOLOR 255 0 0 >>> END >>> END >>> END >>> >>> >>> >>> >>> Rahkonen Jukka schreef: >>> >>>> Hi, >>>> >>>> Do you have something in "gml_include_items" in the layer metadata? >>>> >>>> -Jukka Rahkonen- >>>> >>>> DeDuikertjes wrote: >>>> >>>> Roy, List, >>>> >>>> i'm using MapServer version 5.1-dev >>>> >>>> I've set the map extent. I did not set layer extents. Is that >>>> necessary? >>>> >>>> MArco >>>> >>>> Roy Braam schreef: >>>> >>>> >>>>> What version of mapserver are you using? Have you set the map extent >>>>> and layer extents? >>>>> >>>>> Roy >>>>> >>>>> >>>>> _____ >>>>> >>>>> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >>>>> To: mapserver-users at lists.osgeo.org >>>>> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >>>>> Subject: [mapserver-users] WFS returning empty features >>>>> >>>>> Dear List, >>>>> >>>>> I've mapserver all set up. >>>>> The mapfile is working and produces a nice and working WMS. >>>>> >>>>> The WFS is giving me troubles. >>>>> It returns a valid capabilities document with no warnings >>>>> A getfeature request returns GML, with the bounds defined, but >>>>> otherwise >>>>> with NO features. >>>>> This for a layer which draws perfectly well in the WMS. >>>>> >>>>> uDig sees all colums (attributes) of the layer, but every column is >>>>> empty. >>>>> >>>>> I've not a clue what I am doing wrong. >>>>> >>>>> any help greatly appreciated. >>>>> >>>>> MArco >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> >> >> > From roybraam at b3partners.nl Wed Jun 24 06:15:35 2009 From: roybraam at b3partners.nl (Roy Braam) Date: Wed, 24 Jun 2009 15:15:35 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: 4A42263D.3030803@xs4all.nl Message-ID: <20090624131535.68075a44@kmail.b3partners.nl> What version of mapserver are you using? Have you set the map extent and layer extents? Roy _____ From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] To: mapserver-users at lists.osgeo.org Sent: Wed, 24 Jun 2009 15:12:29 +0200 Subject: [mapserver-users] WFS returning empty features Dear List, I've mapserver all set up. The mapfile is working and produces a nice and working WMS. The WFS is giving me troubles. It returns a valid capabilities document with no warnings A getfeature request returns GML, with the bounds defined, but otherwise with NO features. This for a layer which draws perfectly well in the WMS. uDig sees all colums (attributes) of the layer, but every column is empty. I've not a clue what I am doing wrong. any help greatly appreciated. MArco _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From DeDuikertjes at xs4all.nl Wed Jun 24 06:46:56 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:46:56 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <20382.145.50.39.11.1245850957.squirrel@webmail.hostingdiscounter.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <44244.145.50.39.11.1245850116.squirrel@webmail.hostingdiscounter.nl> <4A422C9B.6020907@xs4all.nl> <20382.145.50.39.11.1245850957.squirrel@webmail.hostingdiscounter.nl> Message-ID: <4A422E50.4060009@xs4all.nl> Bart, List, Removed Filter tag. No succes. MArco bartvde at osgis.nl schreef: > Hmm, running out of ideas :-) > > What if you remove your FILTER tag or add brackets to it? > > FILTER "(geoidn='geoidNL.IMRO.0026.SVBBU-0001')" > > Best regards, > Bart > > >> Bart, >> >> Thanks, Tried to widen that. No luck .. >> Is the request ok (i try in the browser)? : >> http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=geoidNL.IMRO.0026.SVBBU-0001_vlak >> >> it returns: >> >> >> >> >> >> >> >> 155065.290000,467655.922000 156442.422000,470040.750000 >> >> >> >> >> >> On closer inspection uDig does something strange. On zoom to layer it >> zooms to the wrong area (but shows no features there either). >> >> MArco >> >> bartvde at osgis.nl schreef: >> >>> Try and widen your MAP->EXTENT. >>> >>> Best regards, >>> Bart >>> >>> >>> >>>> Roy, Jukka, List, >>>> >>>> I've tried adding extents to each layer: no succes >>>> I've >>>> >>>> "gml_include_items" "all" >>>> "gml_featureid" "geoidn" >>>> >>>> in the layer metadata >>>> >>>> MArco >>>> >>>> Here is a snippet of the mapfile: >>>> >>>> MAP >>>> NAME "NL.IMRO.0026.SVBBU-0001" >>>> IMAGETYPE png >>>> UNITS METERS >>>> EXTENT 155016 467631 156758 470080 >>>> PROJECTION >>>> "init=epsg:28992" >>>> END >>>> >>>> WEB >>>> METADATA >>>> "ows_title" "NL.IMRO.0026.SVBBU-0001" >>>> "wms_onlineresource" >>>> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >>>> "wfs_onlineresource" >>>> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >>>> >>>> "wfs_srs" "EPSG:28992" >>>> "wms_srs" "EPSG:28992" >>>> END >>>> END >>>> LAYER >>>> name "geoidNL.IMRO.0026.SVBBU-0001_vlak" >>>> >>>> GROUP "geoidNL.IMRO.0026.SVBBU-0001" >>>> >>>> PROJECTION >>>> "init=epsg:28992" >>>> END >>>> >>>> EXTENT 155016 467631 156758 470080 >>>> >>>> METADATA >>>> "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" >>>> "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" >>>> "gml_include_items" "all" >>>> "gml_featureid" "geoidn" >>>> END >>>> >>>> STATUS off >>>> TYPE polygon >>>> DUMP true >>>> >>>> CONNECTIONTYPE postgis >>>> CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" >>>> DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique >>>> geoidn using srid=28992' >>>> FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" >>>> OPACITY 30 >>>> TEMPLATE "dummy.html" >>>> CLASS >>>> STYLE >>>> COLOR 0 0 0 >>>> OUTLINECOLOR 255 0 0 >>>> END >>>> END >>>> END >>>> >>>> >>>> >>>> >>>> Rahkonen Jukka schreef: >>>> >>>> >>>>> Hi, >>>>> >>>>> Do you have something in "gml_include_items" in the layer metadata? >>>>> >>>>> -Jukka Rahkonen- >>>>> >>>>> DeDuikertjes wrote: >>>>> >>>>> Roy, List, >>>>> >>>>> i'm using MapServer version 5.1-dev >>>>> >>>>> I've set the map extent. I did not set layer extents. Is that >>>>> necessary? >>>>> >>>>> MArco >>>>> >>>>> Roy Braam schreef: >>>>> >>>>> >>>>> >>>>>> What version of mapserver are you using? Have you set the map extent >>>>>> and layer extents? >>>>>> >>>>>> Roy >>>>>> >>>>>> >>>>>> _____ >>>>>> >>>>>> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >>>>>> To: mapserver-users at lists.osgeo.org >>>>>> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >>>>>> Subject: [mapserver-users] WFS returning empty features >>>>>> >>>>>> Dear List, >>>>>> >>>>>> I've mapserver all set up. >>>>>> The mapfile is working and produces a nice and working WMS. >>>>>> >>>>>> The WFS is giving me troubles. >>>>>> It returns a valid capabilities document with no warnings >>>>>> A getfeature request returns GML, with the bounds defined, but >>>>>> otherwise >>>>>> with NO features. >>>>>> This for a layer which draws perfectly well in the WMS. >>>>>> >>>>>> uDig sees all colums (attributes) of the layer, but every column is >>>>>> empty. >>>>>> >>>>>> I've not a clue what I am doing wrong. >>>>>> >>>>>> any help greatly appreciated. >>>>>> >>>>>> MArco >>>>>> _______________________________________________ >>>>>> mapserver-users mailing list >>>>>> mapserver-users at lists.osgeo.org >>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>>> >>> >>> > > > From bartvde at osgis.nl Wed Jun 24 06:28:36 2009 From: bartvde at osgis.nl (bartvde at osgis.nl) Date: Wed, 24 Jun 2009 15:28:36 +0200 (CEST) Subject: [mapserver-users] WFS returning empty features In-Reply-To: <4A42294D.7090908@xs4all.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> Message-ID: <44244.145.50.39.11.1245850116.squirrel@webmail.hostingdiscounter.nl> Try and widen your MAP->EXTENT. Best regards, Bart > Roy, Jukka, List, > > I've tried adding extents to each layer: no succes > I've > > "gml_include_items" "all" > "gml_featureid" "geoidn" > > in the layer metadata > > MArco > > Here is a snippet of the mapfile: > > MAP > NAME "NL.IMRO.0026.SVBBU-0001" > IMAGETYPE png > UNITS METERS > EXTENT 155016 467631 156758 470080 > PROJECTION > "init=epsg:28992" > END > > WEB > METADATA > "ows_title" "NL.IMRO.0026.SVBBU-0001" > "wms_onlineresource" > "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" > "wfs_onlineresource" > "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" > > "wfs_srs" "EPSG:28992" > "wms_srs" "EPSG:28992" > END > END > LAYER > name "geoidNL.IMRO.0026.SVBBU-0001_vlak" > > GROUP "geoidNL.IMRO.0026.SVBBU-0001" > > PROJECTION > "init=epsg:28992" > END > > EXTENT 155016 467631 156758 470080 > > METADATA > "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" > "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" > "gml_include_items" "all" > "gml_featureid" "geoidn" > END > > STATUS off > TYPE polygon > DUMP true > > CONNECTIONTYPE postgis > CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" > DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique > geoidn using srid=28992' > FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" > OPACITY 30 > TEMPLATE "dummy.html" > CLASS > STYLE > COLOR 0 0 0 > OUTLINECOLOR 255 0 0 > END > END > END > > > > > Rahkonen Jukka schreef: >> Hi, >> >> Do you have something in "gml_include_items" in the layer metadata? >> >> -Jukka Rahkonen- >> >> DeDuikertjes wrote: >> >> Roy, List, >> >> i'm using MapServer version 5.1-dev >> >> I've set the map extent. I did not set layer extents. Is that necessary? >> >> MArco >> >> Roy Braam schreef: >> >>> What version of mapserver are you using? Have you set the map extent >>> and layer extents? >>> >>> Roy >>> >>> >>> _____ >>> >>> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >>> To: mapserver-users at lists.osgeo.org >>> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >>> Subject: [mapserver-users] WFS returning empty features >>> >>> Dear List, >>> >>> I've mapserver all set up. >>> The mapfile is working and produces a nice and working WMS. >>> >>> The WFS is giving me troubles. >>> It returns a valid capabilities document with no warnings >>> A getfeature request returns GML, with the bounds defined, but >>> otherwise >>> with NO features. >>> This for a layer which draws perfectly well in the WMS. >>> >>> uDig sees all colums (attributes) of the layer, but every column is >>> empty. >>> >>> I've not a clue what I am doing wrong. >>> >>> any help greatly appreciated. >>> >>> MArco >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From mlinden at zeelandnet.nl Wed Jun 24 06:51:42 2009 From: mlinden at zeelandnet.nl (mlinden at zeelandnet.nl) Date: Wed, 24 Jun 2009 15:51:42 +0200 (CEST) Subject: [mapserver-users] WFS returning empty features In-Reply-To: <20090624131535.68075a44@kmail.b3partners.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> Message-ID: <38312.89.250.178.18.1245851502.squirrel@secure.zeelandnet.nl> Do as Roy says. Calculate (with a postgis query) the extent of ALL the features for the given layer. Use this extent to set the "wms_extent" (do not know if I name it correctly, no access to my development machine at this moment). This will help mapserver find objects. > What version of mapserver are you using? Have you set the map extent and > layer extents? > > Roy > > > _____ > > From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] > To: mapserver-users at lists.osgeo.org > Sent: Wed, 24 Jun 2009 15:12:29 +0200 > Subject: [mapserver-users] WFS returning empty features > > Dear List, > > I've mapserver all set up. > The mapfile is working and produces a nice and working WMS. > > The WFS is giving me troubles. > It returns a valid capabilities document with no warnings > A getfeature request returns GML, with the bounds defined, but otherwise > with NO features. > This for a layer which draws perfectly well in the WMS. > > uDig sees all colums (attributes) of the layer, but every column is > empty. > > I've not a clue what I am doing wrong. > > any help greatly appreciated. > > MArco > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > Milo van der Linden SomaFM From jpass at bgs.ac.uk Wed Jun 24 06:45:59 2009 From: jpass at bgs.ac.uk (Passmore, James H) Date: Wed, 24 Jun 2009 14:45:59 +0100 Subject: [mapserver-users] Non-conformant behaviour with MapServer 5.4 WMS 1.3.0 GetCapabilities response? In-Reply-To: <20090624092425.6F70AE01C05@lists.osgeo.org> References: <20090624092425.6F70AE01C05@lists.osgeo.org> Message-ID: <4DC99887ECFBA1499899FACCDFF7F21A02662E1C9A@nerckwmb1.ad.nerc.ac.uk> I've been trying to force my 1.3.0 GetCapabilities response to have a element, discussing the wisdom of this is another post but I've noticed that if I don't specify a projection specified in the proj4 files, I don't get any element, though I do get an ... Looking at the OpenGIS Web Map Server Implementation Specification Version 1.3.0 (OGC 06-042) Section 7.2.4.6.8 'WMS service metadata shall declare one or more bounding boxes (as defined in 6.7.4) for each Layer. A Bounding Box metadata element may either be stated explicitly or may be inherited from a parent Layer....' and also 'The element (see 7.2.4.6.6) is conceptually similar to a BoundingBox in which the attribute CRS="CRS:84" is implicit. However, shall not be used as a substitute for . If the server wishes to provide bounding box information in the CRS:84 CRS, then a separate BoundingBox element explicitly naming CRS:84 shall be included in the service metadata.' Though the schema has BoundingBox as optional, it should be noted that in case of conflict with the main body of the International Standard, the main body takes precedence (as below). e.g. 'E.1 WMS Capabilities XML schema This annex contains the XML schema for WMS capabilities against which service metadata from a server compliant with this International Standard may be validated. Comments and documentation elements in the schema are informative; in case of conflict with the main body of this International Standard, the main body takes precedence.' ... ... I'm using MapServer 5.4.0-rc2, but I don't see anything mentioning this in the changelog to version 5.4.1 so I assume this is a new issue, and another change in behaviour from WMS 1.1.1 (OGC 01-068r3 7.1.4.5.7 BoundingBox ~ Layers may have zero or more elements that are either stated explicitly or inherited from a parent Layer). Do I need to raise a ticket in the issue tracker? James James Passmore GIS and WWW Specialist Information Systems and Infrastructure, British Geological Survey, http://www.bgs.ac.uk/ 0115 936 3125 -- This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. From DeDuikertjes at xs4all.nl Wed Jun 24 06:57:26 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 15:57:26 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <38312.89.250.178.18.1245851502.squirrel@secure.zeelandnet.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <38312.89.250.178.18.1245851502.squirrel@secure.zeelandnet.nl> Message-ID: <4A4230C6.4010909@xs4all.nl> Mlinden, Thanks, did set the wfs_extent as I expected you to have suggested that . No succes. Widened als Bart suggested, No succes. It's doing something as the bounding box changes. MArco mlinden at zeelandnet.nl schreef: > Do as Roy says. > > Calculate (with a postgis query) the extent of ALL the features for the > given layer. > Use this extent to set the "wms_extent" (do not know if I name it > correctly, no access to my development machine at this moment). > > This will help mapserver find objects. > > >> What version of mapserver are you using? Have you set the map extent and >> layer extents? >> >> Roy >> >> >> _____ >> >> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >> To: mapserver-users at lists.osgeo.org >> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >> Subject: [mapserver-users] WFS returning empty features >> >> Dear List, >> >> I've mapserver all set up. >> The mapfile is working and produces a nice and working WMS. >> >> The WFS is giving me troubles. >> It returns a valid capabilities document with no warnings >> A getfeature request returns GML, with the bounds defined, but otherwise >> with NO features. >> This for a layer which draws perfectly well in the WMS. >> >> uDig sees all colums (attributes) of the layer, but every column is >> empty. >> >> I've not a clue what I am doing wrong. >> >> any help greatly appreciated. >> >> MArco >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > Milo van der Linden > > src="http://somafm.com/linktous/450x25sfm1.gif" alt="SomaFM" border=0 > width=450 height=25 > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From pauljame at gmail.com Wed Jun 24 07:04:58 2009 From: pauljame at gmail.com (Paul james) Date: Wed, 24 Jun 2009 11:04:58 -0300 Subject: [mapserver-users] Querying map using CGI ... In-Reply-To: <4A410C3E.5157.008F.0@dnr.state.mn.us> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> Message-ID: <33fad6880906240704t5e9745afo53deb2f95d3f5608@mail.gmail.com> Thanks Steve! Thats grea... But I?m looking for more material about that, without sucefully... Could you point me docs/tutorial/specification about templates/query? Paul On Tue, Jun 23, 2009 at 7:09 PM, Steve Lime wrote: > The CGI provides to results via templates. Templates operate on the > resultCacheMemberObj > contents and do a layer.getFeature behind the scenes. You need only > concern yourself > with the presentation piece. Through templates you can: > > - output, and to a certain extent format, attributes > - output and format coordinates and bounding boxes > - limit the number of features output > - control output order of layers > - define custom mime-types > > RFC 36 is a good place to start for the newer template support. I think > I've posted a few > examples to the list as well. > (http://mapserver.org/development/rfc/ms-rfc-36.html) > > Steve > > >>> On 6/23/2009 at 9:42 AM, in message > <33fad6880906230742o2036ea6ctae3a3cc003145984 at mail.gmail.com>, Paul > james > wrote: > > Thanks Steve! Great explanation! > > But, in mapscript I got the query?s result getting > resultCacheMemberObj and > > layer.getFeature... > > How can I do something like that using cgi? > > > > Paul > > > > > > On Mon, Jun 22, 2009 at 6:29 PM, Steve Lime > wrote: > > > >> Querying is controlled via the mode parameter. Mode=query does a > point > >> query returning at most 1 result in one layer. Mode=nquery allows > you > >> to query multiple layers and return multiple results from either a > point or > >> a rect. MapServer looks at the various additional supplied > parameters to > >> decide whether to do a point or rect query. > >> > >> For example, this url will drop a point through all queryable layers > that > >> have status DEFAULT (since I'm not explicitly turning anything on) > >> > >> > http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapxy=x+y&mode=nquery > > >> > >> and this will do a bbox query: > >> > >> > >> > > > > http://mapserv.org/cgi-bin/mapserv?map=foo.map&mapext=minx+miny+maxx+maxy&mode=n > > > query > >> > >> You can turn layers on with the layer or layers parameters and can > restrict > >> queries to one layer (if necessary) using qlayer. > >> > >> mode=query ~ queryByPoint with MS_SINGLE > >> mode=nquery ~ queryByPoint with MS_MULTIPLE or queryByRect > >> > >> The qlayer parameter has the effect of running the query methods on > a > >> layerObj while without it you're running on the whole mapObj. > >> > >> Does this help? > >> > >> Steve > >> > >> >>> On 6/22/2009 at 4:02 PM, in message > >> <33fad6880906221402qde8375bj252c48b367d7eb4d at mail.gmail.com>, Paul > james > >> wrote: > >> > Hello guys, I pretty lost with CGI... > >> > Using mapscript, I can get query results with functions > queryByPoint and > >> > queryByRect... > >> > How can I do that in CGI mode? > >> > > >> > Thanks > >> > > >> > Paul > >> > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From DeDuikertjes at xs4all.nl Wed Jun 24 07:07:37 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 16:07:37 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <4A422BD5.9020208@neogeo-online.net> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <4A422BD5.9020208@neogeo-online.net> Message-ID: <4A423329.1050506@xs4all.nl> Guillaume, Tried that. I did a selection on the columns. No features, but stranger still, uDig sees all the columns. That shouldn't be possible. Might there be a problem with the grouping of the layers which is somehow connected. In the WMS the layers get grouped as specified, in the WFS they don't. MArco Guillaume Sueur schreef: > Hi, > > Just an idea cause your layer looks ok : > try to specify your columns names in the "gml_include_items" thing. > > and check it out > > hope it helps > > Guillaume > > DeDuikertjes a ?crit : >> Roy, Jukka, List, >> >> I've tried adding extents to each layer: no succes >> I've >> >> "gml_include_items" "all" >> "gml_featureid" "geoidn" >> >> in the layer metadata >> >> MArco >> >> Here is a snippet of the mapfile: >> >> MAP >> NAME "NL.IMRO.0026.SVBBU-0001" >> IMAGETYPE png >> UNITS METERS >> EXTENT 155016 467631 156758 470080 >> PROJECTION >> "init=epsg:28992" >> END >> WEB METADATA >> "ows_title" "NL.IMRO.0026.SVBBU-0001" >> "wms_onlineresource" >> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >> >> "wfs_onlineresource" >> "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001.map&" >> >> >> "wfs_srs" "EPSG:28992" >> "wms_srs" "EPSG:28992" >> END >> END >> LAYER >> name "geoidNL.IMRO.0026.SVBBU-0001_vlak" >> >> GROUP "geoidNL.IMRO.0026.SVBBU-0001" >> >> PROJECTION >> "init=epsg:28992" >> END >> >> EXTENT 155016 467631 156758 470080 >> >> METADATA >> "ows_group_title" "geoidNL.IMRO.0026.SVBBU-0001" >> "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" >> "gml_include_items" "all" >> "gml_featureid" "geoidn" >> END >> >> STATUS off >> TYPE polygon >> DUMP true >> >> CONNECTIONTYPE postgis >> CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" >> DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique >> geoidn using srid=28992' >> FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" >> OPACITY 30 >> TEMPLATE "dummy.html" >> CLASS >> STYLE >> COLOR 0 0 0 >> OUTLINECOLOR 255 0 0 >> END >> END >> END >> >> >> >> >> Rahkonen Jukka schreef: >>> Hi, >>> >>> Do you have something in "gml_include_items" in the layer metadata? >>> >>> -Jukka Rahkonen- >>> >>> DeDuikertjes wrote: >>> >>> Roy, List, >>> >>> i'm using MapServer version 5.1-dev >>> >>> I've set the map extent. I did not set layer extents. Is that >>> necessary? >>> >>> MArco >>> >>> Roy Braam schreef: >>> >>>> What version of mapserver are you using? Have you set the map >>>> extent and layer extents? >>>> Roy >>>> >>>> >>>> _____ From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] >>>> To: mapserver-users at lists.osgeo.org >>>> Sent: Wed, 24 Jun 2009 15:12:29 +0200 >>>> Subject: [mapserver-users] WFS returning empty features >>>> >>>> Dear List, >>>> I've mapserver all set up. >>>> The mapfile is working and produces a nice and working WMS. >>>> The WFS is giving me troubles. >>>> It returns a valid capabilities document with no warnings >>>> A getfeature request returns GML, with the bounds defined, but >>>> otherwise with NO features. >>>> This for a layer which draws perfectly well in the WMS. >>>> uDig sees all colums (attributes) of the layer, but every >>>> column is empty. >>>> I've not a clue what I am doing wrong. >>>> any help greatly appreciated. >>>> MArco >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > From Tom.Kralidis at ec.gc.ca Wed Jun 24 07:20:36 2009 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Wed, 24 Jun 2009 10:20:36 -0400 Subject: [mapserver-users] Non-conformant behaviour with MapServer 5.4 WMS 1.3.0 GetCapabilities response? In-Reply-To: <4DC99887ECFBA1499899FACCDFF7F21A02662E1C9A@nerckwmb1.ad.nerc.ac.uk> References: <20090624092425.6F70AE01C05@lists.osgeo.org> <4DC99887ECFBA1499899FACCDFF7F21A02662E1C9A@nerckwmb1.ad.nerc.ac.uk> Message-ID: <23842457308FD64AA88A8EE62F2A7D5BD742FF@OntExch3.ontario.int.ec.gc.ca> > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of > Passmore, James H > Sent: Wednesday, 24 June 2009 09:46 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Non-conformant behaviour with > MapServer 5.4 WMS 1.3.0 GetCapabilities response? > > I've been trying to force my 1.3.0 GetCapabilities response > to have a element, discussing > the wisdom of this is another post but I've noticed that if I > don't specify a projection specified in the proj4 files, I > don't get any element, though I do get an > ... > Can you send along an example mapfile / snippet? > Looking at the OpenGIS Web Map Server Implementation > Specification Version 1.3.0 (OGC 06-042) Section 7.2.4.6.8 > > 'WMS service metadata shall declare one or more bounding > boxes (as defined in 6.7.4) for each Layer. > A Bounding Box metadata element may either be stated > explicitly or may be inherited from a parent Layer....' > > and also > > 'The element (see 7.2.4.6.6) is > conceptually similar to a BoundingBox in which > the attribute CRS="CRS:84" is implicit. However, > shall not be used as a > substitute for . If the server > wishes to provide bounding box information in the > CRS:84 CRS, then a separate BoundingBox element explicitly > naming CRS:84 shall be included in the service > metadata.' > Out of interest, can you elaborate on why EX_GeographicBoundingBox is not suitable, given the implicity of the CRS? > Though the schema has BoundingBox as optional, it should be > noted that in case of conflict with the main body of the > International Standard, the main body takes precedence (as below). > Norm: have you found that any of the OGC CITE WMS 1.3.0 assertions fail related to this? > e.g. > 'E.1 WMS Capabilities XML schema > This annex contains the XML schema for WMS capabilities > against which service metadata from a server > compliant with this International Standard may be validated. > Comments and documentation elements in the > schema are informative; in case of conflict with the main > body of this International Standard, the main body takes > precedence.' > ... > > > > > > > > > > > > > > > maxOccurs="unbounded"/> > > > > > > ... > > I'm using MapServer 5.4.0-rc2, but I don't see anything > mentioning this in the changelog to version 5.4.1 so I assume > this is a new issue, and another change in behaviour from WMS > 1.1.1 (OGC 01-068r3 7.1.4.5.7 BoundingBox ~ Layers may have > zero or more elements that are either stated > explicitly or inherited from a parent Layer). > > Do I need to raise a ticket in the issue tracker? > I would like to run this by the wms-dev mailing list for comments first, and will report back. You can always write a MapScript WxS wrapper (see http://www.mapserver.org/ogc/mapscript.html) to create custom Capabilities XML as per your requirements, as an interim workaround. Cheers ..Tom From DeDuikertjes at xs4all.nl Wed Jun 24 07:29:24 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Wed, 24 Jun 2009 16:29:24 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <4A423329.1050506@xs4all.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <4A422BD5.9020208@neogeo-online.net> <4A423329.1050506@xs4all.nl> Message-ID: <4A423844.8040901@xs4all.nl> List, To help on debugging I've forced an error in the postgis connection te see the actual query. This is: 'DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001x" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(140016 460631,166758 490080)'::BOX3D,28992) )' I've also got rid off all destracting details so I've ended up with the mapfile on the end of this message. MArco MAP NAME "NL.IMRO.0026.SVBBU-0001" IMAGETYPE png UNITS METERS EXTENT 140016 460631 166758 490080 PROJECTION "init=epsg:28992" END WEB METADATA "ows_title" "NL.IMRO.0026.SVBBU-0001" "wms_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&" "wfs_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&" "wfs_srs" "EPSG:28992" "wms_srs" "EPSG:28992" END END LAYER name "geoidNL.IMRO.0026.SVBBU-0001_vlak" PROJECTION "init=epsg:28992" END METADATA "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" "gml_include_items" "geoidn,idealisatie" #"gml_featureid" "geoidn" "wfs_featureid" "geoidn" "wfs_extent" "140016 460631 166758 490080" END STATUS on TYPE polygon DUMP true CONNECTIONTYPE postgis CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992' FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" TEMPLATE "dummy.html" CLASS STYLE COLOR 0 0 0 OUTLINECOLOR 255 0 0 END END END END From jpass at bgs.ac.uk Wed Jun 24 08:08:24 2009 From: jpass at bgs.ac.uk (Passmore, James H) Date: Wed, 24 Jun 2009 16:08:24 +0100 Subject: [mapserver-users] Non-conformant behaviour with MapServer 5.4 WMS 1.3.0 GetCapabilities response? In-Reply-To: <23842457308FD64AA88A8EE62F2A7D5BD742FF@OntExch3.ontario.int.ec.gc.ca> References: <20090624092425.6F70AE01C05@lists.osgeo.org> <4DC99887ECFBA1499899FACCDFF7F21A02662E1C9A@nerckwmb1.ad.nerc.ac.uk> <23842457308FD64AA88A8EE62F2A7D5BD742FF@OntExch3.ontario.int.ec.gc.ca> Message-ID: <4DC99887ECFBA1499899FACCDFF7F21A02662E1D63@nerckwmb1.ad.nerc.ac.uk> Hi Tom, Thanks for your speedy response > Can you send along an example mapfile / snippet? My Mapfile begins: MAP NAME "ONEGEOLOGY" STATUS on SIZE 800 400 EXTENT 59.7812 26.9152 75.5985 40.9476 UNITS dd SHAPEPATH "data" IMAGECOLOR 255 255 255 IMAGETYPE png RESOLUTION 96 PROJECTION # we created a file 'crs' put in the nad folder and copied the epsg 4326 content from the epsg file "init=crs:84" #"proj=longlat" #"ellps=WGS84" #"datum=WGS84" #"no_defs" END #projection DEBUG on OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END WEB HEADER "myheader..." FOOTER "myfooter..." IMAGEPATH "mypath..." IMAGEURL "myvirtualdir..." LOG "pathtolog" METADATA MAX_EXTENTS "59.443 26.4857 75.7411 41.2513" OWS_TITLE "AGS Bedrock and Structural geology" OWS_ABSTRACT "AGS 1:1 million scale Bedrock and Structural geology of Afghanistan" OWS_KEYWORDLIST "OneGeology,geology,map,Afghanistan,bedrock,structural,faults,age" OWS_CONTACTPERSON "The Director General" OWS_CONTACTORGANIZATION "Afghanistan Geological Survey" OWS_ADDRESSTYPE "postal" OWS_ADDRESS "Afghanistan Geological Survey building, next to slaughter house, Jalalabad road" OWS_CITY "Kabul" OWS_STATEORPROVINCE "Kabul" OWS_POSTCODE "District 9" OWS_COUNTRY "Afghanistan" OWS_FEES "none" OWS_ACCESSCONSTRAINTS "The 1:1,000,000 map data is available for free download for your personal, teaching, research or non-commercial use. Your use of any information provided by the Afghanistan Geological Survey (AGS) is at your own risk. The AGS gives no warranty, condition or representation as to the quality, accuracy or completeness of the information or its suitability for any use or purpose. All implied conditions relating to the quality or suitability of the information, and all liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law." OWS_FEATURE_INFO_MIME_TYPE "text/html" OWS_SRS "CRS:84 EPSG:32641 EPSG:32642 EPSG:32643" END #metadata END #web LEGEND OUTLINECOLOR 200 200 200 KEYSPACING 10 10 LABEL TYPE bitmap SIZE small END #Label END #Legend LAYER NAME "AFG_AGS_1M_BLS" GROUP "Bedrock" DATA "1MgeolbyLCe4326" TYPE polygon STATUS off #TRANSPARENCY 100 OPACITY 100 TOLERANCE 0 TOLERANCEUNITS pixels TRANSFORM true DUMP true # return GML format HEADER "mypath..." TEMPLATE "mypath..." PROJECTION "proj=longlat" "ellps=WGS84" "datum=WGS84" "no_defs" END #projection METADATA GML_INCLUDE_ITEMS "L_CODE" GML_FEATUREID "GID" OWS_TITLE "AFG AGS 1:1M Bedrock Lithostratigraphy" OWS_SRS "CRS:84 EPSG:32641 EPSG:32642 EPSG:32643" ... The GetCapabilities response is: http://194.66.252.156/cgi-bin/AGS_Bedrock_and_Structural_Geology/wms?service=WMS&version=1.3.0&request=GetCapabilities& >Out of interest, can you elaborate on why EX_GeographicBoundingBox is >not suitable, given the implicity of the CRS? Well, I'm not sure why the OGC standard states this requirement, and there is probably more than one reason, however I'm guessing that if at least one BoundingBox is required, we should assume that WMS conformant clients might expect it, and then error if it doesn't exist. More importantly, what happens if I don't want to use CRS:84 but some other projection? > You can always write a MapScript WxS wrapper (see > http://www.mapserver.org/ogc/mapscript.html) to create custom > Capabilities XML as per your requirements, as an interim workaround. Thanks James -- This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. From Steve.Lime at dnr.state.mn.us Wed Jun 24 09:13:17 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Wed, 24 Jun 2009 11:13:17 -0500 Subject: [mapserver-users] label sizes not scaling In-Reply-To: <8FD90A8C-99C0-4602-AAD0-9D2C35584B31@remoteinformation.com.au> References: <8FD90A8C-99C0-4602-AAD0-9D2C35584B31@remoteinformation.com.au> Message-ID: <4A420A51.5157.008F.0@dnr.state.mn.us> You need to set a SYMBOLSCALE at the layer level. That's the scale denominator (e.g. 100000) at which a label SIZE will be equal to what you set in the mapfile. As you move away from that value the labels will get larger or smaller. Steve >>> On 6/24/2009 at 3:44 AM, in message <8FD90A8C-99C0-4602-AAD0-9D2C35584B31 at remoteinformation.com.au>, Ben Madin wrote: > G'day all, > > using mapserver 5.4 as a WMS server (to an openlayers application) I > don't seem to be able to get any scaling of labels. > > If I set SIZE 10, they are 10 pixel. If I don't set any size params, > they are 4. If I set minsize, they are minsize (but the ALIGN is > poor). if I set minsize 8 and size 10, they are size 10 and the ALIGN > is pretty good. > > I'm actually projecting a network graph, so it would be good to be > able to see the priority labels when zoomed out, and the others when > zoomed in, but at a legible (and sensible) size. > > I'm not sure where to start - is it MapServer, WMS, OpenLayers, or a > false sense I had that this was how it should work... > > cheers > > Ben > > (Mapfile layer (it's postgis): > > NAME "titles" > DEBUG 2 > GROUP "Nodes" > SIZEUNITS PIXELS > METADATA > layer_title "titles" > layer_order "1" > "wms_title" "titles" > "wms_srs" "EPSG:4326" > "wms_group_title" "Nodes" > END > DATA "polys FROM ( > SELECT n.id, n.title, n.description, colourhex, n.geom, > n.rating, > setsrid(n.polygeom, 4326) as polys > FROM nodes n > LEFT OUTER JOIN categories c > ON n.category::int = c.id > AND c.del = 0 > WHERE n.del = 0 > AND n.graphid = %GRAPHID% > ) AS foo USING UNIQUE id USING srid=4326" > TYPE ANNOTATION > STATUS ON > LABELITEM "title" > LABELCACHE ON > CLASS > LABEL > MAXLENGTH 7 > WRAP " " > ALIGN center > BUFFER 5 > MINSIZE 8 > SIZE 10 > MAXSIZE 24 > COLOR 0 40 0 > PRIORITY [rating] > PARTIALS FALSE > TYPE TRUETYPE > FONT lucida > END > END > ) From schatterjee at addisontx.gov Wed Jun 24 13:19:11 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Wed, 24 Jun 2009 15:19:11 -0500 Subject: [mapserver-users] display an imagery Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15A8@sc-exchange.addisongov.org> Hi all, I am trying to display an imagery with mapserver. But I am not able to see the image. My Mapfile is as shown: # Start of map file # MAP NAME ADDISON STATUS ON SIZE 600 600 EXTENT 2445459.07136253 7001896.96486324 2514178.54806653 7070616.44156724 UNITS FEET SHAPEPATH "C:/ms4w/Apache/htdocs/mapservertest/data" IMAGECOLOR 255 255 255 TEMPLATEPATTERN "addison" PROJECTION "init=epsg:4326" END OUTPUTFORMAT NAME png DRIVER "AGG/PNG" IMAGEMODE RGBA EXTENSION "png" END WEB # HEADER templates/header.html TEMPLATE "set in index.html" MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "c:/ms4w/Apache/htdocs/test/" IMAGEURL "/test/" END LAYER NAME "hpool" TYPE RASTER STATUS ON TILEINDEX "ras_index.shp" TILEITEM "location" PROCESSING "BANDS=4,2,1" PROCESSING "SCALE=AUTO" END END If anybody can help me in getting the RASTER to work that will be great. Thanks Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bob.Bistrais at maine.gov Wed Jun 24 13:42:03 2009 From: Bob.Bistrais at maine.gov (Bistrais, Bob) Date: Wed, 24 Jun 2009 16:42:03 -0400 Subject: [mapserver-users] Trouble with SDE queryByAttributes Message-ID: <4EFF8BB964547748A07CA32961810C0412C4890C@SOM-TEAQASMAIL1.som.w2k.state.me.us> I'm having trouble performing a queryByAttributes on an SDE layer. The layer displays properly, but when I attempt to query on an attribute, it returns no results. If I use a shape files of the exact same layer, the query works fine. Does anyone have any suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Wed Jun 24 14:46:00 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Thu, 25 Jun 2009 00:46:00 +0300 Subject: [mapserver-users] display an imagery References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15A8@sc-exchange.addisongov.org> Message-ID: Hi, Start from a simple case, make it to work and add more features afterwords. Some suggestions: - Use just one image in the beginning instead of tileindex - Check the extents and projection of the image with gdalinfo - Start with using the same projection as input and output - Use absolute path to image - Add DEBUG to layer definitions - Test with shp2img By a quick look these setting cannot be right (projection and extents do not suit): EXTENT 2445459.07136253 7001896.96486324 2514178.54806653 7070616.44156724 UNITS FEET PROJECTION "init=epsg:4326" -Jukka Rahkonen- Suman Chatterjee Hi all, I am trying to display an imagery with mapserver. But I am not able to see the image. My Mapfile is as shown: # Start of map file # MAP NAME ADDISON STATUS ON SIZE 600 600 EXTENT 2445459.07136253 7001896.96486324 2514178.54806653 7070616.44156724 UNITS FEET SHAPEPATH "C:/ms4w/Apache/htdocs/mapservertest/data" IMAGECOLOR 255 255 255 TEMPLATEPATTERN "addison" PROJECTION "init=epsg:4326" END OUTPUTFORMAT NAME png DRIVER "AGG/PNG" IMAGEMODE RGBA EXTENSION "png" END WEB # HEADER templates/header.html TEMPLATE "set in index.html" MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "c:/ms4w/Apache/htdocs/test/" IMAGEURL "/test/" END LAYER NAME "hpool" TYPE RASTER STATUS ON TILEINDEX "ras_index.shp" TILEITEM "location" PROCESSING "BANDS=4,2,1" PROCESSING "SCALE=AUTO" END END If anybody can help me in getting the RASTER to work that will be great. Thanks Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* From ben at remoteinformation.com.au Wed Jun 24 17:32:37 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Thu, 25 Jun 2009 08:32:37 +0800 Subject: [mapserver-users] label sizes not scaling In-Reply-To: <4A420A51.5157.008F.0@dnr.state.mn.us> References: <8FD90A8C-99C0-4602-AAD0-9D2C35584B31@remoteinformation.com.au> <4A420A51.5157.008F.0@dnr.state.mn.us> Message-ID: <6D79FB10-7F36-43E6-9567-4A4E289F7E70@remoteinformation.com.au> Thanks Steve, I can now go back to about 20 different map files floating around the internet and get this working. For some reason after nearly five years of using MapServer I'd never worked this out! I might trac this for addition to the docs - cheers Ben On 25/06/2009, at 12:13 AM, Steve Lime wrote: > You need to set a SYMBOLSCALE at the layer level. That's the scale > denominator (e.g. 100000) at > which a label SIZE will be equal to what you set in the mapfile. As > you move away from that value > the labels will get larger or smaller. > > Steve > >>>> On 6/24/2009 at 3:44 AM, in message > <8FD90A8C-99C0-4602-AAD0-9D2C35584B31 at remoteinformation.com.au>, Ben > Madin > wrote: >> >> using mapserver 5.4 as a WMS server (to an openlayers application) I >> don't seem to be able to get any scaling of labels. -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... From wendell at enflight.com Wed Jun 24 19:01:34 2009 From: wendell at enflight.com (Wendell Turner) Date: Wed, 24 Jun 2009 19:01:34 -0700 Subject: [mapserver-users] need help with query Message-ID: <20090625020133.GA23378@q.rho.net> I can't seem to get queries to work. I'm trying to query mapserver from Openlayers. I started with a query function posted by Arnd Wippermann here: http://openlayers.org/pipermail/users/2008-November/008942.html It sends a query like this: http://myserver.com/cgi-bin/mapserv? map=/home/mydir/ms/mymap.map& mode=nquery& layers=layer1+layer2+layer3& map_projection=init=EPSG:3395& mapext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253& imgext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253& map_size=1000+1000& imgxy=1000+1000& imgbox=0+0+1000+1000 I've guessed at lots of the parameters, but always get: msQueryByRect(): Search returned no results. No matching record(s) found. Is there something wrong with the query? Does there need to be a qlayers parameter? I tried that and it had no effect. (Is it qlayer or qlayers?) The mapserver docs don't mention a map_projection cgi parameter. Thanks, Wendell MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE From Steve.Lime at dnr.state.mn.us Wed Jun 24 21:48:14 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Wed, 24 Jun 2009 23:48:14 -0500 Subject: [mapserver-users] need help with query Message-ID: <4A42BB3E0200008F00025619@co5.dnr.state.mn.us> I'll start with the obvious questions: 1) are the layers queryable (e.g. is a TEMPLATE set?) 2) do the layers have a projection block? OR 3) are they all EPSG:3395? I've had good luck with this approach so I know it can work. Steve >>> Wendell Turner 06/24/09 9:02 PM >>> I can't seem to get queries to work. I'm trying to query mapserver from Openlayers. I started with a query function posted by Arnd Wippermann here: http://openlayers.org/pipermail/users/2008-November/008942.html It sends a query like this: http://myserver.com/cgi-bin/mapserv? map=/home/mydir/ms/mymap.map& mode=nquery& layers=layer1+layer2+layer3& map_projection=init=EPSG:3395& mapext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253& imgext=-8782565.0796543+4678491.6689236+-8551269.8497526+4909786.8988253& map_size=1000+1000& imgxy=1000+1000& imgbox=0+0+1000+1000 I've guessed at lots of the parameters, but always get: msQueryByRect(): Search returned no results. No matching record(s) found. Is there something wrong with the query? Does there need to be a qlayers parameter? I tried that and it had no effect. (Is it qlayer or qlayers?) The mapserver docs don't mention a map_projection cgi parameter. Thanks, Wendell MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From gluker at scu.edu.au Wed Jun 24 23:49:27 2009 From: gluker at scu.edu.au (Greg Luker) Date: Thu, 25 Jun 2009 16:49:27 +1000 Subject: [mapserver-users] javascript query template examples In-Reply-To: <4A410C3E.5157.008F.0@dnr.state.mn.us> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> Message-ID: <200906250649.n5P6nCsN007609@atom.scu.edu.au> Hi mapserver-users, Steve Lime has indeed explained bits of using javascript in CGI query templates, but I'm still lost. Are there any examples showing how to use javascript in a query template to do things like, for example, format the returned query result list to remove duplicate records? Thanks, Greg. Greg Luker GIS Lab Manager, Southern Cross University Lismore, AUSTRALIA. gluker at scu.edu.au phone 61 2 66203026 From roybraam at b3partners.nl Wed Jun 24 23:54:48 2009 From: roybraam at b3partners.nl (Roy Braam) Date: Thu, 25 Jun 2009 08:54:48 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: 4A423844.8040901@xs4all.nl Message-ID: <20090625065448.131491c6@kmail.b3partners.nl> I compared your not working mapfile with one i'm using that is working. Some suggestions: - add in you map/web/metadata a "wfs_extent" - add a EXTENT to your layer Roy _____ From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl] To: mapserver-users at lists.osgeo.org Sent: Wed, 24 Jun 2009 16:29:24 +0200 Subject: Re: [mapserver-users] WFS returning empty features List, To help on debugging I've forced an error in the postgis connection te see the actual query. This is: 'DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001x" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(140016 460631,166758 490080)'::BOX3D,28992) )' I've also got rid off all destracting details so I've ended up with the mapfile on the end of this message. MArco MAP NAME "NL.IMRO.0026.SVBBU-0001" IMAGETYPE png UNITS METERS EXTENT 140016 460631 166758 490080 PROJECTION "init=epsg:28992" END WEB METADATA "ows_title" "NL.IMRO.0026.SVBBU-0001" "wms_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&" "wfs_onlineresource" "http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&" "wfs_srs" "EPSG:28992" "wms_srs" "EPSG:28992" END END LAYER name "geoidNL.IMRO.0026.SVBBU-0001_vlak" PROJECTION "init=epsg:28992" END METADATA "ows_title" "geoidNL.IMRO.0026.SVBBU-0001_vlak" "gml_include_items" "geoidn,idealisatie" #"gml_featureid" "geoidn" "wfs_featureid" "geoidn" "wfs_extent" "140016 460631 166758 490080" END STATUS on TYPE polygon DUMP true CONNECTIONTYPE postgis CONNECTION "host=localhost user=tc_check dbname=80.101.100.35" DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992' FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'" TEMPLATE "dummy.html" CLASS STYLE COLOR 0 0 0 OUTLINECOLOR 255 0 0 END END END END _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From wendell at enflight.com Thu Jun 25 07:24:37 2009 From: wendell at enflight.com (Wendell Turner) Date: Thu, 25 Jun 2009 07:24:37 -0700 Subject: [mapserver-users] need help with query In-Reply-To: <4A42BB3E0200008F00025619@co5.dnr.state.mn.us> References: <4A42BB3E0200008F00025619@co5.dnr.state.mn.us> Message-ID: <20090625142437.GA3620@q.rho.net> On Wed, Jun 24, 2009 at 11:48:14PM -0500, Steve Lime wrote: > I'll start with the obvious questions: > > 1) are the layers queryable (e.g. is a TEMPLATE set?) Umm..., it wasn't obvious to me. That was it. I had a template for the map, but didn't realize that each layer needed a template also. Thanks! Wendell From c.declercq at alkante.com Thu Jun 25 08:04:28 2009 From: c.declercq at alkante.com (Charlotte Declercq) Date: Thu, 25 Jun 2009 17:04:28 +0200 Subject: [mapserver-users] geotransform Message-ID: <4A4391FC.60300@alkante.com> Hello, Do someone know when this is going to be in a stable mapserver version? http://mapserver.org/development/rfc/ms-rfc-48.html I need to represent polygons as points in their centroids. Thanks, -- Charlotte DECLERCQ ALKANTE SAS Ing?nieur R&D SIG 1, rue du Ch?ne Morand 35 510 Cesson-S?vign? Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 From Steve.Lime at dnr.state.mn.us Thu Jun 25 08:06:12 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Thu, 25 Jun 2009 10:06:12 -0500 Subject: [mapserver-users] need help with query In-Reply-To: <20090625142437.GA3620@q.rho.net> References: <4A42BB3E0200008F00025619@co5.dnr.state.mn.us> <20090625142437.GA3620@q.rho.net> Message-ID: <4A434C18.5157.008F.0@dnr.state.mn.us> You need some way of presenting the results of the query, hence the use of the template keyword... Glad it was an easy fix though. Steve >>> On 6/25/2009 at 9:24 AM, in message <20090625142437.GA3620 at q.rho.net>, Wendell Turner wrote: > On Wed, Jun 24, 2009 at 11:48:14PM -0500, Steve Lime wrote: >> I'll start with the obvious questions: >> >> 1) are the layers queryable (e.g. is a TEMPLATE set?) > > Umm..., it wasn't obvious to me. That was it. I had a > template for the map, but didn't realize that each layer > needed a template also. > > Thanks! > > Wendell > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.bonfort at camptocamp.com Thu Jun 25 09:15:02 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Thu, 25 Jun 2009 18:15:02 +0200 Subject: [mapserver-users] geotransform In-Reply-To: <4A4391FC.60300@alkante.com> References: <4A4391FC.60300@alkante.com> Message-ID: <2922382e0906250915n4e3658c8yd65e5a5afcfb699a@mail.gmail.com> Most of it is already in 5.4, except for centroids :( I can push those in for 5.4.2 if you're in a hurry, otherwise you'll have to wait for 5.6/6.0 regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq wrote: > Hello, > > Do someone know when this is going to be in a stable mapserver version? > > http://mapserver.org/development/rfc/ms-rfc-48.html > > I need to represent polygons as points in their centroids. > > Thanks, > > -- > Charlotte DECLERCQ > > ALKANTE SAS > Ing?nieur R&D SIG > 1, rue du Ch?ne Morand > 35 510 Cesson-S?vign? > Bur: + 33 (0) 2 99 22 25 70 > fax : + 33 (0) 2 99 32 12 76 > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.declercq at alkante.com Thu Jun 25 09:29:42 2009 From: c.declercq at alkante.com (Charlotte Declercq) Date: Thu, 25 Jun 2009 18:29:42 +0200 Subject: [mapserver-users] geotransform In-Reply-To: <2922382e0906250915n4e3658c8yd65e5a5afcfb699a@mail.gmail.com> References: <4A4391FC.60300@alkante.com> <2922382e0906250915n4e3658c8yd65e5a5afcfb699a@mail.gmail.com> Message-ID: <4A43A5F6.8020207@alkante.com> Actually, there are two ways of drawing polygons as points (positioned in their centroids) : either geotransform or apply the STYLE with TYPE [centroid] as described in http://mapserver.org/development/rfc/ms-rfc-45.html What is your advice ? Which one of these developments will be available the sooner? We are quite in the hurry. If I can't do this with mapserver I'll have to create a new shape with the centroids :(. Regards, -- Charlotte DECLERCQ ALKANTE SAS Ing?nieur R&D SIG 1, rue du Ch?ne Morand 35 510 Cesson-S?vign? Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 Thomas Bonfort a ?crit : > Most of it is already in 5.4, except for centroids :( > > I can push those in for 5.4.2 if you're in a hurry, otherwise you'll > have to wait for 5.6/6.0 > > regards, > thomas > > www.camptocamp.com > +33 4 79 26 57 97 > > > On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq > > wrote: > > Hello, > > Do someone know when this is going to be in a stable mapserver > version? > > http://mapserver.org/development/rfc/ms-rfc-48.html > > I need to represent polygons as points in their centroids. > > Thanks, > > -- > Charlotte DECLERCQ > > ALKANTE SAS > Ing?nieur R&D SIG > 1, rue du Ch?ne Morand > 35 510 Cesson-S?vign? > Bur: + 33 (0) 2 99 22 25 70 > fax : + 33 (0) 2 99 32 12 76 > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From thomas.bonfort at camptocamp.com Thu Jun 25 09:38:02 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Thu, 25 Jun 2009 18:38:02 +0200 Subject: [mapserver-users] geotransform In-Reply-To: <4A43A5F6.8020207@alkante.com> References: <4A4391FC.60300@alkante.com> <2922382e0906250915n4e3658c8yd65e5a5afcfb699a@mail.gmail.com> <4A43A5F6.8020207@alkante.com> Message-ID: <2922382e0906250938r4b290e35seb5885a683dc9325@mail.gmail.com> I've just committed this to the 5.4 branch, so it will be available in 5.4.2 as for your question, geomtransform replaced the type keyword of rfc45, so the correct answer is to use geomtransform (as per stated in the user documentation) regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Thu, Jun 25, 2009 at 18:29, Charlotte Declercq wrote: > Actually, there are two ways of drawing polygons as points (positioned in > their centroids) : > > either geotransform > or apply the STYLE with TYPE [centroid] as described in > http://mapserver.org/development/rfc/ms-rfc-45.html > > What is your advice ? > Which one of these developments will be available the sooner? > We are quite in the hurry. If I can't do this with mapserver I'll have to > create a new shape with the centroids :(. > > Regards, > > -- > Charlotte DECLERCQ > > ALKANTE SAS > Ing?nieur R&D SIG > 1, rue du Ch?ne Morand > 35 510 Cesson-S?vign? > Bur: + 33 (0) 2 99 22 25 70 > fax : + 33 (0) 2 99 32 12 76 > > > > > Thomas Bonfort a ?crit : >> >> Most of it is already in 5.4, except for centroids :( >> >> I can push those in for 5.4.2 if you're in a hurry, otherwise you'll have >> to wait for 5.6/6.0 >> >> regards, >> thomas >> >> www.camptocamp.com >> +33 4 79 26 57 97 >> >> >> On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq > > wrote: >> >> ? ?Hello, >> >> ? ?Do someone know when this is going to be in a stable mapserver >> ? ?version? >> >> ? ?http://mapserver.org/development/rfc/ms-rfc-48.html >> >> ? ?I need to represent polygons as points in their centroids. >> >> ? ?Thanks, >> >> ? ?-- ? ?Charlotte DECLERCQ >> >> ? ?ALKANTE SAS >> ? ?Ing?nieur R&D SIG >> ? ?1, rue du Ch?ne Morand >> ? ?35 510 Cesson-S?vign? >> ? ?Bur: + 33 (0) 2 99 22 25 70 >> ? ?fax : + 33 (0) 2 99 32 12 76 >> >> >> >> ? ?_______________________________________________ >> ? ?mapserver-users mailing list >> ? ?mapserver-users at lists.osgeo.org >> ? ? >> ? ?http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > > From wendell at enflight.com Thu Jun 25 12:32:47 2009 From: wendell at enflight.com (Wendell Turner) Date: Thu, 25 Jun 2009 12:32:47 -0700 Subject: [mapserver-users] json query resulte? Message-ID: <20090625193247.GA9530@q.rho.net> Does the OUTPUTFORMAT allow for json or geojson, as mentioned here? http://mapserver.org/development/rfc/ms-rfc-36.html Are there any examples of its use? Thanks, Wendell From Steve.Lime at dnr.state.mn.us Thu Jun 25 12:56:12 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Thu, 25 Jun 2009 14:56:12 -0500 Subject: [mapserver-users] json query resulte? In-Reply-To: <20090625193247.GA9530@q.rho.net> References: <20090625193247.GA9530@q.rho.net> Message-ID: <4A439010.5157.008F.0@dnr.state.mn.us> Yes, this is works but I don't have any working examples handy. I've tended to create javascript src files on-the-fly rather than just objects. Steve >>> On 6/25/2009 at 2:32 PM, in message <20090625193247.GA9530 at q.rho.net>, Wendell Turner wrote: > Does the OUTPUTFORMAT allow for json or geojson, as > mentioned here? > http://mapserver.org/development/rfc/ms-rfc-36.html > Are there any examples of its use? > > Thanks, > > Wendell > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From Steve.Lime at dnr.state.mn.us Thu Jun 25 13:13:21 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Thu, 25 Jun 2009 15:13:21 -0500 Subject: [mapserver-users] javascript query template examples In-Reply-To: <200906250649.n5P6nCsN007609@atom.scu.edu.au> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> <200906250649.n5P6nCsN007609@atom.scu.edu.au> Message-ID: <4A439415.5157.008F.0@dnr.state.mn.us> Here's one example using new-style templating (recommend MapServer 5.4.1). We're querying some data and building a function that can be used to populate a drop down list on a page. In this case I'm returning a javascript file on-the-fly. You can also create javascript as part of a larger HTML page or just plain JSON or GEOJSON output. Anyway, please ask questions if you need to. The TEMPLATE: // MapServer Template function updateCountyList(element) { var option; [resultset layer="counties"][feature] option = new Option("[CTY_NAME]", "[shpext format="$minx,$miny,$maxx,$maxy" precision=0 expand="10%"]"); try { element.add(option, null); } catch(e) { element.add(option); }[/feature][/resultset] } The OUTPUTFORMAT: OUTPUTFORMAT NAME 'county_select_list' DRIVER 'TEMPLATE' MIMETYPE 'text/javascript' FORMATOPTION 'ATTACHMENT=county_select_list.js' FORMATOPTION 'FILE=/templates/demo_county_select_list.js' END The call to the CGI to run it is: The output: function updateCountyList(element) { var option; option = new Option("Clearwater", "304963,5219538,337550,5326697"); try { element.add(option, null); } catch(e) { element.add(option); } option = new Option("Aitkin", "434591,5106383,498803,5213702"); try { element.add(option, null); } catch(e) { element.add(option); } option = new Option("Chisago", "486969,5013450,529584,5066587"); try { element.add(option, null); } catch(e) { element.add(option); } option = new Option("Blue Earth", "387528,4852924,441106,4904495"); try { element.add(option, null); } catch(e) { element.add(option); } } >>> On 6/25/2009 at 1:49 AM, in message <200906250649.n5P6nCsN007609 at atom.scu.edu.au>, Greg Luker wrote: > Hi mapserver-users, > > Steve Lime has indeed explained bits of using javascript in CGI query > templates, but I'm still lost. Are there any examples showing how to > use javascript in a query template to do things like, for example, > format the returned query result list to remove duplicate records? > > Thanks, > Greg. > > > Greg Luker > GIS Lab Manager, Southern Cross University > Lismore, AUSTRALIA. > gluker at scu.edu.au > phone 61 2 66203026 > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From wendell at enflight.com Thu Jun 25 14:59:16 2009 From: wendell at enflight.com (Wendell Turner) Date: Thu, 25 Jun 2009 14:59:16 -0700 Subject: [mapserver-users] javascript query template examples In-Reply-To: <4A439415.5157.008F.0@dnr.state.mn.us> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> <200906250649.n5P6nCsN007609@atom.scu.edu.au> <4A439415.5157.008F.0@dnr.state.mn.us> Message-ID: <20090625215916.GA11253@q.rho.net> On Thu, Jun 25, 2009 at 03:13:21PM -0500, Steve Lime wrote: > Here's one example using new-style templating (recommend > MapServer 5.4.1). I'm using 5.2.0. Do I need to upgrade? > Anyway, please ask questions if you need to. Ok! > The TEMPLATE: > > // MapServer Template > function updateCountyList(element) { > var option; ... > } So, where does this template go? 1) there is a TEMPLATE in the WEB section. It seems that if that line is present, it gets used. I don't think it is that template. 2) There is DRIVER 'TEMPLATE' in the OUTPUTFORMAT section. Should the above code be in a file named TEMPLATE? 3) There is a file in the FORMATOPTION under a /templates/ directory that looks suspicious. 4) There is a TEMPLATE in the LAYER section that is used to indicate that the layer is queryable, and how to format that layer's data. > The OUTPUTFORMAT: > > OUTPUTFORMAT > NAME 'county_select_list' > DRIVER 'TEMPLATE' > MIMETYPE 'text/javascript' > FORMATOPTION 'ATTACHMENT=county_select_list.js' > FORMATOPTION 'FILE=/templates/demo_county_select_list.js' > END What is the difference in ATTACHMENT and FILE? > The call to the CGI to run it is: > > Aha! qformat=name_of_the_output_format Thanks, Wendell From gluker at scu.edu.au Thu Jun 25 15:29:04 2009 From: gluker at scu.edu.au (Greg Luker) Date: Fri, 26 Jun 2009 08:29:04 +1000 Subject: [mapserver-users] javascript query template examples In-Reply-To: <4A439415.5157.008F.0@dnr.state.mn.us> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> <200906250649.n5P6nCsN007609@atom.scu.edu.au> <4A439415.5157.008F.0@dnr.state.mn.us> Message-ID: <200906252228.n5PMSpqB026592@atom.scu.edu.au> Hi, At 06:13 AM 26/06/2009, Steve Lime wrote: >Here's one example using new-style templating (recommend MapServer >5.4.1). We're querying some data >and building a function that can be used to populate a drop down >list on a page. In this case I'm returning >a javascript file on-the-fly. You can also create javascript as part >of a larger HTML page or just plain JSON >or GEOJSON output. Anyway, please ask questions if you need to. Thanks very much for this Steve! I'll digest it and get back to the list if (when) I have any further questions. Thanks, Greg. Greg Luker GIS Lab Manager, Southern Cross University Lismore, AUSTRALIA. gluker at scu.edu.au phone 61 2 66203026 From gabmessner at gmail.com Thu Jun 25 23:47:21 2009 From: gabmessner at gmail.com (Gabriel Messner) Date: Fri, 26 Jun 2009 08:47:21 +0200 Subject: [mapserver-users] Spatial queries to Mapserver Message-ID: <1708890c0906252347p3c84d03cqf7bcb0021ce34b04@mail.gmail.com> Hi all, Any one know of examples about how to call spatial queries using Postis functions from Mapserver? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at remoteinformation.com.au Fri Jun 26 00:31:01 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Fri, 26 Jun 2009 15:31:01 +0800 Subject: [mapserver-users] Spatial queries to Mapserver In-Reply-To: <20090626064725.925B4E01D4E@lists.osgeo.org> References: <20090626064725.925B4E01D4E@lists.osgeo.org> Message-ID: <7DD0075F-6921-4172-A61F-67BC43B5FF33@remoteinformation.com.au> Gabriel, You need to add a layer with your query in it - you can use variable substitution etc. an example (may or may not be a good one!) : LAYER DEBUG 3 NAME "buffalo" GROUP "Movement" METADATA layer_title "Buffalo" layer_order "2" END CONNECTIONTYPE postgis CONNECTION "host=localhost port=5432 dbname=prices" PROCESSING "CLOSE_CONNECTION=DEFER" DATA "route FROM ( SELECT s.id, s.commodity, s.shortname, s.amount, s.purpose, s.origprov, s.destprov, ST_MakeLine(s.startpoint, s.endpoint) as route, to_char(s.origindate,'DD/MM/YYYY') as date FROM ( SELECT m.id, c.commodity, sp.shortname, c.amount, r.name AS purpose, initcap(o.name) as origprov, initcap(d.name) as destprov, ST_Centroid(o.geom) as startpoint, ST_Centroid(d.geom) as endpoint, origindate FROM movements m LEFT OUTER JOIN locations o ON m.originprovince = o.hiercode AND o.del = 0 AND o.level = 2 LEFT OUTER JOIN locations d ON m.destinationprovince = d.hiercode AND d.del = 0 AND d.level = 2 JOIN commodities c ON m.id = c.movementid AND c.del = 0 AND c.commodity = 2 LEFT OUTER JOIN species sp ON c.commodity = sp.id AND sp.del = 0 LEFT OUTER JOIN reasons r ON c.purpose::int = r.id AND r.del = 0 WHERE m.del = 0 AND originprovince is not null AND originprovince not like '0' AND destinationprovince is not null AND destinationprovince not like '0' ) AS s WHERE s.origindate > '%start%' AND s.origindate < '%end%' ORDER BY s.origindate ) AS foo USING UNIQUE id USING srid=4326" TYPE LINE STATUS ON HEADER 'templates/trade_header.html' FOOTER 'templates/trade_footer.html' CLASSITEM commodity CLASS NAME "Buffalo" EXPRESSION "2" STYLE SYMBOL "arrow1" OFFSET 0 0 SIZE 12 COLOR 0 0 255 END TEMPLATE 'templates/trade_query.html' END END Actually, I don't think it's a great example, but it shows you how to create a line on the fly using the centroid (probably should have been point on surface) showing the direction the animals moved, within a user specified time frame. I'm open to any feedback on this - it's a modification of one I modified from one Regina Obe posted somewhere. I should say, note the use of debug. the error messages are invaluable when it doesn't work. good luck cheers Ben On 26/06/2009, at 2:47 PM, mapserver-users-request at lists.osgeo.org wrote: > Subject: [mapserver-users] Spatial queries to Mapserver > > > Hi all, > > Any one know of examples about how to call spatial queries using > Postis functions from Mapserver? -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.declercq at alkante.com Fri Jun 26 00:34:45 2009 From: c.declercq at alkante.com (Charlotte Declercq) Date: Fri, 26 Jun 2009 09:34:45 +0200 Subject: [mapserver-users] geotransform In-Reply-To: <4A436127.5157.008F.0@dnr.state.mn.us> References: <4A4391FC.60300@alkante.com> <2922382e0906250915n4e3658c8yd65e5a5afcfb699a@mail.gmail.com> <4A43A5F6.8020207@alkante.com> <4A436127.5157.008F.0@dnr.state.mn.us> Message-ID: <4A447A15.2010906@alkante.com> Thanks, ANNOTATION layer is really doing the job. Charlotte PS : thanks to Thomas Bonfort to for his help Steve Lime a ?crit : > You can also use an ANNOTATION layer to do something like this. Depends > if you need a true > centroid or not. Annotation layers use label points generated from an > algorithm that starts with > a center of gravity computation. Subsequent tweaks are made if the > point is too close to the > edge. That approach guarantees the point will be in the polygon unlike > with a centroid. > > Steve > > >>>> On 6/25/2009 at 11:29 AM, in message >>>> > <4A43A5F6.8020207 at alkante.com>, Charlotte > Declercq wrote: > >> Actually, there are two ways of drawing polygons as points >> > (positioned > >> in their centroids) : >> >> either geotransform >> or apply the STYLE with TYPE [centroid] as described in >> http://mapserver.org/development/rfc/ms-rfc-45.html >> >> What is your advice ? >> Which one of these developments will be available the sooner? >> We are quite in the hurry. If I can't do this with mapserver I'll >> > have > >> to create a new shape with the centroids :(. >> >> Regards, >> >> -- >> Charlotte DECLERCQ >> >> ALKANTE SAS >> Ing?nieur R&D SIG >> 1, rue du Ch?ne Morand >> 35 510 Cesson-S?vign? >> Bur: + 33 (0) 2 99 22 25 70 >> fax : + 33 (0) 2 99 32 12 76 >> >> >> >> >> Thomas Bonfort a ?crit : >> >>> Most of it is already in 5.4, except for centroids :( >>> >>> I can push those in for 5.4.2 if you're in a hurry, otherwise you'll >>> > > >>> have to wait for 5.6/6.0 >>> >>> regards, >>> thomas >>> >>> www.camptocamp.com >>> +33 4 79 26 57 97 >>> >>> >>> On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq >>> > wrote: >>> >>> Hello, >>> >>> Do someone know when this is going to be in a stable mapserver >>> version? >>> >>> http://mapserver.org/development/rfc/ms-rfc-48.html >>> >>> I need to represent polygons as points in their centroids. >>> >>> Thanks, >>> >>> -- >>> Charlotte DECLERCQ >>> >>> ALKANTE SAS >>> Ing?nieur R&D SIG >>> 1, rue du Ch?ne Morand >>> 35 510 Cesson-S?vign? >>> Bur: + 33 (0) 2 99 22 25 70 >>> fax : + 33 (0) 2 99 32 12 76 >>> >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > -- Charlotte DECLERCQ ALKANTE SAS Ing?nieur R&D SIG 1, rue du Ch?ne Morand 35 510 Cesson-S?vign? Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 From frequens at gmail.com Fri Jun 26 02:20:39 2009 From: frequens at gmail.com (frequens) Date: Fri, 26 Jun 2009 11:20:39 +0200 Subject: [mapserver-users] What has changed between 5.2.X and 5.4.X? Message-ID: <2482247e0906260220m70742d2dt38b1da57f29ea0ac@mail.gmail.com> I am sure a lot has changed, but I do experience some weird and not welcome changes in rendered images for which there is no explanation in the documentation. For my application of Cartoweb 3.5 I am using a mapfile with the following: OUTPUTFORMAT NAME 'AGG_Q' DRIVER AGG/PNG FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_DITHER=ON" FORMATOPTION "QUANTIZE_COLORS=256" END The resulting images were small, aesthethically pleasant and color consistent with MS 5.2.1. version. With MS 5.4.X the images are even smaller (-20%), yet the colors vary from one image produced to the other. Even with the same extent and scale the colors change significantly for each consecutive map rendered. The colors may differ from what is set as a symbol color in the mapfile. Some symbols (e.g. circle) may loose their outline at certain scales (when using SYMBOLSCALEDENOM, MAXSIZE and MINSIZE). Both MS 5.2.X and 5.4.X were compiled with identical options and the mapfile is the same one. Many thanks for any clues or explanations in advance. BR frequens From c.declercq at alkante.com Fri Jun 26 04:20:12 2009 From: c.declercq at alkante.com (Charlotte Declercq) Date: Fri, 26 Jun 2009 13:20:12 +0200 Subject: [mapserver-users] PHP/Mapscript CLASS TEXT Message-ID: <4A44AEEC.5010404@alkante.com> Hello I have an annotation layer on which I want to be able to draw labels. Here is the layer : LAYER CLASSITEM "Id_BDCarto" CONNECTION "Limites_administratives/Departement.TAB" CONNECTIONTYPE OGR LABELITEM "Nom_D?partement" LABELMAXSCALEDENOM 1e+07 LABELMINSCALEDENOM 1990 METADATA "LAYER_TITLE" "departement" "GI_ARBO_ORDRE" "1" "TYPE_SYMBO" "PROPORTIONAL" "ECHELLE_LEGENDE" "ON" "CLASS_LEGENDE" "ON" END NAME "layer2" STATUS ON SYMBOLSCALEDENOM 312411 TYPE ANNOTATION UNITS METERS CLASS NAME "departement" LABEL ANGLE 0.000000 ANTIALIAS TRUE FONT "Arial" MAXSIZE 256 MINSIZE 4 SIZE 8 TYPE TRUETYPE BUFFER 0 COLOR 0 0 0 FORCE FALSE MINDISTANCE -1 MINFEATURESIZE -1 OFFSET 1 1 PARTIALS TRUE POSITION CC SHADOWCOLOR 0 0 0 SHADOWSIZE 0 0 END STYLE ANGLE 360 COLOR 232 246 9 OPACITY 100 SIZE [Id_BDCarto] SYMBOL "Carre" END TEXT " " END END With TEXT = " ", the layer is drawn without the labels. If TEXT property is present, I am unable to draw the labels, because I can't remove the TEXT property and I can't find a way to write TEXT [attribute_name] with mapscript (do the binding as for example $oStyle->setbinding(MS_STYLE_BINDING_SIZE, "FIELD_NAME")). Anyone has solution : - to remove the TEXT property ? - to set the TEXT property with the attribute ? Thanks, -- Charlotte DECLERCQ ALKANTE SAS Ing?nieur R&D SIG 1, rue du Ch?ne Morand 35 510 Cesson-S?vign? Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 From DeDuikertjes at xs4all.nl Fri Jun 26 04:29:02 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Fri, 26 Jun 2009 13:29:02 +0200 Subject: [mapserver-users] getfeatureinfo problems Message-ID: <4A44B0FE.601@xs4all.nl> Dear list, yesterday I reported problems with my WFS server. I could not fix that up till now. I have another possibly related problem. My WMS is set up allright, getcapabilities is ok, I can see the map, pan zoom, etc, no problems. When I do an Identify (GetFeatureInfo request), I get back an exception-report, with no items in (so essentially an ampty exception report). The query just doesn't seem to find the data. Clicking inside a feature and outside does differ (outside doesn't give an exception report). I've enabled debugging and this is the output when I do a GetFeatureInfo request: [Fri Jun 26 13:21:11 2009].498623 CGI Request 1 on process 1525 [Fri Jun 26 13:21:11 2009].518710 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].518735 MSPOSTGISLayerOpen -- shared connection not available. [Fri Jun 26 13:21:11 2009].523422 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].523453 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].523466 msPOSTGISLayerWhichShapes called [Fri Jun 26 13:21:11 2009].523490 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].523796 query_string_0_6:DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) [Fri Jun 26 13:21:11 2009].535912 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].535925 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].535931 msPOSTGISLayerClose -- closing query_result [Fri Jun 26 13:21:11 2009].536007 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].536017 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].538905 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].538914 MSPOSTGISLayerOpen -- shared connection not available. [Fri Jun 26 13:21:11 2009].543298 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].543314 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find column names) [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for record = 0 [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE mycursor2 BINARY CURSOR FOR SELECT "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 [Fri Jun 26 13:21:11 2009].547105 msFreeMap(): freeing map at 0x943d518. [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result is NULL [Fri Jun 26 13:21:11 2009].547124 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) Just as with the WFS problem, there is no data returning. The WFS does show the exposed columns, never any data in. I've not a clue of how to proceed, or how to get extra debug info. Please help ! MArco [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) From gabmessner at gmail.com Fri Jun 26 04:51:43 2009 From: gabmessner at gmail.com (Gabriel Messner) Date: Fri, 26 Jun 2009 13:51:43 +0200 Subject: [mapserver-users] Spatial queries to Mapserver In-Reply-To: <7DD0075F-6921-4172-A61F-67BC43B5FF33@remoteinformation.com.au> References: <20090626064725.925B4E01D4E@lists.osgeo.org> <7DD0075F-6921-4172-A61F-67BC43B5FF33@remoteinformation.com.au> Message-ID: <1708890c0906260451x637764dfj6445063a581be8e7@mail.gmail.com> Thanks, I?ll digest it :-) 2009/6/26 Ben Madin > Gabriel, > You need to add a layer with your query in it - you can use variable > substitution etc. > > an example (may or may not be a good one!) : > > LAYER > DEBUG 3 > NAME "buffalo" > GROUP "Movement" > METADATA > layer_title "Buffalo" > layer_order "2" > END > CONNECTIONTYPE postgis > CONNECTION "host=localhost port=5432 dbname=prices" > PROCESSING "CLOSE_CONNECTION=DEFER" > DATA "route FROM ( > SELECT s.id, s.commodity, s.shortname, s.amount, > s.purpose, s.origprov, s.destprov, ST_MakeLine(s.startpoint, s.endpoint) as > route, to_char(s.origindate,'DD/MM/YYYY') as date > FROM ( > SELECT m.id, c.commodity, sp.shortname, c.amount, > r.name AS purpose, > initcap(o.name) as origprov, initcap(d.name) as > destprov, > ST_Centroid(o.geom) as startpoint, > ST_Centroid(d.geom) as endpoint, origindate > FROM movements m > LEFT OUTER JOIN locations o > ON m.originprovince = o.hiercode > AND o.del = 0 > AND o.level = 2 > LEFT OUTER JOIN locations d > ON m.destinationprovince = d.hiercode > AND d.del = 0 > AND d.level = 2 > JOIN commodities c > ON m.id = c.movementid > AND c.del = 0 > AND c.commodity = 2 > LEFT OUTER JOIN species sp > ON c.commodity = sp.id > AND sp.del = 0 > LEFT OUTER JOIN reasons r > ON c.purpose::int = r.id > AND r.del = 0 > WHERE m.del = 0 > AND originprovince is not null > AND originprovince not like '0' > AND destinationprovince is not null > AND destinationprovince not like '0' > ) AS s > WHERE s.origindate > '%start%' > AND s.origindate < '%end%' > ORDER BY s.origindate > ) AS foo USING UNIQUE id USING srid=4326" > TYPE LINE > STATUS ON > HEADER 'templates/trade_header.html' > FOOTER 'templates/trade_footer.html' > CLASSITEM commodity > CLASS > NAME "Buffalo" > EXPRESSION "2" > STYLE > SYMBOL "arrow1" > OFFSET 0 0 > SIZE 12 > COLOR 0 0 255 > END > TEMPLATE 'templates/trade_query.html' > END > END > > > Actually, I don't think it's a great example, but it shows you how to > create a line on the fly using the centroid (probably should have been point > on surface) showing the direction the animals moved, within a user specified > time frame. > > I'm open to any feedback on this - it's a modification of one I modified > from one Regina Obe posted somewhere. > > I should say, note the use of debug. the error messages are invaluable when > it doesn't work. > > good luck > > cheers > > Ben > > > > > > On 26/06/2009, at 2:47 PM, mapserver-users-request at lists.osgeo.org wrote: > > *Subject: **[mapserver-users] Spatial queries to Mapserver* > > > Hi all, > > Any one know of examples about how to call spatial queries using Postis > functions from Mapserver? > > > -- > > Ben Madin > REMOTE INFORMATION > > t : +61 8 9192 5455 > f : +61 8 9192 5535 > m : 0448 887 220 > Broome WA 6725 > > ben at remoteinformation.com.au > > > > Out here, it pays to know... > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jukka.Rahkonen at mmmtike.fi Fri Jun 26 05:31:49 2009 From: Jukka.Rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Fri, 26 Jun 2009 15:31:49 +0300 Subject: [mapserver-users] getfeatureinfo problems References: <4A44B0FE.601@xs4all.nl> Message-ID: Hi, Have you tried to run the SQL queries from logfile directly? I wonder if for example this part is correct and finds any data: WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) Just a guess, but perhaps odd table name makes some trouble. How about reneming or copying the table temporarily to something wiht more simple name, like "test"? -Jukka Rahkonen- DeDuikertjes wrote: Dear list, yesterday I reported problems with my WFS server. I could not fix that up till now. I have another possibly related problem. My WMS is set up allright, getcapabilities is ok, I can see the map, pan zoom, etc, no problems. When I do an Identify (GetFeatureInfo request), I get back an exception-report, with no items in (so essentially an ampty exception report). The query just doesn't seem to find the data. Clicking inside a feature and outside does differ (outside doesn't give an exception report). I've enabled debugging and this is the output when I do a GetFeatureInfo request: [Fri Jun 26 13:21:11 2009].498623 CGI Request 1 on process 1525 [Fri Jun 26 13:21:11 2009].518710 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].518735 MSPOSTGISLayerOpen -- shared connection not available. [Fri Jun 26 13:21:11 2009].523422 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].523453 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].523466 msPOSTGISLayerWhichShapes called [Fri Jun 26 13:21:11 2009].523490 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].523796 query_string_0_6:DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) [Fri Jun 26 13:21:11 2009].535912 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].535925 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].535931 msPOSTGISLayerClose -- closing query_result [Fri Jun 26 13:21:11 2009].536007 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].536017 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].538905 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].538914 MSPOSTGISLayerOpen -- shared connection not available. [Fri Jun 26 13:21:11 2009].543298 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) [Fri Jun 26 13:21:11 2009].543314 msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find column names) [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for record = 0 [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE mycursor2 BINARY CURSOR FOR SELECT "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 [Fri Jun 26 13:21:11 2009].547105 msFreeMap(): freeing map at 0x943d518. [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result is NULL [Fri Jun 26 13:21:11 2009].547124 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) Just as with the WFS problem, there is no data returning. The WFS does show the exposed columns, never any data in. I've not a clue of how to proceed, or how to get extra debug info. Please help ! MArco [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From sschantz at bfs.de Fri Jun 26 05:28:44 2009 From: sschantz at bfs.de (Stefan Schantz) Date: Fri, 26 Jun 2009 14:28:44 +0200 Subject: [mapserver-users] classification of a raster image is changing Message-ID: <4A44BEFC.3040803@BfS.de> Hello list, I have the following problem with UMNMapserver 5.2: I have interpolated some data with gdal_grid. As the result I got a tiff file with one band. In the next step i classified the raster image in UMN Mapserver like this: (..) CLASS NAME "<= 12 h" EXPRESSION ([pixel]> 9 AND [pixel] <= 12) STYLE COLOR 65 182 196 END END (..) so far so good But if i view the image in a client like QGIS, the classification (colors) is changing depending on the chosen section (see appendix). What is my mistake? Thanks for helping! Regards Stefan From DeDuikertjes at xs4all.nl Fri Jun 26 05:59:30 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Fri, 26 Jun 2009 14:59:30 +0200 Subject: [mapserver-users] getfeatureinfo problems In-Reply-To: References: <4A44B0FE.601@xs4all.nl> Message-ID: <4A44C632.5000700@xs4all.nl> Jukka, Thank you, I've tried the SQL statement: DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) with the first DECLARE part omitted, so: SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) This returns two rows. I've tried SELECT "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 also, which returns 0 rows. This is as expected from this query as it asks for WHERE geoidn = 0 geoidn never is 0. Why does mapserver come to this query? I've never asked for geidn to be zero! If I remove the WHERE geoidn = 0 I get a result for all the layers on the point (all the layers in fact). Somehow this WHERE geoidn = 0 condition is constructed false. Ist should be something like WHERE geoidn = geoidNL.IMRO.0026.SVBBU-0001 I've not a clue where that wrong query clause comes from. MArco P.S. In earlier attempts I've renamed the tables with identical results. Rahkonen Jukka schreef: > Hi, > > Have you tried to run the SQL queries from logfile directly? I wonder if for example this part is correct and finds any data: > > WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) > > Just a guess, but perhaps odd table name makes some trouble. How about reneming or copying the table temporarily to something wiht more simple name, like "test"? > > -Jukka Rahkonen- > > > > > DeDuikertjes wrote: > > Dear list, > > yesterday I reported problems with my WFS server. I could not fix that > up till now. > > I have another possibly related problem. > My WMS is set up allright, getcapabilities is ok, I can see the map, pan > zoom, etc, no problems. > > When I do an Identify (GetFeatureInfo request), I get back an > exception-report, with no items in (so essentially an ampty exception > report). > The query just doesn't seem to find the data. > Clicking inside a feature and outside does differ (outside doesn't give > an exception report). > > I've enabled debugging and this is the output when I do a GetFeatureInfo > request: > > [Fri Jun 26 13:21:11 2009].498623 CGI Request 1 on process 1525 > [Fri Jun 26 13:21:11 2009].518710 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 > [Fri Jun 26 13:21:11 2009].518735 MSPOSTGISLayerOpen -- shared connection not available. > [Fri Jun 26 13:21:11 2009].523422 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > [Fri Jun 26 13:21:11 2009].523453 msPOSTGISLayerFreeItemInfo called > [Fri Jun 26 13:21:11 2009].523466 msPOSTGISLayerWhichShapes called > [Fri Jun 26 13:21:11 2009].523490 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" > [Fri Jun 26 13:21:11 2009].523796 query_string_0_6:DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text from "NL.IMRO.0026.SVBBU-0001" WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 469022.416275488)'::BOX3D,28992) ) > [Fri Jun 26 13:21:11 2009].535912 msPOSTGISLayerFreeItemInfo called > [Fri Jun 26 13:21:11 2009].535925 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 > [Fri Jun 26 13:21:11 2009].535931 msPOSTGISLayerClose -- closing query_result > [Fri Jun 26 13:21:11 2009].536007 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > [Fri Jun 26 13:21:11 2009].536017 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > [Fri Jun 26 13:21:11 2009].538905 msPOSTGISLayerOpen called datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 > [Fri Jun 26 13:21:11 2009].538914 MSPOSTGISLayerOpen -- shared connection not available. > [Fri Jun 26 13:21:11 2009].543298 msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > [Fri Jun 26 13:21:11 2009].543314 msPOSTGISLayerFreeItemInfo called > [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find column names) > [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" > [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called > [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for record = 0 > [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name="NL.IMRO.0026.SVBBU-0001" > [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE mycursor2 BINARY CURSOR FOR SELECT "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 > [Fri Jun 26 13:21:11 2009].547105 msFreeMap(): freeing map at 0x943d518. > [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn using srid=28992 > [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result is NULL > [Fri Jun 26 13:21:11 2009].547124 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > > > Just as with the WFS problem, there is no data returning. The WFS does show the exposed columns, never any data in. > > I've not a clue of how to proceed, or how to get extra debug info. > Please help ! > > MArco > [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > From bartvde at osgis.nl Fri Jun 26 06:10:12 2009 From: bartvde at osgis.nl (Bart van den Eijnden (OSGIS)) Date: Fri, 26 Jun 2009 15:10:12 +0200 Subject: [mapserver-users] getfeatureinfo problems In-Reply-To: <4A44C632.5000700@xs4all.nl> References: <4A44B0FE.601@xs4all.nl> <4A44C632.5000700@xs4all.nl> Message-ID: <4A44C8B4.7060702@osgis.nl> Hi, Mapserver needs an integer type column for the USING UNIQUE clause, not a string column. That won't work. Best regards, Bart DeDuikertjes wrote: > Jukka, > > Thank you, I've tried the SQL statement: > > DECLARE mycursor BINARY CURSOR FOR SELECT > asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text > from "NL.IMRO.0026.SVBBU-0001" WHERE > (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && > setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 > 469022.416275488)'::BOX3D,28992) ) > > with the first DECLARE part omitted, so: > SELECT > asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text > from "NL.IMRO.0026.SVBBU-0001" WHERE > (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && > setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 > 469022.416275488)'::BOX3D,28992) ) > > This returns two rows. > I've tried > SELECT > "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') > from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 > > also, which returns 0 rows. > This is as expected from this query as it asks for WHERE geoidn = 0 > geoidn never is 0. > > Why does mapserver come to this query? I've never asked for geidn to > be zero! > If I remove the WHERE geoidn = 0 I get a result for all the layers on > the point (all the layers in fact). > Somehow this WHERE geoidn = 0 condition is constructed false. Ist > should be something like WHERE geoidn = geoidNL.IMRO.0026.SVBBU-0001 > > I've not a clue where that wrong query clause comes from. > > MArco > P.S. In earlier attempts I've renamed the tables with identical results. > > > > > Rahkonen Jukka schreef: >> Hi, >> >> Have you tried to run the SQL queries from logfile directly? I >> wonder if for example this part is correct and finds any data: >> >> WHERE (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry >> && setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 >> 469022.416275488)'::BOX3D,28992) ) >> >> Just a guess, but perhaps odd table name makes some trouble. How >> about reneming or copying the table temporarily to something wiht >> more simple name, like "test"? >> >> -Jukka Rahkonen- >> >> >> >> >> DeDuikertjes wrote: >> >> Dear list, >> >> yesterday I reported problems with my WFS server. I could not fix >> that up till now. >> >> I have another possibly related problem. >> My WMS is set up allright, getcapabilities is ok, I can see the map, >> pan zoom, etc, no problems. >> >> When I do an Identify (GetFeatureInfo request), I get back an >> exception-report, with no items in (so essentially an ampty exception >> report). >> The query just doesn't seem to find the data. >> Clicking inside a feature and outside does differ (outside doesn't >> give an exception report). >> >> I've enabled debugging and this is the output when I do a >> GetFeatureInfo request: >> >> [Fri Jun 26 13:21:11 2009].498623 CGI Request 1 on process 1525 >> [Fri Jun 26 13:21:11 2009].518710 msPOSTGISLayerOpen called >> datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using >> unique geoidn using srid=28992 >> [Fri Jun 26 13:21:11 2009].518735 MSPOSTGISLayerOpen -- shared >> connection not available. >> [Fri Jun 26 13:21:11 2009].523422 >> msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].523453 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].523466 msPOSTGISLayerWhichShapes called >> [Fri Jun 26 13:21:11 2009].523490 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].523796 query_string_0_6:DECLARE mycursor >> BINARY CURSOR FOR SELECT >> asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text >> from "NL.IMRO.0026.SVBBU-0001" WHERE >> (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && >> setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 >> 469022.416275488)'::BOX3D,28992) ) >> [Fri Jun 26 13:21:11 2009].535912 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].535925 msPOSTGISLayerClose datastatement: >> tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn >> using srid=28992 >> [Fri Jun 26 13:21:11 2009].535931 msPOSTGISLayerClose -- closing >> query_result >> [Fri Jun 26 13:21:11 2009].536007 >> msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].536017 msConnPoolClose(host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].538905 msPOSTGISLayerOpen called >> datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using >> unique geoidn using srid=28992 >> [Fri Jun 26 13:21:11 2009].538914 MSPOSTGISLayerOpen -- shared >> connection not available. >> [Fri Jun 26 13:21:11 2009].543298 >> msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].543314 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find >> column names) >> [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called >> [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for >> record = 0 >> [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE >> mycursor2 BINARY CURSOR FOR SELECT >> "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') >> from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 [Fri Jun 26 13:21:11 >> 2009].547105 msFreeMap(): freeing map at 0x943d518. >> [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: >> tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn >> using srid=28992 >> [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result >> is NULL >> [Fri Jun 26 13:21:11 2009].547124 >> msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> >> >> Just as with the WFS problem, there is no data returning. The WFS >> does show the exposed columns, never any data in. >> I've not a clue of how to proceed, or how to get extra debug info. >> Please help ! >> >> MArco >> [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- Bart van den Eijnden OSGIS, Open Source GIS bartvde at osgis.nl http://www.osgis.nl From warmerdam at pobox.com Fri Jun 26 06:39:40 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Fri, 26 Jun 2009 09:39:40 -0400 Subject: [mapserver-users] classification of a raster image is changing In-Reply-To: <4A44BEFC.3040803@BfS.de> References: <4A44BEFC.3040803@BfS.de> Message-ID: <4A44CF9C.8000606@pobox.com> Stefan Schantz wrote: > Hello list, > I have the following problem with UMNMapserver 5.2: > I have interpolated some data with gdal_grid. As the result I got a tiff > file with one band. > In the next step i classified the raster image in UMN Mapserver like this: > > (..) > CLASS > NAME "<= 12 h" > EXPRESSION ([pixel]> 9 AND [pixel] <= 12) > STYLE > COLOR 65 182 196 > END > END > (..) > so far so good > But if i view the image in a client like QGIS, the classification > (colors) is changing depending on the chosen section (see appendix). > What is my mistake? Stefan, I don't see an appendix. Often when the results change depending on the view area it is one of two things: 1) A pseudo-coloured product is being produced, and the color table is being populated differently depending on the features and/or imagery inview. 2) autoscaling is being applied to raster data and the scaling range changes depending on what imagery is in view. I don't have enough context of your situation to know which is more likely or even if it might be something else. Seeing more of the mapfile might help and/or public access to the WMS instance with a could example urls demonstrating the differences. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From liste at geo-dienstleistung.de Fri Jun 26 06:43:05 2009 From: liste at geo-dienstleistung.de (Frank Broniewski) Date: Fri, 26 Jun 2009 15:43:05 +0200 Subject: [mapserver-users] best practice: map data structure Message-ID: <200906261543.05642.liste@geo-dienstleistung.de> Hello List, I want to migrate our old server to a new one, and I want to replace the somewhat grown map data folder and file mess into something more structured. Therefore I am looking for some advice on how to organize the Filesystem Hierarchy. Sure somehow its always a matter of taste and need, but maybe you have some comments on my proposed structure. I browsed already the mailing list archives and the documentation on the mapserver site but did not find any related infos, but I am willing to summarize this thread into a howto document if something useful comes up. I will be using a linux server, so the structure will reflect the unix filesystem hierarchy to a certain degree. A good starting point seems to be /usr/local/ to me. /usr/local/mapdata/ for storing raster and vector files /usr/local/mapfiles/ for mapfiles and other config files You would have /usr/local/mapdata/CLIENTDIR/vector and /usr/local/mapdata/CLIENTDIR/raster for client specific map data similar to /usr/local/mapdata/PROJECTDIR/... for project data and /usr/local/mapdata/share/vector & /usr/local/mapdata/share/raster for shared map data (srtm topo maps e.g.) A good structure for mapfiles & co would be: /mapfile.map /fonts/ - font config and font files (ttf) /icons/ - icon files (png, ...) /symbols/ - symbol.map /templates/ - template files This structure could be mapped to /usr/local/mapfiles/share/... or /usr/local/mapfiles/CLIENTDIR/... I would really appreciate any comments and shared experience on this ... Listing: /usr/local/mapdata/ /usr/local/mapdata/share/ /usr/local/mapdata/share/raster/ /usr/local/mapdata/share/raster/topo20/ /usr/local/mapdata/share/raster/topo20/01.tif /usr/local/mapdata/share/raster/topo20/... /usr/local/mapdata/share/raster/topo20/99.tif /usr/local/mapdata/share/raster/topo20/tileindex.shp /usr/local/mapdata/share/vector/ /usr/local/mapdata/share/vector/streetnetwork/ /usr/local/mapdata/share/vector/streetnetwork/streets.shp /usr/local/mapdata/CLIENT/raster/ /usr/local/mapdata/CLIENT/raster/ortho/ /usr/local/mapdata/CLIENT/raster/ortho/01.tif /usr/local/mapdata/CLIENT/raster/ortho/... /usr/local/mapdata/CLIENT/raster/ortho/99.tif /usr/local/mapdata/CLIENT/raster/ortho/tileindex.shp /usr/local/mapdata/CLIENT/vector/ /usr/local/mapdata/CLIENT/vector/cad/contours.shp /usr/local/mapdata/PROJECT/raster/ /usr/local/mapdata/PROJECT/raster/climate/ /usr/local/mapdata/PROJECT/raster/climate/precipitation.tif /usr/local/mapdata/PROJECT/vector/ /usr/local/mapdata/PROJECT/vector/archeology-sites.shp /usr/local/mapfiles/ /usr/local/mapfiles/share/ /usr/local/mapfiles/share/mapfile.map /usr/local/mapfiles/share/fonts/ /usr/local/mapfiles/share/icons/ /usr/local/mapfiles/share/symbols/ /usr/local/mapfiles/share/templates/ /usr/local/mapfiles/CLIENT/ /usr/local/mapfiles/CLIENT/mapfile.map /usr/local/mapfiles/CLIENT/fonts/ /usr/local/mapfiles/CLIENT/icons/ /usr/local/mapfiles/CLIENT/symbols/ /usr/local/mapfiles/CLIENT/templates/ /usr/local/mapfiles/PROJECT/mapfile.map /usr/local/mapfiles/PROJECT/fonts/ /usr/local/mapfiles/PROJECT/icons/ /usr/local/mapfiles/PROJECT/symbols/ /usr/local/mapfiles/PROJECT/templates/ From Steve.Lime at dnr.state.mn.us Fri Jun 26 07:55:41 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Fri, 26 Jun 2009 09:55:41 -0500 Subject: [mapserver-users] javascript query template examples In-Reply-To: <20090625215916.GA11253@q.rho.net> References: <33fad6880906221402qde8375bj252c48b367d7eb4d@mail.gmail.com> <4A3FB155.5157.008F.0@dnr.state.mn.us> <33fad6880906230742o2036ea6ctae3a3cc003145984@mail.gmail.com> <4A410C3E.5157.008F.0@dnr.state.mn.us> <200906250649.n5P6nCsN007609@atom.scu.edu.au> <4A439415.5157.008F.0@dnr.state.mn.us> <20090625215916.GA11253@q.rho.net> Message-ID: <4A449B22.5157.008F.0@dnr.state.mn.us> Responses inline... >>> On 6/25/2009 at 4:59 PM, in message <20090625215916.GA11253 at q.rho.net>, Wendell Turner wrote: > On Thu, Jun 25, 2009 at 03:13:21PM -0500, Steve Lime wrote: > >> Here's one example using new-style templating (recommend >> MapServer 5.4.1). > > I'm using 5.2.0. Do I need to upgrade? Well, I'd recommend 5.2.2 at a minimum simply because of the security upgrades made in the last few months. 5.4.1 is the latest version and contains a few fixes that fix templates that have multiple [item ...] or [shpxy ...] tags on a single line. >> Anyway, please ask questions if you need to. > > Ok! > >> The TEMPLATE: >> >> // MapServer Template >> function updateCountyList(element) { >> var option; > ... >> } > > So, where does this template go? Good question, I guess that wasn't clear in my response. In this case the template is separate file and is referenced in the OUTPUTFORMAT itself via the FORMATOPTION/FILE option. In this example the actual template is the file /templates/demo_county_select_list.js. > 1) there is a TEMPLATE in the WEB section. It seems that if > that line is present, it gets used. I don't think it is > that template. Correct, the web template is for defining a browse interface and really isn't used all that much anymore. > 2) There is DRIVER 'TEMPLATE' in the OUTPUTFORMAT section. > Should the above code be in a file named TEMPLATE? > > 3) There is a file in the FORMATOPTION under a /templates/ > directory that looks suspicious. Bingo... > 4) There is a TEMPLATE in the LAYER section that is used to > indicate that the layer is queryable, and how to format that > layer's data. The TEMPLATE keyword is still used to make layers queryable. That may change in the future. Simple using something like TEMPLATE 'dummy' will suffice. >> The OUTPUTFORMAT: >> >> OUTPUTFORMAT >> NAME 'county_select_list' >> DRIVER 'TEMPLATE' >> MIMETYPE 'text/javascript' >> FORMATOPTION 'ATTACHMENT=county_select_list.js' >> FORMATOPTION 'FILE=/templates/demo_county_select_list.js' >> END > > What is the difference in ATTACHMENT and FILE? FILE is the actual template. ATTACHMENT sets a HTTP header that essentially names the response from MapServer. In this case the browser would save the file as county_select_list.js. I'm pretty sure this is only available in 5.4 but isn't required at all. >> The call to the CGI to run it is: >> >> > > Aha! qformat=name_of_the_output_format Yup. You now can have a bunch of output formats without having to have a bunch of layers for each one. A layer's features can be referenced by any number of templates! > Thanks, > > Wendell > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From DeDuikertjes at xs4all.nl Fri Jun 26 09:17:24 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Fri, 26 Jun 2009 18:17:24 +0200 Subject: [mapserver-users] WFS returning empty features In-Reply-To: <4A423844.8040901@xs4all.nl> References: <20090624131535.68075a44@kmail.b3partners.nl> <4A422760.40004@xs4all.nl> <4A42294D.7090908@xs4all.nl> <4A422BD5.9020208@neogeo-online.net> <4A423329.1050506@xs4all.nl> <4A423844.8040901@xs4all.nl> Message-ID: <4A44F494.5030800@xs4all.nl> List, Thanks to Bart van den Eijnden the problem is solved. I used a "using unique" clause on a column which was unique, but not integer. So I now create my postgis tables with a CREAT TABLE .... WITH OIDS and I use a "using unique oid" clause in the DATA statement. As often, details do matter. Thanks for all the responses and efforts. MArco From DeDuikertjes at xs4all.nl Fri Jun 26 09:18:09 2009 From: DeDuikertjes at xs4all.nl (DeDuikertjes) Date: Fri, 26 Jun 2009 18:18:09 +0200 Subject: [mapserver-users] getfeatureinfo problems In-Reply-To: <4A44C632.5000700@xs4all.nl> References: <4A44B0FE.601@xs4all.nl> <4A44C632.5000700@xs4all.nl> Message-ID: <4A44F4C1.7050102@xs4all.nl> List, Thanks to Bart van den Eijnden the problem is solved. I used a "using unique" clause on a column which was unique, but not integer. So I now create my postgis tables with a CREAT TABLE .... WITH OIDS and I use a "using unique oid" clause in the DATA statement. As often, details do matter. Thanks for all the responses and efforts. MArco >> >> >> >> DeDuikertjes wrote: >> >> Dear list, >> >> yesterday I reported problems with my WFS server. I could not fix >> that up till now. >> >> I have another possibly related problem. >> My WMS is set up allright, getcapabilities is ok, I can see the map, >> pan zoom, etc, no problems. >> >> When I do an Identify (GetFeatureInfo request), I get back an >> exception-report, with no items in (so essentially an ampty exception >> report). >> The query just doesn't seem to find the data. >> Clicking inside a feature and outside does differ (outside doesn't >> give an exception report). >> >> I've enabled debugging and this is the output when I do a >> GetFeatureInfo request: >> >> [Fri Jun 26 13:21:11 2009].498623 CGI Request 1 on process 1525 >> [Fri Jun 26 13:21:11 2009].518710 msPOSTGISLayerOpen called >> datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using >> unique geoidn using srid=28992 >> [Fri Jun 26 13:21:11 2009].518735 MSPOSTGISLayerOpen -- shared >> connection not available. >> [Fri Jun 26 13:21:11 2009].523422 >> msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].523453 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].523466 msPOSTGISLayerWhichShapes called >> [Fri Jun 26 13:21:11 2009].523490 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].523796 query_string_0_6:DECLARE mycursor >> BINARY CURSOR FOR SELECT >> asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text >> from "NL.IMRO.0026.SVBBU-0001" WHERE >> (geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry && >> setSRID( 'BOX3D(155984.407968748 468982.233317728,156024.590926508 >> 469022.416275488)'::BOX3D,28992) ) >> [Fri Jun 26 13:21:11 2009].535912 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].535925 msPOSTGISLayerClose datastatement: >> tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn >> using srid=28992 >> [Fri Jun 26 13:21:11 2009].535931 msPOSTGISLayerClose -- closing >> query_result >> [Fri Jun 26 13:21:11 2009].536007 >> msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].536017 msConnPoolClose(host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].538905 msPOSTGISLayerOpen called >> datastatement: tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using >> unique geoidn using srid=28992 >> [Fri Jun 26 13:21:11 2009].538914 MSPOSTGISLayerOpen -- shared >> connection not available. >> [Fri Jun 26 13:21:11 2009].543298 >> msConnPoolRegister(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> [Fri Jun 26 13:21:11 2009].543314 msPOSTGISLayerFreeItemInfo called >> [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find >> column names) >> [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called >> [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for >> record = 0 >> [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique >> column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, >> table_name="NL.IMRO.0026.SVBBU-0001" >> [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE >> mycursor2 BINARY CURSOR FOR SELECT >> "geoidn"::text,"idealisatie"::text,"tc_multi_geometry"::text,"tc_lijn_geometry"::text,"tc_punt_geometry"::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') >> from "NL.IMRO.0026.SVBBU-0001" WHERE geoidn = 0 [Fri Jun 26 13:21:11 >> 2009].547105 msFreeMap(): freeing map at 0x943d518. >> [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: >> tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique geoidn >> using srid=28992 >> [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result >> is NULL >> [Fri Jun 26 13:21:11 2009].547124 >> msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> >> >> Just as with the WFS problem, there is no data returning. The WFS >> does show the exposed columns, never any data in. >> I've not a clue of how to proceed, or how to get extra debug info. >> Please help ! >> >> MArco >> [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost >> user=tc_check dbname=80.101.100.35,0x9457b38) >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From dmorissette at mapgears.com Fri Jun 26 13:19:45 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Fri, 26 Jun 2009 16:19:45 -0400 Subject: [mapserver-users] PHP/Mapscript CLASS TEXT In-Reply-To: <4A44AEEC.5010404@alkante.com> References: <4A44AEEC.5010404@alkante.com> Message-ID: <4A452D61.2040406@mapgears.com> Charlotte Declercq wrote: > > With TEXT = " ", the layer is drawn without the labels. If TEXT property > is present, I am unable to draw the labels, > because I can't remove the TEXT property and I can't find a way to write > TEXT [attribute_name] with mapscript (do the binding as for example > $oStyle->setbinding(MS_STYLE_BINDING_SIZE, "FIELD_NAME")). > > Anyone has solution : > - to remove the TEXT property ? I don't think there is a way to remove the text property with the current version. Could you please file a ticket and we'll try to fix that in the next release? It will likely be done by calling $class->setText(null) > - to set the TEXT property with the attribute ? > The following should work: $class->setText("([FIELD_NAME])"); Okay, I'll admit that was not obvious. The TEXT parameter works differently from regular attribute binding. It actually goes through the logical expression parser, that's why there is a special setTExt() method and the round brackets are required. Daniel -- Daniel Morissette http://www.mapgears.com/ From davidn at datalinktech.com.au Fri Jun 26 17:01:14 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Sat, 27 Jun 2009 10:01:14 +1000 Subject: [mapserver-users] getfeatureinfo problems In-Reply-To: <4A44C8B4.7060702@osgis.nl> References: <4A44B0FE.601@xs4all.nl> <4A44C632.5000700@xs4all.nl> <4A44C8B4.7060702@osgis.nl> Message-ID: <4A45614A.4020900@datalinktech.com.au> On 26/6/09 11:10 PM, Bart van den Eijnden (OSGIS) wrote: > Mapserver needs an integer type column for the USING UNIQUE clause, not > a string column. That won't work. Actually, no it doesn't require an integer type column for the UNIQUE clause. I have used text fields in the past with mapserver 5.x and can confirm that it does indeed work. Mind you, some other cartographic software such as QGIS does insist on int4 fields for PostGIS layers, but not mapserver. Regards, David From danlittle at yahoo.com Sat Jun 27 07:32:58 2009 From: danlittle at yahoo.com (Dan Little) Date: Sat, 27 Jun 2009 07:32:58 -0700 (PDT) Subject: [mapserver-users] Spatial queries to Mapserver In-Reply-To: <1708890c0906260451x637764dfj6445063a581be8e7@mail.gmail.com> References: <20090626064725.925B4E01D4E@lists.osgeo.org> <7DD0075F-6921-4172-A61F-67BC43B5FF33@remoteinformation.com.au> <1708890c0906260451x637764dfj6445063a581be8e7@mail.gmail.com> Message-ID: <571294.29404.qm@web51411.mail.re2.yahoo.com> Make sure your user has limited table access. This example would allow for SQL injection. ________________________________ From: Gabriel Messner To: mapserver-users at lists.osgeo.org Sent: Friday, June 26, 2009 6:51:43 AM Subject: Re: [mapserver-users] Spatial queries to Mapserver Thanks, I?ll digest it :-) 2009/6/26 Ben Madin Gabriel, You need to add a layer with your query in it - you can use variable substitution etc. an example (may or may not be a good one!) : LAYER DEBUG 3 NAME "buffalo" GROUP "Movement" METADATA layer_title "Buffalo" layer_order "2" END CONNECTIONTYPE postgis CONNECTION "host=localhost port=5432 dbname=prices" PROCESSING "CLOSE_CONNECTION=DEFER" DATA "route FROM ( SELECT s.id, s.commodity, s.shortname, s.amount, s.purpose, s.origprov, s.destprov, ST_MakeLine(s.startpoint, s.endpoint) as route, to_char(s.origindate,'DD/MM/YYYY') as date FROM ( SELECT m.id, c.commodity, sp.shortname, c.amount, r.name AS purpose, initcap(o.name) as origprov, initcap(d.name) as destprov, ST_Centroid(o.geom) as startpoint, ST_Centroid(d.geom) as endpoint, origindate FROM movements m LEFT OUTER JOIN locations o ON m.originprovince = o.hiercode AND o.del = 0 AND o.level = 2 LEFT OUTER JOIN locations d ON m.destinationprovince = d.hiercode AND d.del = 0 AND d.level = 2 JOIN commodities c ON m.id = c.movementid AND c.del = 0 AND c.commodity = 2 LEFT OUTER JOIN species sp ON c.commodity = sp.id AND sp.del = 0 LEFT OUTER JOIN reasons r ON c.purpose::int = r.id AND r.del = 0 WHERE m.del = 0 AND originprovince is not null AND originprovince not like '0' AND destinationprovince is not null AND destinationprovince not like '0' ) AS s WHERE s.origindate > '%start%' AND s.origindate < '%end%' ORDER BY s.origindate ) AS foo USING UNIQUE id USING srid=4326" TYPE LINE STATUS ON HEADER 'templates/trade_header.html' FOOTER 'templates/trade_footer.html' CLASSITEM commodity CLASS NAME "Buffalo" EXPRESSION "2" STYLE SYMBOL "arrow1" OFFSET 0 0 SIZE 12 COLOR 0 0 255 END TEMPLATE 'templates/trade_query.html' END END Actually, I don't think it's a great example, but it shows you how to create a line on the fly using the centroid (probably should have been point on surface) showing the direction the animals moved, within a user specified time frame. I'm open to any feedback on this - it's a modification of one I modified from one Regina Obe posted somewhere. I should say, note the use of debug. the error messages are invaluable when it doesn't work. good luck cheers Ben On 26/06/2009, at 2:47 PM, mapserver-users-request at lists.osgeo.org wrote: Subject: [mapserver-users] Spatial queries to Mapserver Hi all, Any one know of examples about how to call spatial queries using Postis functions from Mapserver? -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... -------------- next part -------------- An HTML attachment was scrubbed... URL: From danlittle at yahoo.com Sat Jun 27 08:08:35 2009 From: danlittle at yahoo.com (Dan Little) Date: Sat, 27 Jun 2009 08:08:35 -0700 (PDT) Subject: [mapserver-users] best practice: map data structure In-Reply-To: <200906261543.05642.liste@geo-dienstleistung.de> References: <200906261543.05642.liste@geo-dienstleistung.de> Message-ID: <757145.36637.qm@web51407.mail.re2.yahoo.com> It is very dependent on your needs. For example, if you have departments responsible for various layers you may want to divide the structure by that, if there is only one administrator then that isn't necessary. Typically, if there is only one administrator I tend to do something like this... [root]/ -- make this whatever you want and that makes sense from a permissions and storage stand point for your new server. for a simple shapefile layer... [root]/layer_a/layer_a.map [root]/layer_a/layer_a.[shp|dbf|shx] for a tree'd shapfile [root]/layer_b/layer_b.map [root]/layer_b/layer_b.[shp|dbf|shx] [root]/layer_b/data/[... quad tree goes here ...] for a raster... [root]/layer_c/layer_c.map [root]/layer_c/raster/[... raster data ...] Then you can use mapserver includes to include the proper mapfile fragments into an applications various mapfiles. ----- Original Message ---- > From: Frank Broniewski > To: mapserver-users at lists.osgeo.org > Sent: Friday, June 26, 2009 8:43:05 AM > Subject: [mapserver-users] best practice: map data structure > > Hello List, > > I want to migrate our old server to a new one, and I want to replace the > somewhat grown map data folder and file mess into something more structured. > Therefore I am looking for some advice on how to organize the Filesystem > Hierarchy. Sure somehow its always a matter of taste and need, but maybe you > have some comments on my proposed structure. > > I browsed already the mailing list archives and the documentation on the > mapserver site but did not find any related infos, but I am willing to > summarize this thread into a howto document if something useful comes up. > > I will be using a linux server, so the structure will reflect the unix > filesystem hierarchy to a certain degree. > > A good starting point seems to be /usr/local/ to me. > > /usr/local/mapdata/ for storing raster and vector files > /usr/local/mapfiles/ for mapfiles and other config files > > You would have /usr/local/mapdata/CLIENTDIR/vector and > /usr/local/mapdata/CLIENTDIR/raster for client specific map data > similar to > /usr/local/mapdata/PROJECTDIR/... for project data > > and /usr/local/mapdata/share/vector & /usr/local/mapdata/share/raster for > shared map data (srtm topo maps e.g.) > > A good structure for mapfiles & co would be: > /mapfile.map > /fonts/ - font config and font files (ttf) > /icons/ - icon files (png, ...) > /symbols/ - symbol.map > /templates/ - template files > > This structure could be mapped to > /usr/local/mapfiles/share/... > or > /usr/local/mapfiles/CLIENTDIR/... > > I would really appreciate any comments and shared experience on this ... > > Listing: > > /usr/local/mapdata/ > /usr/local/mapdata/share/ > /usr/local/mapdata/share/raster/ > /usr/local/mapdata/share/raster/topo20/ > /usr/local/mapdata/share/raster/topo20/01.tif > /usr/local/mapdata/share/raster/topo20/... > /usr/local/mapdata/share/raster/topo20/99.tif > /usr/local/mapdata/share/raster/topo20/tileindex.shp > /usr/local/mapdata/share/vector/ > /usr/local/mapdata/share/vector/streetnetwork/ > /usr/local/mapdata/share/vector/streetnetwork/streets.shp > /usr/local/mapdata/CLIENT/raster/ > /usr/local/mapdata/CLIENT/raster/ortho/ > /usr/local/mapdata/CLIENT/raster/ortho/01.tif > /usr/local/mapdata/CLIENT/raster/ortho/... > /usr/local/mapdata/CLIENT/raster/ortho/99.tif > /usr/local/mapdata/CLIENT/raster/ortho/tileindex.shp > /usr/local/mapdata/CLIENT/vector/ > /usr/local/mapdata/CLIENT/vector/cad/contours.shp > /usr/local/mapdata/PROJECT/raster/ > /usr/local/mapdata/PROJECT/raster/climate/ > /usr/local/mapdata/PROJECT/raster/climate/precipitation.tif > /usr/local/mapdata/PROJECT/vector/ > /usr/local/mapdata/PROJECT/vector/archeology-sites.shp > > /usr/local/mapfiles/ > /usr/local/mapfiles/share/ > /usr/local/mapfiles/share/mapfile.map > /usr/local/mapfiles/share/fonts/ > /usr/local/mapfiles/share/icons/ > /usr/local/mapfiles/share/symbols/ > /usr/local/mapfiles/share/templates/ > /usr/local/mapfiles/CLIENT/ > /usr/local/mapfiles/CLIENT/mapfile.map > /usr/local/mapfiles/CLIENT/fonts/ > /usr/local/mapfiles/CLIENT/icons/ > /usr/local/mapfiles/CLIENT/symbols/ > /usr/local/mapfiles/CLIENT/templates/ > /usr/local/mapfiles/PROJECT/mapfile.map > /usr/local/mapfiles/PROJECT/fonts/ > /usr/local/mapfiles/PROJECT/icons/ > /usr/local/mapfiles/PROJECT/symbols/ > /usr/local/mapfiles/PROJECT/templates/ > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From ben at remoteinformation.com.au Sat Jun 27 22:17:19 2009 From: ben at remoteinformation.com.au (Ben Madin) Date: Sun, 28 Jun 2009 13:17:19 +0800 Subject: [mapserver-users] Spatial queries to Mapserver In-Reply-To: <20090627143945.D5297E00EDF@lists.osgeo.org> References: <20090627143945.D5297E00EDF@lists.osgeo.org> Message-ID: <8785B9D9-F161-4BCF-A941-F4C3A3D80925@remoteinformation.com.au> Thanks Dan, Could you elaborate on this - there are a username and password on the database layer for select only for web user, but I scrubbed them from my post - which was remiss of me but I was in a hurry. However, is there a way in MapServer to "clean" the parameters that I have used - I could imagine a startdate like 12';DELETE from movements; is what you mean by sql injection? cheers Ben On 27/06/2009, at 10:39 PM, mapserver-users-request at lists.osgeo.org wrote: > From: Dan Little > Date: 27 June 2009 10:32:58 PM > To: Gabriel Messner , mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Spatial queries to Mapserver > > > Make sure your user has limited table access. This example would > allow for SQL injection. > > From: Gabriel Messner > To: mapserver-users at lists.osgeo.org > Sent: Friday, June 26, 2009 6:51:43 AM > Subject: Re: [mapserver-users] Spatial queries to Mapserver > > Thanks, I?ll digest it :-) > > > 2009/6/26 Ben Madin > Gabriel, > > You need to add a layer with your query in it - you can use variable > substitution etc. > > an example (may or may not be a good one!) : > > LAYER > DEBUG 3 > NAME "buffalo" > GROUP "Movement" > METADATA > layer_title "Buffalo" > layer_order "2" > END > CONNECTIONTYPE postgis > CONNECTION "host=localhost port=5432 dbname=prices" > PROCESSING "CLOSE_CONNECTION=DEFER" > DATA "route FROM ( > SELECT s.id, s.commodity, s.shortname, s.amount, > s.purpose, s.origprov, s.destprov, ST_MakeLine(s.startpoint, > s.endpoint) as route, to_char(s.origindate,'DD/MM/YYYY') as date > FROM ( > SELECT m.id, c.commodity, sp.shortname, > c.amount, r.name AS purpose, > initcap(o.name) as origprov, initcap(d.name) > as destprov, > ST_Centroid(o.geom) as startpoint, > ST_Centroid(d.geom) as endpoint, origindate > FROM movements m > LEFT OUTER JOIN locations o > ON m.originprovince = o.hiercode > AND o.del = 0 > AND o.level = 2 > LEFT OUTER JOIN locations d > ON m.destinationprovince = d.hiercode > AND d.del = 0 > AND d.level = 2 > JOIN commodities c > ON m.id = c.movementid > AND c.del = 0 > AND c.commodity = 2 > LEFT OUTER JOIN species sp > ON c.commodity = sp.id > AND sp.del = 0 > LEFT OUTER JOIN reasons r > ON c.purpose::int = r.id > AND r.del = 0 > WHERE m.del = 0 > AND originprovince is not null > AND originprovince not like '0' > AND destinationprovince is not null > AND destinationprovince not like '0' > ) AS s > WHERE s.origindate > '%start%' > AND s.origindate < '%end%' > ORDER BY s.origindate > ) AS foo USING UNIQUE id USING srid=4326" > TYPE LINE > STATUS ON > HEADER 'templates/trade_header.html' > FOOTER 'templates/trade_footer.html' > CLASSITEM commodity > CLASS > NAME "Buffalo" > EXPRESSION "2" > STYLE > SYMBOL "arrow1" > OFFSET 0 0 > SIZE 12 > COLOR 0 0 255 > END > TEMPLATE 'templates/trade_query.html' > END > END > > -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 ben at remoteinformation.com.au Out here, it pays to know... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeepkumar.jakkaraju at gmail.com Sun Jun 28 21:52:51 2009 From: sandeepkumar.jakkaraju at gmail.com (Sandeep Kumar Jakkaraju) Date: Mon, 29 Jun 2009 10:22:51 +0530 Subject: [mapserver-users] Automating mapfile creation Message-ID: Hello All I want to automate the mapfile creation like QuantumGIS does. Please help me out with referring me to the right piece of code. -- Thanks Regards Sandeep Kumar Jakkaraju -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrian_gh.popa at romtelecom.ro Sun Jun 28 23:03:00 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 29 Jun 2009 09:03:00 +0300 Subject: [mapserver-users] Adding a diagonal hash over a layer Message-ID: <4A485914.1070608@romtelecom.ro> Hello, I'd like to add a diagonal hash over some polygon elements. Can this be done using a symbol? If yes, can you point me to an example? Also - how can I create such a symbol? I'm using mapserver 5.4. Thank you for your patience. Regards, Adrian From liste at geo-dienstleistung.de Sun Jun 28 23:27:34 2009 From: liste at geo-dienstleistung.de (Frank Broniewski) Date: Mon, 29 Jun 2009 08:27:34 +0200 Subject: [mapserver-users] best practice: map data structure In-Reply-To: <757145.36637.qm@web51407.mail.re2.yahoo.com> References: <200906261543.05642.liste@geo-dienstleistung.de> <757145.36637.qm@web51407.mail.re2.yahoo.com> Message-ID: <200906290827.34395.liste@geo-dienstleistung.de> Hi Dan, thanks for your response. Using includes for the layers is a nice idea, and it keeps the layer data and configuration together. And you'd get a good overview over all avail. layers on your server just by looking at the existing. directories. Even postgis layers would have a directory since the layers mapfile would be stored there. And you could have several "stylesheet" layer map files in the directory ... And in an application directory you could include all the layers necessary for the application in a master mapfile. Do you have experience in using lots of includes within a mapfile? I remember using includes for about 30 layers in an php application (pmapper) once (v4.10 on ubuntu 7.10) and I run into problems. namely there where too many open files opened by apache and the mapserver process. It seemed, that the includes weren't closed, and each time the map was redrawn, the includes where opened again and so the file system limit of max. open files was reached quite soon. On Saturday 27 June 2009 17:08:35 Dan Little wrote: > It is very dependent on your needs. For example, if you have departments > responsible for various layers you may want to divide the structure by > that, if there is only one administrator then that isn't necessary. > > Typically, if there is only one administrator I tend to do something like > this... > > [root]/ -- make this whatever you want and that makes sense from a > permissions and storage stand point for your new server. > > for a simple shapefile layer... > [root]/layer_a/layer_a.map > [root]/layer_a/layer_a.[shp|dbf|shx] > > for a tree'd shapfile > [root]/layer_b/layer_b.map > [root]/layer_b/layer_b.[shp|dbf|shx] > [root]/layer_b/data/[... quad tree goes here ...] > > for a raster... > [root]/layer_c/layer_c.map > [root]/layer_c/raster/[... raster data ...] > > Then you can use mapserver includes to include the proper mapfile fragments > into an applications various mapfiles. > > ----- Original Message ---- > > > From: Frank Broniewski > > To: mapserver-users at lists.osgeo.org > > Sent: Friday, June 26, 2009 8:43:05 AM > > Subject: [mapserver-users] best practice: map data structure > > > > Hello List, > > > > I want to migrate our old server to a new one, and I want to replace the > > somewhat grown map data folder and file mess into something more > > structured. Therefore I am looking for some advice on how to organize the > > Filesystem Hierarchy. Sure somehow its always a matter of taste and need, > > but maybe you have some comments on my proposed structure. > > > > I browsed already the mailing list archives and the documentation on the > > mapserver site but did not find any related infos, but I am willing to > > summarize this thread into a howto document if something useful comes up. > > > > I will be using a linux server, so the structure will reflect the unix > > filesystem hierarchy to a certain degree. > > > > A good starting point seems to be /usr/local/ to me. > > > > /usr/local/mapdata/ for storing raster and vector files > > /usr/local/mapfiles/ for mapfiles and other config files > > > > You would have /usr/local/mapdata/CLIENTDIR/vector and > > /usr/local/mapdata/CLIENTDIR/raster for client specific map data > > similar to > > /usr/local/mapdata/PROJECTDIR/... for project data > > > > and /usr/local/mapdata/share/vector & /usr/local/mapdata/share/raster for > > shared map data (srtm topo maps e.g.) > > > > A good structure for mapfiles & co would be: > > /mapfile.map > > /fonts/ - font config and font files (ttf) > > /icons/ - icon files (png, ...) > > /symbols/ - symbol.map > > /templates/ - template files > > > > This structure could be mapped to > > /usr/local/mapfiles/share/... > > or > > /usr/local/mapfiles/CLIENTDIR/... > > > > I would really appreciate any comments and shared experience on this ... > > > > Listing: > > > > /usr/local/mapdata/ > > /usr/local/mapdata/share/ > > /usr/local/mapdata/share/raster/ > > /usr/local/mapdata/share/raster/topo20/ > > /usr/local/mapdata/share/raster/topo20/01.tif > > /usr/local/mapdata/share/raster/topo20/... > > /usr/local/mapdata/share/raster/topo20/99.tif > > /usr/local/mapdata/share/raster/topo20/tileindex.shp > > /usr/local/mapdata/share/vector/ > > /usr/local/mapdata/share/vector/streetnetwork/ > > /usr/local/mapdata/share/vector/streetnetwork/streets.shp > > /usr/local/mapdata/CLIENT/raster/ > > /usr/local/mapdata/CLIENT/raster/ortho/ > > /usr/local/mapdata/CLIENT/raster/ortho/01.tif > > /usr/local/mapdata/CLIENT/raster/ortho/... > > /usr/local/mapdata/CLIENT/raster/ortho/99.tif > > /usr/local/mapdata/CLIENT/raster/ortho/tileindex.shp > > /usr/local/mapdata/CLIENT/vector/ > > /usr/local/mapdata/CLIENT/vector/cad/contours.shp > > /usr/local/mapdata/PROJECT/raster/ > > /usr/local/mapdata/PROJECT/raster/climate/ > > /usr/local/mapdata/PROJECT/raster/climate/precipitation.tif > > /usr/local/mapdata/PROJECT/vector/ > > /usr/local/mapdata/PROJECT/vector/archeology-sites.shp > > > > /usr/local/mapfiles/ > > /usr/local/mapfiles/share/ > > /usr/local/mapfiles/share/mapfile.map > > /usr/local/mapfiles/share/fonts/ > > /usr/local/mapfiles/share/icons/ > > /usr/local/mapfiles/share/symbols/ > > /usr/local/mapfiles/share/templates/ > > /usr/local/mapfiles/CLIENT/ > > /usr/local/mapfiles/CLIENT/mapfile.map > > /usr/local/mapfiles/CLIENT/fonts/ > > /usr/local/mapfiles/CLIENT/icons/ > > /usr/local/mapfiles/CLIENT/symbols/ > > /usr/local/mapfiles/CLIENT/templates/ > > /usr/local/mapfiles/PROJECT/mapfile.map > > /usr/local/mapfiles/PROJECT/fonts/ > > /usr/local/mapfiles/PROJECT/icons/ > > /usr/local/mapfiles/PROJECT/symbols/ > > /usr/local/mapfiles/PROJECT/templates/ > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users From adrian_gh.popa at romtelecom.ro Mon Jun 29 00:09:36 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 29 Jun 2009 10:09:36 +0300 Subject: [mapserver-users] Adding a proxy/wrapper between the web frontend (openlayers) and mapserver Message-ID: <4A4868B0.3070001@romtelecom.ro> Hello everyone! For special reasons (dynamic data) I need to create some sort of proxy/wrapper around mapserv (5.2) to permit the dynamic modification of the mapfile based on the age of the specific mapfile. Basically the user will request a mapfile which on most ocasions will be generated on the fly (server-side). I would like to feed this mapfile to mapserv and return the image to the user in a way it's compatible with open layers. The user would see this wapper in a transparent way. I know how to configure the openlayers part and I know how to generate the map file, but I'm not sure how to link my wrapper to mapserver... How do I call mapserver the same way the web server would call it? I think if I call it through a shell, it wouldn't work the same way. I don't really want to call shp2img because it's harder to maintain. The output part should be straightforward - I would just print out what mapserver returns - because it should take care of setting content-type and sending the image. Any tips on where I could start? Thanks! P.S. I'm writing the wapper in perl and I'm not using the mapserver API (but I could if it's necessary) From c.declercq at alkante.com Mon Jun 29 00:20:03 2009 From: c.declercq at alkante.com (Charlotte Declercq) Date: Mon, 29 Jun 2009 09:20:03 +0200 Subject: [mapserver-users] PHP/Mapscript CLASS TEXT In-Reply-To: <4A452D61.2040406@mapgears.com> References: <4A44AEEC.5010404@alkante.com> <4A452D61.2040406@mapgears.com> Message-ID: <4A486B23.7070403@alkante.com> Daniel Morissette a ?crit : > Charlotte Declercq wrote: >> >> With TEXT = " ", the layer is drawn without the labels. If TEXT >> property is present, I am unable to draw the labels, >> because I can't remove the TEXT property and I can't find a way to >> write TEXT [attribute_name] with mapscript (do the binding as for >> example $oStyle->setbinding(MS_STYLE_BINDING_SIZE, "FIELD_NAME")). >> >> Anyone has solution : >> - to remove the TEXT property ? > > I don't think there is a way to remove the text property with the > current version. Could you please file a ticket and we'll try to fix > that in the next release? It will likely be done by calling > $class->setText(null) > >> - to set the TEXT property with the attribute ? >> > > The following should work: > > $class->setText("([FIELD_NAME])"); > > Okay, I'll admit that was not obvious. The TEXT parameter works > differently from regular attribute binding. It actually goes through > the logical expression parser, that's why there is a special setTExt() > method and the round brackets are required. > > Daniel Thanks a lot, $class->setText("([FIELD_NAME])"); is working ! -- Charlotte DECLERCQ ALKANTE SAS Ing?nieur R&D SIG 1, rue du Ch?ne Morand 35 510 Cesson-S?vign? Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 From candalt at online.no Mon Jun 29 01:59:06 2009 From: candalt at online.no (=?iso-8859-1?Q?Sture_Dings=F8yr?=) Date: Mon, 29 Jun 2009 10:59:06 +0200 (MEST) Subject: [mapserver-users] WFS MAXFEATURES error in mapserver? Message-ID: <5851462.135431.1246265946249.JavaMail.adm-moff@moffice2.nsc.no> Hi Running some WFS services with Mapserver 5.4.0. Wat to restrict the number of returned features, and therefore added the wfs_maxfeatures metadata to ny layer definition e.g: "wfs_maxfeatures" "1" But when i run the WFS service with a GetFeature request, the wfs_maxfeatures seems not to be used. If i add the MAXFEATURES=1 in my request URL, the number of returned features is correct. Have tested on both a ESRI SHAPE and PostGIS layer... Is this a bug? Cheers Sture From sschantz at bfs.de Mon Jun 29 03:35:10 2009 From: sschantz at bfs.de (Stefan Schantz) Date: Mon, 29 Jun 2009 12:35:10 +0200 Subject: [Fwd: Re: [mapserver-users] classification of a raster image is changing] Message-ID: <4A4898DE.3050303@BfS.de> -------------- next part -------------- An embedded message was scrubbed... From: Stefan Schantz Subject: Re: [mapserver-users] classification of a raster image is changing Date: Mon, 29 Jun 2009 09:59:50 +0200 Size: 79136 URL: From adrian_gh.popa at romtelecom.ro Mon Jun 29 04:07:11 2009 From: adrian_gh.popa at romtelecom.ro (Adrian Popa) Date: Mon, 29 Jun 2009 14:07:11 +0300 Subject: [mapserver-users] Adding a proxy/wrapper between the web frontend (openlayers) and mapserver In-Reply-To: <4A4868B0.3070001@romtelecom.ro> References: <4A4868B0.3070001@romtelecom.ro> Message-ID: <4A48A05F.3010408@romtelecom.ro> Hi everyone! I managed to create such a proxy/wrapper - after I generated the mapfile, I just modified some environment variables and called mapserv as a regular script. Thankfully the evrironment in which my wrapper was called is preserved and sent to mapserv. Here's an example: #create the mapfile as desired and save the contents to a file who's complete path is stored in $file #change the query string and add the map parameter: $ENV{'QUERY_STRING'} = $ENV{'QUERY_STRING'}."&map=$file"; #call the original mapserv script and return the output to the user print `/var/www/cgi-bin/mapserv`; #all done The only major problem I encountered was that mapserver couldn't open the files referenced in the mapfile (fonts, template, shapefiles). I had to specify the full paths in the map file to get it working. Cheers, Adrian Adrian Popa wrote: > Hello everyone! > > For special reasons (dynamic data) I need to create some sort of > proxy/wrapper around mapserv (5.2) to permit the dynamic modification > of the mapfile based on the age of the specific mapfile. > Basically the user will request a mapfile which on most ocasions will > be generated on the fly (server-side). I would like to feed this > mapfile to mapserv and return the image to the user in a way it's > compatible with open layers. The user would see this wapper in a > transparent way. > > I know how to configure the openlayers part and I know how to generate > the map file, but I'm not sure how to link my wrapper to mapserver... > How do I call mapserver the same way the web server would call it? I > think if I call it through a shell, it wouldn't work the same way. I > don't really want to call shp2img because it's harder to maintain. > > The output part should be straightforward - I would just print out > what mapserver returns - because it should take care of setting > content-type and sending the image. > > Any tips on where I could start? > Thanks! > > P.S. I'm writing the wapper in perl and I'm not using the mapserver > API (but I could if it's necessary) > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From dmorissette at mapgears.com Mon Jun 29 05:46:35 2009 From: dmorissette at mapgears.com (Daniel Morissette) Date: Mon, 29 Jun 2009 08:46:35 -0400 Subject: [mapserver-users] WFS MAXFEATURES error in mapserver? In-Reply-To: <5851462.135431.1246265946249.JavaMail.adm-moff@moffice2.nsc.no> References: <5851462.135431.1246265946249.JavaMail.adm-moff@moffice2.nsc.no> Message-ID: <4A48B7AB.50401@mapgears.com> Sture Dings?yr wrote: > > Wat to restrict the number of returned features, and therefore added the wfs_maxfeatures metadata to ny layer definition e.g: > "wfs_maxfeatures" "1" > > But when i run the WFS service with a GetFeature request, the wfs_maxfeatures seems not to be used. > I believe the wfs_maxfeatures metadata should be set at the web.metadata level and not at the layer level. Daniel -- Daniel Morissette http://www.mapgears.com/ From andrew.deklerk at gmail.com Mon Jun 29 07:21:46 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 29 Jun 2009 07:21:46 -0700 (PDT) Subject: [mapserver-users] Dynamic LabelItem Message-ID: <1246285306236-3174574.post@n2.nabble.com> Hi All We are using mapserv cgi to generate WMS and access via openlayers. Searching reveals that it is not possible to dynamically change the labelitem by substitution i.e LABELITEM='%LABELFIELD%' Is it possible however to do it via &map_layername_labelitem="labelfield" in your url, or any other such method. Any help would be really appreciated, because otherwise it means creating different layers for each labelling option. Thanks Andrew -- View this message in context: http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3174574.html Sent from the Mapserver - User mailing list archive at Nabble.com. From bfraser at geoanalytic.com Mon Jun 29 07:32:46 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Mon, 29 Jun 2009 08:32:46 -0600 Subject: [mapserver-users] Adding a proxy/wrapper between the web frontend (openlayers) and mapserver In-Reply-To: <4A48A05F.3010408@romtelecom.ro> References: <4A4868B0.3070001@romtelecom.ro> <4A48A05F.3010408@romtelecom.ro> Message-ID: <4A48D08E.9050305@geoanalytic.com> Adrain, There's some examples of doing similar things at http://mapserver.org/ogc/wms_server.html, specifically the Section named "More About the Online Resource URL" Best Regards, Brent Fraser Adrian Popa wrote: > Hi everyone! I managed to create such a proxy/wrapper - after I > generated the mapfile, I just modified some environment variables and > called mapserv as a regular script. Thankfully the evrironment in which > my wrapper was called is preserved and sent to mapserv. > > Here's an example: > > #create the mapfile as desired and save the contents to a file who's > complete path is stored in $file > > #change the query string and add the map parameter: > $ENV{'QUERY_STRING'} = $ENV{'QUERY_STRING'}."&map=$file"; > #call the original mapserv script and return the output to the user > print `/var/www/cgi-bin/mapserv`; > > #all done > > The only major problem I encountered was that mapserver couldn't open > the files referenced in the mapfile (fonts, template, shapefiles). I had > to specify the full paths in the map file to get it working. > > Cheers, > Adrian > > Adrian Popa wrote: >> Hello everyone! >> >> For special reasons (dynamic data) I need to create some sort of >> proxy/wrapper around mapserv (5.2) to permit the dynamic modification >> of the mapfile based on the age of the specific mapfile. >> Basically the user will request a mapfile which on most ocasions will >> be generated on the fly (server-side). I would like to feed this >> mapfile to mapserv and return the image to the user in a way it's >> compatible with open layers. The user would see this wapper in a >> transparent way. >> >> I know how to configure the openlayers part and I know how to generate >> the map file, but I'm not sure how to link my wrapper to mapserver... >> How do I call mapserver the same way the web server would call it? I >> think if I call it through a shell, it wouldn't work the same way. I >> don't really want to call shp2img because it's harder to maintain. >> >> The output part should be straightforward - I would just print out >> what mapserver returns - because it should take care of setting >> content-type and sending the image. >> >> Any tips on where I could start? >> Thanks! >> >> P.S. I'm writing the wapper in perl and I'm not using the mapserver >> API (but I could if it's necessary) >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From niccolo at rigacci.org Mon Jun 29 07:14:57 2009 From: niccolo at rigacci.org (Niccolo Rigacci) Date: Mon, 29 Jun 2009 16:14:57 +0200 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver Message-ID: <20090629141457.GA27936@rigacci.org> I experienced a severe performance problem with MapServer configured as WFS server, taking data from Oracle via GDAL/OCI driver. All the features take about 9.6 Mb of xml data (via WFS) or 8.4 Mb of text data (via ogrinfo). Retrieving all the features via WFS from a shapefile takes less than one second, retrieving the same WFS from Oracle takes about 470 seconds. Retrieving data via the ogrinfo utility takes about 3 seconds: Tests are performed from the same Linux box, taking data in this way: 1 s: wget <- http <- Remote_host <- MapServer <- GDAL <- shapefile 470 s: wget <- http <- Remote_host <- MapServer <- GDAL/OCI <- localhost <- Oracle 3 s: ogrinfo <- GDAL/OCI <- Remote_host <- Oracle It seems that wget (int the Oracle case) starts at about 400 Kb/sec transfer rate, then it drops down to 13 Kb/sec a few seconds later. Does somebody have any idea where is the bottleneck? How can I debug such slodown? Software versions: Oracle Instant Client 10g GDAL: gdal-base-1.6.1-oci (from FGS Linux Installer) MapServer 5.4.0 (from FGS Linux Installer) This is the LAYER in the mapfile: LAYER NAME "aree_stradali" STATUS DEFAULT TYPE POLYGON # Dati da connessione Oracle CONNECTIONTYPE OGR CONNECTION "OCI:username/secret at localhost/sitfi02t" DATA "REPLICA_TOPONOMASTICA.AGGR_AREESTRADA" # Dati da shapefile #DATA "shape/toponomastica/aree_strada.shp" PROJECTION "init=epsg:3003" END DUMP TRUE METADATA "wfs_title" "aree_stradali" "gml_featureid" "objectid" END CLASS STYLE COLOR 255 0 0 WIDTH 1 END END END -- Niccolo Rigacci Firenze - Italy From warmerdam at pobox.com Mon Jun 29 07:51:30 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon, 29 Jun 2009 10:51:30 -0400 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver In-Reply-To: <20090629141457.GA27936@rigacci.org> References: <20090629141457.GA27936@rigacci.org> Message-ID: <4A48D4F2.3020203@pobox.com> Niccolo Rigacci wrote: > I experienced a severe performance problem with MapServer > configured as WFS server, taking data from Oracle via GDAL/OCI > driver. > > All the features take about 9.6 Mb of xml data (via WFS) or 8.4 > Mb of text data (via ogrinfo). > > Retrieving all the features via WFS from a shapefile takes less > than one second, retrieving the same WFS from Oracle takes about > 470 seconds. Retrieving data via the ogrinfo utility takes about > 3 seconds: > > Tests are performed from the same Linux box, taking data in this > way: > > 1 s: wget <- http <- Remote_host <- MapServer <- GDAL <- shapefile > 470 s: wget <- http <- Remote_host <- MapServer <- GDAL/OCI <- localhost <- Oracle > 3 s: ogrinfo <- GDAL/OCI <- Remote_host <- Oracle > > It seems that wget (int the Oracle case) starts at about 400 > Kb/sec transfer rate, then it drops down to 13 Kb/sec a few > seconds later. > > Does somebody have any idea where is the bottleneck? How can I > debug such slodown? Niccolo, This is almost certainly due to the two-pass query approach in mapserver. On the first pass the id's of all features matching the query are collected and then the features are fetched, one by one, by id. In the case of the oci driver in OGR a fetch by id issues an sql select statement. So you are basically getting one sql select statement per features which is very inefficient. What you need if you want to do large amounts of feature query - such as for WFS - is the new one pass query mechanism that Steve is working on. I'm not exactly clear on it's status. Note that this two pass query anti-optimization does not affect feature drawing which is accomplished in one pass. It also does not significantly affect formats like shape where fetching by id's has no noticable overhead. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From schatterjee at addisontx.gov Mon Jun 29 08:13:04 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 10:13:04 -0500 Subject: [mapserver-users] unable to access the map file Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AB@sc-exchange.addisongov.org> Hi all, I have just started using mapserver. It was running well till last week. The Itasca application was also running. But all of a sudden the application is not working. Although the maps are being created in the temp folder but it is not being displayed in the browser. I tried with typing http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver demo\workshop\itasca.map&mode=map But it is displaying the error message msLoadMap(): Unable to access file. (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). I tried by changing the backslash to forward slash in the path but I am still getting the same error message. I don't know what is going wrong. Any help in this regard will be highly appreciated. I require to solve it urgently. Thanks Suman ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From aboudreault at mapgears.com Mon Jun 29 08:21:30 2009 From: aboudreault at mapgears.com (Alan Boudreault) Date: Mon, 29 Jun 2009 11:21:30 -0400 Subject: [mapserver-users] unable to access the map file In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AB@sc-exchange.addisongov.org> References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AB@sc-exchange.addisongov.org> Message-ID: <200906291121.30630.aboudreault@mapgears.com> Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > *************************************************************************** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > *************************************************************************** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com From jmckenna at gatewaygeomatics.com Mon Jun 29 08:59:26 2009 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 29 Jun 2009 12:59:26 -0300 Subject: [mapserver-users] unable to access the map file In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AB@sc-exchange.addisongov.org> References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AB@sc-exchange.addisongov.org> Message-ID: <4A48E4DE.7030104@gatewaygeomatics.com> Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map&mode=map > > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don?t know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > Since you are using MS4W you can download the "MapServer Itasca Demo Application" add-on application from the MS4W downloads page [1], extract it at your drive root, restart Apache, and look on localhost for a new link to the application - no configuration needed. Note: use MS4W 3.0 beta3 with this Itasca application. [1] http://www.maptools.org/ms4w/index.phtml?page=downloads.html -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ From michael.smith at usace.army.mil Mon Jun 29 09:06:20 2009 From: michael.smith at usace.army.mil (Smith, Michael ERDC-CRREL-NH) Date: Mon, 29 Jun 2009 12:06:20 -0400 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver In-Reply-To: <4A48D4F2.3020203@pobox.com> Message-ID: You can also try using the Mapserver direct Oracle connection rather than going through OGR. LAYER NAME "aree_stradali" STATUS DEFAULT TYPE POLYGON # Dati da connessione Oracle CONNECTIONTYPE ORACLESPATIAL CONNECTION "username/secret at localhost/sitfi02t" DATA "SPATIAL_COLUMN FROM REPLICA_TOPONOMASTICA.AGGR_AREESTRADA USING UNIQUE OBJECTID" # Dati da shapefile #DATA "shape/toponomastica/aree_strada.shp" PROJECTION "init=epsg:3003" END DUMP TRUE METADATA "wfs_title" "aree_stradali" "gml_featureid" "objectid" END CLASS STYLE COLOR 255 0 0 WIDTH 1 END END END On 6/29/09 10:51 AM, "Frank Warmerdam" wrote: > Niccolo Rigacci wrote: >> I experienced a severe performance problem with MapServer >> configured as WFS server, taking data from Oracle via GDAL/OCI >> driver. >> >> All the features take about 9.6 Mb of xml data (via WFS) or 8.4 >> Mb of text data (via ogrinfo). >> >> Retrieving all the features via WFS from a shapefile takes less >> than one second, retrieving the same WFS from Oracle takes about >> 470 seconds. Retrieving data via the ogrinfo utility takes about >> 3 seconds: >> >> Tests are performed from the same Linux box, taking data in this >> way: >> >> 1 s: wget <- http <- Remote_host <- MapServer <- GDAL <- shapefile >> 470 s: wget <- http <- Remote_host <- MapServer <- GDAL/OCI <- localhost <- >> Oracle >> 3 s: ogrinfo <- GDAL/OCI <- Remote_host <- Oracle >> >> It seems that wget (int the Oracle case) starts at about 400 >> Kb/sec transfer rate, then it drops down to 13 Kb/sec a few >> seconds later. >> >> Does somebody have any idea where is the bottleneck? How can I >> debug such slodown? > > Niccolo, > > This is almost certainly due to the two-pass query approach in mapserver. > On the first pass the id's of all features matching the query are collected > and then the features are fetched, one by one, by id. In the case of the > oci driver in OGR a fetch by id issues an sql select statement. So you are > basically getting one sql select statement per features which is very > inefficient. > > What you need if you want to do large amounts of feature query - such as for > WFS - is the new one pass query mechanism that Steve is working on. I'm not > exactly clear on it's status. > > Note that this two pass query anti-optimization does not affect feature > drawing which is accomplished in one pass. It also does not significantly > affect formats like shape where fetching by id's has no noticable overhead. > > Best regards, From schatterjee at addisontx.gov Mon Jun 29 09:18:12 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 11:18:12 -0500 Subject: [mapserver-users] RE: mapserver-users Digest, Vol 17, Issue 77 Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AE@sc-exchange.addisongov.org> Thanks a lot! But I think my problem lies in the fact that the mapserver is not able to access the map file. When I tried to open the map file in the browser(IE) by typing its absolute path it is displaying that Accessing the resource C:\.. has been disallowed. Previously I was able to open the map file in the browser. How to solve this problem? Suman -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of mapserver-users-request at lists.osgeo.org Sent: Monday, June 29, 2009 11:00 AM To: mapserver-users at lists.osgeo.org Subject: mapserver-users Digest, Vol 17, Issue 77 Send mapserver-users mailing list submissions to mapserver-users at 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-request at lists.osgeo.org You can reach the person managing the list at mapserver-users-owner at 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: unable to access the map file (Alan Boudreault) 2. Re: unable to access the map file (Jeff McKenna) ---------------------------------------------------------------------- Message: 1 Date: Mon, 29 Jun 2009 11:21:30 -0400 From: Alan Boudreault Subject: Re: [mapserver-users] unable to access the map file To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Message-ID: <200906291121.30630.aboudreault at mapgears.com> Content-Type: Text/Plain; charset="iso-8859-15" Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ------------------------------ Message: 2 Date: Mon, 29 Jun 2009 12:59:26 -0300 From: Jeff McKenna Subject: Re: [mapserver-users] unable to access the map file To: mapserver-users at lists.osgeo.org Message-ID: <4A48E4DE.7030104 at gatewaygeomatics.com> Content-Type: text/plain; charset=windows-1252; format=flowed Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver demo\workshop\itasca.map&mode=map > > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > Since you are using MS4W you can download the "MapServer Itasca Demo Application" add-on application from the MS4W downloads page [1], extract it at your drive root, restart Apache, and look on localhost for a new link to the application - no configuration needed. Note: use MS4W 3.0 beta3 with this Itasca application. [1] http://www.maptools.org/ms4w/index.phtml?page=downloads.html -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ ------------------------------ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users End of mapserver-users Digest, Vol 17, Issue 77 *********************************************** ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* From schatterjee at addisontx.gov Mon Jun 29 10:01:51 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 12:01:51 -0500 Subject: [mapserver-users] unable to access the map file Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AF@sc-exchange.addisongov.org> Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* From aboudreault at mapgears.com Mon Jun 29 10:11:33 2009 From: aboudreault at mapgears.com (Alan Boudreault) Date: Mon, 29 Jun 2009 13:11:33 -0400 Subject: [mapserver-users] unable to access the map file In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AF@sc-exchange.addisongov.org> References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AF@sc-exchange.addisongov.org> Message-ID: <200906291311.33384.aboudreault@mapgears.com> Honestly, I don't really remember how file permissions are handled under Windows. There is surely a GUI that you can access via "right click -> property" on the file or something like that. You should verify if the "others" than the file owner can read the file. You could have to check the tree directory, maybe it's a directory that have a restricted permission. Alan On June 29, 2009 01:01:51 pm Suman Chatterjee wrote: > Hi Alan, > My map file cannot be read by the web application user. But how to > correct it? I am using IE 7. What is the user account for web > application user in case of Apache? > I am looking forward for your reply. > Thanks > Suman > -----Original Message----- > From: Alan Boudreault [mailto:aboudreault at mapgears.com] > Sent: Monday, June 29, 2009 10:22 AM > To: mapserver-users at lists.osgeo.org > Cc: Suman Chatterjee > Subject: Re: [mapserver-users] unable to access the map file > > Hi, > > If you are sure that the path is good, did you check the file > permissions? > Does the mapfile can be read by your web application user ? > > Alan > > On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > > Hi all, > > > > I have just started using mapserver. It was running well till last > > week. > > > The Itasca application was also running. But all of a sudden the > > application is not working. Although the maps are being created in the > > temp folder but it is not being displayed in the browser. I tried with > > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > > > demo\workshop\itasca.map&mode=map > > > > > > > > But it is displaying the error message > > > > > > > > msLoadMap(): Unable to access file. > > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > > > > > I tried by changing the backslash to forward slash in the path but I > > am > > > still getting the same error message. > > > > > > > > I don't know what is going wrong. > > > > Any help in this regard will be highly appreciated. I require to solve > > it urgently. > > > > > > > > Thanks > > > > Suman > > ************************************************************************ > *** > > >**************************************** This e-mail and any files or > > attachments transmitted with it contains Information that is > > confidential > > > and privileged. This document may contain Protected Health Information > > (PHI) or other information that is intended only for the use of the > > individual(s) and entity(ies) to whom it is addressed. If you are the > > intended recipient, further disclosures are prohibited without proper > > authorization. If you are not the intended recipient, any disclosure, > > copying, printing, or use of this information is strictly prohibited > > and > > > possibly a violation of federal or state law and regulations. If you > > have > > > received this information in error, please delete it and notify Hamid > > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ > *** > > >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com From niccolo at rigacci.org Mon Jun 29 10:48:28 2009 From: niccolo at rigacci.org (Niccolo Rigacci) Date: Mon, 29 Jun 2009 19:48:28 +0200 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver In-Reply-To: References: <4A48D4F2.3020203@pobox.com> Message-ID: <20090629174828.GA12698@rigacci.org> On Mon, Jun 29, 2009 at 12:06:20PM -0400, Smith, Michael ERDC-CRREL-NH wrote: > You can also try using the Mapserver direct Oracle connection rather than > going through OGR. I suppose that the FGS build [1] of MapServer does not include Oracle support, does it? ./mapserv -v MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Unfortunately I cannot install the software required to recompile on that host. [1] http://maptools.org/fgs/ -- Niccolo Rigacci Firenze - Italy From andrew.deklerk at gmail.com Mon Jun 29 11:08:21 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 29 Jun 2009 11:08:21 -0700 (PDT) Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <1246285306236-3174574.post@n2.nabble.com> References: <1246285306236-3174574.post@n2.nabble.com> Message-ID: <1246298901193-3176090.post@n2.nabble.com> Anyone have any ideas? stretch wrote: > > Hi All > > We are using mapserv cgi to generate WMS and access via openlayers. > > Searching reveals that it is not possible to dynamically change the > labelitem by substitution i.e > LABELITEM='%LABELFIELD%' > > Is it possible however to do it via &map_layername_labelitem="labelfield" > in your url, or any other such method. Any help would be really > appreciated, because otherwise it means creating different layers for each > labelling option. > > Thanks > Andrew > -- View this message in context: http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3176090.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jmckenna at gatewaygeomatics.com Mon Jun 29 11:39:51 2009 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Mon, 29 Jun 2009 15:39:51 -0300 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver In-Reply-To: <20090629174828.GA12698@rigacci.org> References: <4A48D4F2.3020203@pobox.com> <20090629174828.GA12698@rigacci.org> Message-ID: <4A490A77.7080205@gatewaygeomatics.com> Niccolo Rigacci wrote: > > I suppose that the FGS build [1] of MapServer does not include > Oracle support, does it? > I recommend that you join the FGS mailing list[1], as there was a recent thread on this[2]. [1] http://lists.maptools.org/mailman/listinfo/foss-gis-suite [2] http://lists.maptools.org/pipermail/foss-gis-suite/2009-June/000726.html -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ From David.Fawcett at state.mn.us Mon Jun 29 11:44:52 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Mon, 29 Jun 2009 13:44:52 -0500 Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <1246298901193-3176090.post@n2.nabble.com> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA61B@s-sp22.pca.state.mn.us> Searching revealed that it is possible to change a labelitem by substitution. Have you had a look at this page? http://mapserver.org/cgi/controls.html Scroll down to the header 'Using MapServer version >=5' In the below example, the layer name is 'aqiAreas' and I am changing the column to be used to 'NAMESAFE'. I am referencing the layer by name and then after the '=' sign, you put the property that you want to change (labelitem), a space, and then the name of the new column to be used. http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/imap/labelitem-test. map&mode=map&map.layer[aqiAreas]=labelitem%20NAMESAFE David. PS. If this question was about whether OpenLayers passes on your custom URL vars to MapServer in a WMS call, I am not so sure about that. I believe that more recent versions to, but that would be a question for the OpenLayers list. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of stretch Sent: Monday, June 29, 2009 1:08 PM To: mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Dynamic LabelItem Anyone have any ideas? stretch wrote: > > Hi All > > We are using mapserv cgi to generate WMS and access via openlayers. > > Searching reveals that it is not possible to dynamically change the > labelitem by substitution i.e LABELITEM='%LABELFIELD%' > > Is it possible however to do it via > &map_layername_labelitem="labelfield" > in your url, or any other such method. Any help would be really > appreciated, because otherwise it means creating different layers for each > labelling option. > > Thanks > Andrew > -- View this message in context: http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3176090.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Steve.Lime at dnr.state.mn.us Mon Jun 29 11:50:20 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 29 Jun 2009 13:50:20 -0500 Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <1246298901193-3176090.post@n2.nabble.com> References: <1246285306236-3174574.post@n2.nabble.com> <1246298901193-3176090.post@n2.nabble.com> Message-ID: <4A48C6A0.5157.008F.0@dnr.state.mn.us> MapServer 5.4 does open up this possibility. It's not done via substitution but rather by passing a bit of mapfile syntax. For example, ...&map.layer[foo]=LABELITEM+newitem&... However, you must set a validation pattern for MapServer to compare the new value against before it will change it. So your layer definition might look like: LAYER NAME 'foo' ... VALIDATION 'labelitem' '^item1|item2|item3$' END ... LABELITEM 'item1' END In this case you could dynamically change LABELITEM to item1, item2 or item3 but item4 would throw an error. Hope this helps. Steve >>> On 6/29/2009 at 1:08 PM, in message <1246298901193-3176090.post at n2.nabble.com>, stretch wrote: > Anyone have any ideas? > > stretch wrote: >> >> Hi All >> >> We are using mapserv cgi to generate WMS and access via openlayers. >> >> Searching reveals that it is not possible to dynamically change the >> labelitem by substitution i.e >> LABELITEM='%LABELFIELD%' >> >> Is it possible however to do it via &map_layername_labelitem="labelfield" >> in your url, or any other such method. Any help would be really >> appreciated, because otherwise it means creating different layers for each >> labelling option. >> >> Thanks >> Andrew >> From andrew.deklerk at gmail.com Mon Jun 29 12:13:29 2009 From: andrew.deklerk at gmail.com (stretch) Date: Mon, 29 Jun 2009 12:13:29 -0700 (PDT) Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <4A48C6A0.5157.008F.0@dnr.state.mn.us> References: <1246285306236-3174574.post@n2.nabble.com> <1246298901193-3176090.post@n2.nabble.com> <4A48C6A0.5157.008F.0@dnr.state.mn.us> Message-ID: <1246302809284-3176452.post@n2.nabble.com> ok - thanks for the response. If I try &map.layer[Compartments]=labelitem%20Age i get getSymbol(): Symbol definition error. Parsing error near ():(line 1) I am using Mapserver 5, I guess I should be using 5.4?? If that is the case, is there a solution I could use with version 5 or will I need to upgrade Thanks -- View this message in context: http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3176452.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Steve.Toutant at inspq.qc.ca Mon Jun 29 12:17:03 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Mon, 29 Jun 2009 15:17:03 -0400 Subject: [mapserver-users] unable to access the map file In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15AF@sc-exchange.addisongov.org> Message-ID: Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 29/06/2009 01:01 PM A "Alan Boudreault" cc mapserver-users at lists.osgeo.org Objet RE: [mapserver-users] unable to access the map file Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From schatterjee at addisontx.gov Mon Jun 29 12:32:02 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 14:32:02 -0500 Subject: [mapserver-users] unable to access the map file Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B0@sc-exchange.addisongov.org> Hi Steve, Yes, It is running as a local system as found in the SERVICES. But in the httpd.conf file the following entry is also there: User daemon Group daemon All the permissions have been given to the SYSTEM account . But there is no user like Daemon. Now the problem is the application was working earlier. But all of a sudden it is not able to access the map file. So although the temporary images are getting generated in the temp folder but the mapserver is not able to read those. So do I require to create a user 'daemon' or create a user 'Local System' . But a System account is already there. Thanks Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 2:17 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org; mapserver-users-bounces at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 29/06/2009 01:01 PM A "Alan Boudreault" cc mapserver-users at lists.osgeo.org Objet RE: [mapserver-users] unable to access the map file Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Toutant at inspq.qc.ca Mon Jun 29 13:00:09 2009 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Mon, 29 Jun 2009 16:00:09 -0400 Subject: [mapserver-users] unable to access the map file In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B0@sc-exchange.addisongov.org> Message-ID: You don't need to create a daemon user. I'm a bit confused. If the images are created in the temp folder that means that the web application can call mapserver, read and execute the mapfile. I suggest you delete the contents of your temp folder and try again. Also, if it was working before and your network admin didn't change anything, you might have changed something in your mapfile? Other suggestions - Check in the Apache logs if you find something interesting - Add this in the MAP section of your mapfiles. You can modify the path of the log file DEBUG 5 CONFIG MS_ERRORFILE "/ms4w/logs/mapserver.log" Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" 29/06/2009 03:32 PM A cc Objet RE: [mapserver-users] unable to access the map file Hi Steve, Yes, It is running as a local system as found in the SERVICES. But in the httpd.conf file the following entry is also there: User daemon Group daemon All the permissions have been given to the SYSTEM account . But there is no user like Daemon. Now the problem is the application was working earlier. But all of a sudden it is not able to access the map file. So although the temporary images are getting generated in the temp folder but the mapserver is not able to read those. So do I require to create a user ?daemon? or create a user ?Local System? . But a System account is already there. Thanks Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 2:17 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org; mapserver-users-bounces at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 29/06/2009 01:01 PM A "Alan Boudreault" cc mapserver-users at lists.osgeo.org Objet RE: [mapserver-users] unable to access the map file Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From schatterjee at addisontx.gov Mon Jun 29 14:16:34 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 16:16:34 -0500 Subject: [mapserver-users] unable to access the map file Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B2@sc-exchange.addisongov.org> Hi Steve, I got my application running. I did 2 things, I entered the user and group name with all the privileges in the httpd.conf file. But even then it was not able to read the images from the folder. Then I deleted the folder and created another folder with a different name. It did the trick. But I don't know how the folder got corrupted for reading although images were written in the folder. Thanks for your suggestions. Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 3:00 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file You don't need to create a daemon user. I'm a bit confused. If the images are created in the temp folder that means that the web application can call mapserver, read and execute the mapfile. I suggest you delete the contents of your temp folder and try again. Also, if it was working before and your network admin didn't change anything, you might have changed something in your mapfile? Other suggestions - Check in the Apache logs if you find something interesting - Add this in the MAP section of your mapfiles. You can modify the path of the log file DEBUG 5 CONFIG MS_ERRORFILE "/ms4w/logs/mapserver.log" Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" 29/06/2009 03:32 PM A cc Objet RE: [mapserver-users] unable to access the map file Hi Steve, Yes, It is running as a local system as found in the SERVICES. But in the httpd.conf file the following entry is also there: User daemon Group daemon All the permissions have been given to the SYSTEM account . But there is no user like Daemon. Now the problem is the application was working earlier. But all of a sudden it is not able to access the map file. So although the temporary images are getting generated in the temp folder but the mapserver is not able to read those. So do I require to create a user 'daemon' or create a user 'Local System' . But a System account is already there. Thanks Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 2:17 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org; mapserver-users-bounces at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 29/06/2009 01:01 PM A "Alan Boudreault" cc mapserver-users at lists.osgeo.org Objet RE: [mapserver-users] unable to access the map file Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at dnr.state.mn.us Mon Jun 29 14:21:59 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Mon, 29 Jun 2009 16:21:59 -0500 Subject: [mapserver-users] Grave performance issue with MapServer andGDAL/OCI driver In-Reply-To: <4A48D4F2.3020203@pobox.com> References: <20090629141457.GA27936@rigacci.org> <4A48D4F2.3020203@pobox.com> Message-ID: <4A48EA2C.5157.008F.0@dnr.state.mn.us> As an update on single-pass queries, I'm working on implementation now in trunk. We've done a proof-of-concept in a sandbox and saw orders of magnitude improvements in both Oracle and PostGIS. Shapefiles were about the same. These enhancements are scheduled to be the next release due out early this fall. More details on the implementation can be found at: http://mapserver.org/development/rfc/ms-rfc-52.html Steve >>> On 6/29/2009 at 9:51 AM, in message <4A48D4F2.3020203 at pobox.com>, Frank Warmerdam wrote: > Niccolo Rigacci wrote: >> I experienced a severe performance problem with MapServer >> configured as WFS server, taking data from Oracle via GDAL/OCI >> driver. >> >> All the features take about 9.6 Mb of xml data (via WFS) or 8.4 >> Mb of text data (via ogrinfo). >> >> Retrieving all the features via WFS from a shapefile takes less >> than one second, retrieving the same WFS from Oracle takes about >> 470 seconds. Retrieving data via the ogrinfo utility takes about >> 3 seconds: >> >> Tests are performed from the same Linux box, taking data in this >> way: >> >> 1 s: wget <- http <- Remote_host <- MapServer <- GDAL <- shapefile >> 470 s: wget <- http <- Remote_host <- MapServer <- GDAL/OCI <- localhost <- Oracle >> 3 s: ogrinfo <- GDAL/OCI <- Remote_host <- Oracle >> >> It seems that wget (int the Oracle case) starts at about 400 >> Kb/sec transfer rate, then it drops down to 13 Kb/sec a few >> seconds later. >> >> Does somebody have any idea where is the bottleneck? How can I >> debug such slodown? > > Niccolo, > > This is almost certainly due to the two-pass query approach in mapserver. > On the first pass the id's of all features matching the query are collected > and then the features are fetched, one by one, by id. In the case of the > oci driver in OGR a fetch by id issues an sql select statement. So you are > basically getting one sql select statement per features which is very > inefficient. > > What you need if you want to do large amounts of feature query - such as for > WFS - is the new one pass query mechanism that Steve is working on. I'm not > exactly clear on it's status. > > Note that this two pass query anti-optimization does not affect feature > drawing which is accomplished in one pass. It also does not significantly > affect formats like shape where fetching by id's has no noticable overhead. > > Best regards, From osm at rigacci.org Mon Jun 29 14:40:05 2009 From: osm at rigacci.org (Niccolo Rigacci) Date: Mon, 29 Jun 2009 23:40:05 +0200 Subject: [mapserver-users] Grave performance issue with MapServer and GDAL/OCI driver In-Reply-To: <4A490A77.7080205@gatewaygeomatics.com> References: <4A48D4F2.3020203@pobox.com> <20090629174828.GA12698@rigacci.org> <4A490A77.7080205@gatewaygeomatics.com> Message-ID: <20090629214005.GD14580@rigacci.org> On Mon, Jun 29, 2009 at 03:39:51PM -0300, Jeff McKenna wrote: >> >> I suppose that the FGS build [1] of MapServer does not include Oracle >> support, does it? > > I recommend that you join the FGS mailing list[1], as there was a recent > thread on this[2]. > > [2] http://lists.maptools.org/pipermail/foss-gis-suite/2009-June/000726.html Normand Savard added the Oracle support into the GDAL/OGR library (which I use and which has the severe slowdown). Unfortunately the FGS build does not include the native Oracle support into the MapServer binary. Including such support is a nightmare due license restrictions on the Oracle client, I think. -- Niccolo Rigacci Firenze - Italy From danlittle at yahoo.com Mon Jun 29 15:52:21 2009 From: danlittle at yahoo.com (Dan Little) Date: Mon, 29 Jun 2009 15:52:21 -0700 (PDT) Subject: [mapserver-users] best practice: map data structure In-Reply-To: <200906290827.34395.liste@geo-dienstleistung.de> References: <200906261543.05642.liste@geo-dienstleistung.de> <757145.36637.qm@web51407.mail.re2.yahoo.com> <200906290827.34395.liste@geo-dienstleistung.de> Message-ID: <164620.14861.qm@web51402.mail.re2.yahoo.com> The most includes I've used in a single file is around 100. 50 or so layers each with a separate label and shape layer. It worked pretty flawlessly. There are two solutions to possibly keep in mind: 1 - Shameless Plug) Use an application setup like GeoMOOSE. We have the application serve many layers in diverse mapfiles to try and simplify the management of mapfiles. Version 2.0 is even better about this because you can use hybrids of different types of mapfiles to break down the problem however is best for display and performance. 2 - A bit more technical solution) Use a "compiler." Write a small file format that has a list of the mapfiles you wish to combine together, then write a perl script that combines the files together from the list. This essentially performs the mapserver includes ahead of time. :-) I've used this on various projects -- I'm even willing to share source-code ideas if you backchannel me. ----- Original Message ---- > From: Frank Broniewski > To: mapserver-users at lists.osgeo.org > Sent: Monday, June 29, 2009 1:27:34 AM > Subject: Re: [mapserver-users] best practice: map data structure > > Hi Dan, > > thanks for your response. Using includes for the layers is a nice idea, and it > keeps the layer data and configuration together. And you'd get a good overview > over all avail. layers on your server just by looking at the existing. > directories. Even postgis layers would have a directory since the layers > mapfile would be stored there. And you could have several "stylesheet" layer > map files in the directory ... > And in an application directory you could include all the layers necessary for > the application in a master mapfile. > > Do you have experience in using lots of includes within a mapfile? I remember > using includes for about 30 layers in an php application (pmapper) once (v4.10 > on ubuntu 7.10) and I run into problems. namely there where too many open > files opened by apache and the mapserver process. It seemed, that the includes > weren't closed, and each time the map was redrawn, the includes where opened > again and so the file system limit of max. open files was reached quite soon. > > On Saturday 27 June 2009 17:08:35 Dan Little wrote: > > It is very dependent on your needs. For example, if you have departments > > responsible for various layers you may want to divide the structure by > > that, if there is only one administrator then that isn't necessary. > > > > Typically, if there is only one administrator I tend to do something like > > this... > > > > [root]/ -- make this whatever you want and that makes sense from a > > permissions and storage stand point for your new server. > > > > for a simple shapefile layer... > > [root]/layer_a/layer_a.map > > [root]/layer_a/layer_a.[shp|dbf|shx] > > > > for a tree'd shapfile > > [root]/layer_b/layer_b.map > > [root]/layer_b/layer_b.[shp|dbf|shx] > > [root]/layer_b/data/[... quad tree goes here ...] > > > > for a raster... > > [root]/layer_c/layer_c.map > > [root]/layer_c/raster/[... raster data ...] > > > > Then you can use mapserver includes to include the proper mapfile fragments > > into an applications various mapfiles. > > > > ----- Original Message ---- > > > > > From: Frank Broniewski > > > To: mapserver-users at lists.osgeo.org > > > Sent: Friday, June 26, 2009 8:43:05 AM > > > Subject: [mapserver-users] best practice: map data structure > > > > > > Hello List, > > > > > > I want to migrate our old server to a new one, and I want to replace the > > > somewhat grown map data folder and file mess into something more > > > structured. Therefore I am looking for some advice on how to organize the > > > Filesystem Hierarchy. Sure somehow its always a matter of taste and need, > > > but maybe you have some comments on my proposed structure. > > > > > > I browsed already the mailing list archives and the documentation on the > > > mapserver site but did not find any related infos, but I am willing to > > > summarize this thread into a howto document if something useful comes up. > > > > > > I will be using a linux server, so the structure will reflect the unix > > > filesystem hierarchy to a certain degree. > > > > > > A good starting point seems to be /usr/local/ to me. > > > > > > /usr/local/mapdata/ for storing raster and vector files > > > /usr/local/mapfiles/ for mapfiles and other config files > > > > > > You would have /usr/local/mapdata/CLIENTDIR/vector and > > > /usr/local/mapdata/CLIENTDIR/raster for client specific map data > > > similar to > > > /usr/local/mapdata/PROJECTDIR/... for project data > > > > > > and /usr/local/mapdata/share/vector & /usr/local/mapdata/share/raster for > > > shared map data (srtm topo maps e.g.) > > > > > > A good structure for mapfiles & co would be: > > > /mapfile.map > > > /fonts/ - font config and font files (ttf) > > > /icons/ - icon files (png, ...) > > > /symbols/ - symbol.map > > > /templates/ - template files > > > > > > This structure could be mapped to > > > /usr/local/mapfiles/share/... > > > or > > > /usr/local/mapfiles/CLIENTDIR/... > > > > > > I would really appreciate any comments and shared experience on this ... > > > > > > Listing: > > > > > > /usr/local/mapdata/ > > > /usr/local/mapdata/share/ > > > /usr/local/mapdata/share/raster/ > > > /usr/local/mapdata/share/raster/topo20/ > > > /usr/local/mapdata/share/raster/topo20/01.tif > > > /usr/local/mapdata/share/raster/topo20/... > > > /usr/local/mapdata/share/raster/topo20/99.tif > > > /usr/local/mapdata/share/raster/topo20/tileindex.shp > > > /usr/local/mapdata/share/vector/ > > > /usr/local/mapdata/share/vector/streetnetwork/ > > > /usr/local/mapdata/share/vector/streetnetwork/streets.shp > > > /usr/local/mapdata/CLIENT/raster/ > > > /usr/local/mapdata/CLIENT/raster/ortho/ > > > /usr/local/mapdata/CLIENT/raster/ortho/01.tif > > > /usr/local/mapdata/CLIENT/raster/ortho/... > > > /usr/local/mapdata/CLIENT/raster/ortho/99.tif > > > /usr/local/mapdata/CLIENT/raster/ortho/tileindex.shp > > > /usr/local/mapdata/CLIENT/vector/ > > > /usr/local/mapdata/CLIENT/vector/cad/contours.shp > > > /usr/local/mapdata/PROJECT/raster/ > > > /usr/local/mapdata/PROJECT/raster/climate/ > > > /usr/local/mapdata/PROJECT/raster/climate/precipitation.tif > > > /usr/local/mapdata/PROJECT/vector/ > > > /usr/local/mapdata/PROJECT/vector/archeology-sites.shp > > > > > > /usr/local/mapfiles/ > > > /usr/local/mapfiles/share/ > > > /usr/local/mapfiles/share/mapfile.map > > > /usr/local/mapfiles/share/fonts/ > > > /usr/local/mapfiles/share/icons/ > > > /usr/local/mapfiles/share/symbols/ > > > /usr/local/mapfiles/share/templates/ > > > /usr/local/mapfiles/CLIENT/ > > > /usr/local/mapfiles/CLIENT/mapfile.map > > > /usr/local/mapfiles/CLIENT/fonts/ > > > /usr/local/mapfiles/CLIENT/icons/ > > > /usr/local/mapfiles/CLIENT/symbols/ > > > /usr/local/mapfiles/CLIENT/templates/ > > > /usr/local/mapfiles/PROJECT/mapfile.map > > > /usr/local/mapfiles/PROJECT/fonts/ > > > /usr/local/mapfiles/PROJECT/icons/ > > > /usr/local/mapfiles/PROJECT/symbols/ > > > /usr/local/mapfiles/PROJECT/templates/ > > > _______________________________________________ > > > mapserver-users mailing list > > > mapserver-users at lists.osgeo.org > > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From warmerdam at pobox.com Mon Jun 29 21:06:16 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 30 Jun 2009 00:06:16 -0400 Subject: [Fwd: Re: [mapserver-users] classification of a raster image is changing] In-Reply-To: <4A4898DE.3050303@BfS.de> References: <4A4898DE.3050303@BfS.de> Message-ID: <4A498F38.1040001@pobox.com> Stefan, I notice if I run shp2img with -all_debug set on I see the following: msDrawGDAL(fahnenankunft): using RAW_WINDOW=17 0 83 100 msDrawGDAL(): red,green,blue,alpha bands = 1,0,0,0 msDrawRasterGDAL_16BitClassification(fahnenankunft): scaling to 65536 buckets from range=-0.000183105,24.0002. I also notice that your classes test for particular ranges of pixel values: EXPRESSION ([pixel] > 2 AND [pixel] <= 4) If you look at the scaling message you see that a range with not quite integral bounds is being scaled into buckets that will therefor not fall nicely on integer boundaries. I inspected your raw data and I see it is all integer valued. So I believe the problem is that the odd breakdown of buckets is resulting in rounding error in the calculations. For instance, the value 1.0 may fall into a bucket for the range 0.9994 to 1.0001 which is centered at 0.9998. The expression is evaluated for the "bucket center", not the real pixel value, and thus it would not end up in the 1 to 2 class as expected. So there are a couple fixes. One is to use PROCESSING directives to set specific bucket ranges that stay constant and are sure to handle integer values in a dependable way. Another way is to use non-integer ranges in your classes. My suggestion is to add this to your layer: PROCESSING "SCALE=-0.5,24.5" PROCESSING "SCALE_BUCKETS=25" this would produce 25 buckets neatly containing integer values well within the bucket (not at the edges). Read the Classifying non-8bit Rasters section of the raster data access document for more information. http://www.mapserver.org/input/raster.html#classifying-non-8bit-rasters Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From darenas2001 at yahoo.es Tue Jun 30 01:05:46 2009 From: darenas2001 at yahoo.es (darenas) Date: Tue, 30 Jun 2009 01:05:46 -0700 (PDT) Subject: [mapserver-users] How to use msQueryByPoint with RASTER Message-ID: <1246349146381-3180021.post@n2.nabble.com> Hi everyone! I?m creating a WMS service with a TIFF file. But I have problems in the moment to do querybypoints action on the raster so the error is the following: msQueryByPoint(): Search returned no results. No matching record(s) found I?m using the folowing parameters in mapfile as always with its attributes, but doens?t work: "gml_featureid" "OID" "gml_include_items" "VALUE,COUNT" any ideas? Thanks a million -- View this message in context: http://n2.nabble.com/How-to-use-msQueryByPoint-with-RASTER-tp3180021p3180021.html Sent from the Mapserver - User mailing list archive at Nabble.com. From danlittle at yahoo.com Tue Jun 30 05:07:15 2009 From: danlittle at yahoo.com (Dan Little) Date: Tue, 30 Jun 2009 05:07:15 -0700 (PDT) Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <1246302809284-3176452.post@n2.nabble.com> References: <1246285306236-3174574.post@n2.nabble.com> <1246298901193-3176090.post@n2.nabble.com> <4A48C6A0.5157.008F.0@dnr.state.mn.us> <1246302809284-3176452.post@n2.nabble.com> Message-ID: <862756.62608.qm@web51407.mail.re2.yahoo.com> Upgrade... ----- Original Message ---- > From: stretch > To: mapserver-users at lists.osgeo.org > Sent: Monday, June 29, 2009 2:13:29 PM > Subject: Re: [mapserver-users] Dynamic LabelItem > > > ok - thanks for the response. If I try > &map.layer[Compartments]=labelitem%20Age > i get > getSymbol(): Symbol definition error. Parsing error near ():(line 1) > > I am using Mapserver 5, I guess I should be using 5.4?? If that is the case, > is there a solution I could use with version 5 or will I need to upgrade > > Thanks > -- > View this message in context: > http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3176452.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From schatterjee at addisontx.gov Tue Jun 30 07:58:12 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Tue, 30 Jun 2009 09:58:12 -0500 Subject: [mapserver-users] plotting points dynamically Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B4@sc-exchange.addisongov.org> Hi all, I am working on a project which requires adding points to a basic map dynamically. That means the basic map will be read from the map file. Then the points will be queried from a database preferably PostGreSQL and then plotted on the map. I cannot add the query to the map file because the points will be generated dynamically at regular intervals. Is there any way I can do this in mapserver? ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bob.Basques at ci.stpaul.mn.us Tue Jun 30 08:02:32 2009 From: Bob.Basques at ci.stpaul.mn.us (Bob Basques) Date: Tue, 30 Jun 2009 10:02:32 -0500 Subject: [mapserver-users] plotting points dynamically In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B4@sc-exchange.addisongov.org> References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B4@sc-exchange.addisongov.org> Message-ID: <4A49E2B8.163B.00A8.0@ci.stpaul.mn.us> The best approach I can think of, would be to figure out how to add the points to the database in a dynamic method, and use MapServer as the Query/Render engine. This is how we do GPS location points for example. The points are loaded into the Database (POSTGIS) and simply (re)read as a display request by MapServer. Just set up both sides, the Database and the MapServer connectivity to the database as two separate processes, and that should get you what you are after. bobb >>> "Suman Chatterjee" wrote: Hi all, I am working on a project which requires adding points to a basic map dynamically. That means the basic map will be read from the map file. Then the points will be queried from a database preferably PostGreSQL and then plotted on the map. I cannot add the query to the map file because the points will be generated dynamically at regular intervals. Is there any way I can do this in mapserver? ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From schatterjee at addisontx.gov Tue Jun 30 08:15:31 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Tue, 30 Jun 2009 10:15:31 -0500 Subject: [mapserver-users] plotting points dynamically Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B5@sc-exchange.addisongov.org> Hi bobb, Thanks a lot. You got my point. I will be adding the points to the postGIS database with the help of C#. Regarding mapserver connectivity to the database - how can I connect to it without writing in the mapfile? Again can you give me some reference as to how it can be read as a display request by mapserver? Suman -----Original Message----- From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us] Sent: Tuesday, June 30, 2009 10:03 AM To: Suman Chatterjee; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] plotting points dynamically The best approach I can think of, would be to figure out how to add the points to the database in a dynamic method, and use MapServer as the Query/Render engine. This is how we do GPS location points for example. The points are loaded into the Database (POSTGIS) and simply (re)read as a display request by MapServer. Just set up both sides, the Database and the MapServer connectivity to the database as two separate processes, and that should get you what you are after. bobb >>> "Suman Chatterjee" wrote: Hi all, I am working on a project which requires adding points to a basic map dynamically. That means the basic map will be read from the map file. Then the points will be queried from a database preferably PostGreSQL and then plotted on the map. I cannot add the query to the map file because the points will be generated dynamically at regular intervals. Is there any way I can do this in mapserver? ************************************************************************ ******************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ************************************************************************ ******************************************* ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tim.Nolte at ipcswirelessinc.com Tue Jun 30 08:23:25 2009 From: Tim.Nolte at ipcswirelessinc.com (Nolte, Tim) Date: Tue, 30 Jun 2009 11:23:25 -0400 Subject: [mapserver-users] plotting points dynamically In-Reply-To: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B4@sc-exchange.addisongov.org> References: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B4@sc-exchange.addisongov.org> Message-ID: I generally do this all via MapScript, I'm using PHP. I add some basic layers with the styling that I want to my mapfile. Then using MapScript I make a copy or modify the mapfile layers. I even do this with Oracle Spatial layers. Here is a sample of my code: $layer_data = "geom FROM ("; $layer_data .= " SELECT st.bts_nbr,"; $layer_data .= " sgt.geom"; $layer_data .= " FROM site_tab st, site_geom_tab sgt"; $layer_data .= " WHERE st.site_id =".$_GET['site_id']; $layer_data .= " AND st.site_id = sgt.site_id"; $layer_data .= " ) USING SRID 8307"; //plot site if (!$oMap->getLayerByName("Selected Sites")) { $point_layer = $oMap->getLayerByName("Point"); $site_layer = ms_newLayerObj($oMap, $point_layer); $site_layer->set("name", "Selected Sites"); $start = $point_layer->index; $end = $site_layer->index; for ($x=$start;$x<=$end;$x++) { $oMap->moveLayerUp($site_layer->index); } } else { $site_layer = $oMap->getLayerByName("Selected Sites"); } $site_layer->setConnectionType(MS_ORACLESPATIAL); $site_layer->set("connection",$spatialconn); $site_layer->set("data", $layer_data); $site_layer->set("status",MS_ON); This let's me do a lot dynamically. - Tim ---- Timothy J Nolte - tnolte at ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Suman Chatterjee Sent: Tuesday, June 30, 2009 10:58 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] plotting points dynamically Hi all, I am working on a project which requires adding points to a basic map dynamically. That means the basic map will be read from the map file. Then the points will be queried from a database preferably PostGreSQL and then plotted on the map. I cannot add the query to the map file because the points will be generated dynamically at regular intervals. Is there any way I can do this in mapserver? ************************************************************************ ******************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ************************************************************************ ******************************************* From Steve.Lime at dnr.state.mn.us Tue Jun 30 08:28:30 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 30 Jun 2009 10:28:30 -0500 Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <1246302809284-3176452.post@n2.nabble.com> References: <1246285306236-3174574.post@n2.nabble.com> <1246298901193-3176090.post@n2.nabble.com> <4A48C6A0.5157.008F.0@dnr.state.mn.us> <1246302809284-3176452.post@n2.nabble.com> Message-ID: <4A49E8D3.5157.008F.0@dnr.state.mn.us> That particular portion of MapServer has undergone a lot of change. At first I removed too much functionality in 5.0, then exposed a bit more in 5.2 and probably got a lot closer to "right" in 5.4. You're safest with 5.4.1 if you can afford to upgrade. What version exactly are you using? Steve >>> On 6/29/2009 at 2:13 PM, in message <1246302809284-3176452.post at n2.nabble.com>, stretch wrote: > ok - thanks for the response. If I try > &map.layer[Compartments]=labelitem%20Age > i get > getSymbol(): Symbol definition error. Parsing error near ():(line 1) > > I am using Mapserver 5, I guess I should be using 5.4?? If that is the case, > is there a solution I could use with version 5 or will I need to upgrade > > Thanks From hrodriguez at siscat.com.ar Tue Jun 30 08:02:46 2009 From: hrodriguez at siscat.com.ar (Rodriguez, Heraldo) Date: Tue, 30 Jun 2009 12:02:46 -0300 Subject: [mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1 In-Reply-To: <862756.62608.qm@web51407.mail.re2.yahoo.com> Message-ID: <296E5F9B6BB1C445BDDC9C94FC83835E34B135@ZEUS-Exchg2k3.sc.com> Hi everyone, We have just upgraded from mapserver 5.2.0 to 5.4.1 Our application use OpenLayers, Tilecache with metatiles on, and postgis. The label positioning in polygons has improved a lot but now we are experiencing label duplication on metatile boundaries. The layer with the issues is parcelas. We are using labelcache_map_edge_buffer and LABEL_NO_CLIP=ON . Has anyone an idea why this is happening? The labels length varies from 2 to 4 characters maximum . A fragment of our map is the following WEB # TEMPLATE "set in index.html" # MINscale 1000 MAXscaleDENOM 1550000 METADATA "wms_title" ... "wfs_title" ... "wms_onlineresource" ... "wfs_onlineresource" ... "WMS_FEATURE_INFO_MIME_TYPE" "text/html" "wms_srs" ... "wfs_srs" ... "wms_encoding" ... "labelcache_map_edge_buffer" "-10" END IMAGEPATH "/tmp/mapserver/" IMAGEURL "/mapserver/" END LAYER NAME parcelas METADATA "wms_title" "parcelas" "wms_include_items" "all" "wms_group_title" "Geograficos" "wfs_title" "parcelas" "gml_include_items" "all" "gml_featureid" "gid" END CONNECTION "user=xxxxx password=xxxxxx dbname=scgis host=localhost port=5432" CONNECTIONTYPE postgis PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "LABEL_NO_CLIP=ON" DATA "the_geom FROM parcelas USING UNIQUE gid" STATUS DEFAULT TYPE POLYGON OPACITY 80 MAXscaledenom 15000 LABELITEM parcela LabelMaxscaledenom 1200 DUMP true CLASS NAME "parcelas" TEMPLATE './QueryTemplates/parcelas.html' STYLE COLOR 242 239 233 #g earth OUTLINECOLOR 210 210 210 END Label minsize 7 Size 7 maxsize 8 type truetype PARTIALS false POSITION AUTO MINDISTANCE 20 PRIORITY 5 font "vera" color 86 86 86 end END END Any help would be appreciated. Thanks in advance Regards, Lic. Heraldo G. Rodriguez hrodriguez at siscat.com.ar TEL: 54-11-4326-4002 int 255 Dpto. Desarrollo Sistemas Catastrales S.A From andrew.deklerk at gmail.com Tue Jun 30 09:30:44 2009 From: andrew.deklerk at gmail.com (stretch) Date: Tue, 30 Jun 2009 09:30:44 -0700 (PDT) Subject: [mapserver-users] Dynamic LabelItem In-Reply-To: <4A49E8D3.5157.008F.0@dnr.state.mn.us> References: <1246285306236-3174574.post@n2.nabble.com> <1246298901193-3176090.post@n2.nabble.com> <4A48C6A0.5157.008F.0@dnr.state.mn.us> <1246302809284-3176452.post@n2.nabble.com> <4A49E8D3.5157.008F.0@dnr.state.mn.us> Message-ID: <1246379444083-3183671.post@n2.nabble.com> I know, and I want all that new functionality :) I am using 5.0.0 I did try an upgrade a couple of weeks ago, but we had hassles with existing application running with openlayers as the frontend, where it displayed the the whole map file image in each map tile as opposed to cutting it up (if that makes sense!). also, our getLegendGraphic requests didnt work after the upgrade. We therefore quickly restored back to 5.0.0. The straight mapserv request was working fine, so it is more a openlayers issue - however - we could not go through and sort out all our existing apps, so thats why we downgraded again. I have just downloaded the 5.4.1 beta MS4W from maptools and will try that tonight, and see If i can get my openlayers resolutions correct Andrew Steve Lime wrote: > > That particular portion of MapServer has undergone a lot of change. At > first I removed too much > functionality in 5.0, then exposed a bit more in 5.2 and probably got a > lot closer to "right" in 5.4. > > You're safest with 5.4.1 if you can afford to upgrade. What version > exactly are you using? > > Steve > >>>> On 6/29/2009 at 2:13 PM, in message >>>> <1246302809284-3176452.post at n2.nabble.com>, > stretch wrote: > >> ok - thanks for the response. If I try >> &map.layer[Compartments]=labelitem%20Age >> i get >> getSymbol(): Symbol definition error. Parsing error near ():(line 1) >> >> I am using Mapserver 5, I guess I should be using 5.4?? If that is the >> case, >> is there a solution I could use with version 5 or will I need to upgrade >> >> Thanks > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/Dynamic-LabelItem-tp3174574p3183671.html Sent from the Mapserver - User mailing list archive at Nabble.com. From wesmota at gmail.com Tue Jun 30 10:07:42 2009 From: wesmota at gmail.com (Wesley) Date: Tue, 30 Jun 2009 14:07:42 -0300 Subject: [mapserver-users] Beginning mapserver & sql server 2008 Message-ID: <11af79650906301007ie47f6efr52db516c2b334725@mail.gmail.com> Hi all, It's my first time with mapserver, and I'm trying to use a map file connected with sql server 2008. Mapserver is generating a blank image. I think there is something wrong with my map file below. Do you have any examples or tutorial about it? Thanks, __________________________________________________________ MAP NAME "sample" STATUS ON SIZE 400 300 IMAGETYPE gif EXTENT -66.00 -22.00 -44.00 -9.00 UNITS DD # # Start of web interface definition # WEB TEMPLATE "D:\ms4w\Apache\htdocs\testesql.html" IMAGEPATH "D:\ms4w\tmp\ms_tmp\" IMAGEURL "/tmp/" END LAYER NAME "Camada1" CONNECTIONTYPE PLUGIN PLUGIN "D:\ms4w\plugins\msplugin_mssql2008.dll" CONNECTION "server=luzon2\sqlexpress;uid=sa;pwd=senha1234;database=TESTE;Integrated Security=false" DATA "geom from lixo" TYPE POLYGON STATUS ON PROJECTION "init=epsg:4326" END CLASS STYLE COLOR 0 0 255 WIDTH 8 END END END END From schatterjee at addisontx.gov Mon Jun 29 13:32:11 2009 From: schatterjee at addisontx.gov (Suman Chatterjee) Date: Mon, 29 Jun 2009 15:32:11 -0500 Subject: [mapserver-users] unable to access the map file Message-ID: <6924A68BEE67AA46A1E95CC0EB4F98D0027A15B1@sc-exchange.addisongov.org> Hi Steve, Thank You very much. I did what you said. This is the log file generated: [Mon Jun 29 15:17:11 2009].839000 msLoadMap(): 0.016s [Mon Jun 29 15:17:11 2009].839000 CGI Request 1 on process 5216 [Mon Jun 29 15:17:11 2009].855000 msDrawMap(): Layer 0 (states), 0.000s [Mon Jun 29 15:17:11 2009].855000 msDrawRasterLayerLow(hpool): entering. [Mon Jun 29 15:17:11 2009].855000 msDrawGDAL(): src=0,0,6021,4021, dst=231,337,27,18 [Mon Jun 29 15:17:11 2009].855000 msDrawGDAL(): red,green,blue,alpha bands = 3,2,1,0 [Mon Jun 29 15:17:11 2009].855000 msDrawGDAL(hpool): scaling to 8bit, src range=50,243 [Mon Jun 29 15:17:11 2009].855000 msDrawGDAL(hpool): scaling to 8bit, src range=51,235 [Mon Jun 29 15:17:11 2009].855000 msDrawGDAL(hpool): scaling to 8bit, src range=44,235 [Mon Jun 29 15:17:11 2009].870000 msDrawGDAL(): src=0,0,6021,4021, dst=231,319,27,18 [Mon Jun 29 15:17:11 2009].870000 msDrawGDAL(): red,green,blue,alpha bands = 3,2,1,0 [Mon Jun 29 15:17:11 2009].870000 msDrawGDAL(hpool): scaling to 8bit, src range=46,255 [Mon Jun 29 15:17:11 2009].870000 msDrawGDAL(hpool): scaling to 8bit, src range=50,255 [Mon Jun 29 15:17:11 2009].870000 msDrawGDAL(hpool): scaling to 8bit, src range=46,252 [Mon Jun 29 15:17:11 2009].870000 msDrawMap(): Layer 2 (hpool), 0.015s [Mon Jun 29 15:17:11 2009].870000 msDrawMap(): Drawing Label Cache, 0.000s [Mon Jun 29 15:17:11 2009].870000 msDrawMap() total time: 0.031s [Mon Jun 29 15:17:11 2009].948000 msSaveImage() total time: 0.078s [Mon Jun 29 15:17:11 2009].948000 mapserv request processing time (loadmap not incl.): 0.109s [Mon Jun 29 15:17:11 2009].948000 msFreeMap(): freeing map at 015273A0. [Mon Jun 29 15:17:11 2009].948000 mapserv total execution time: 0.125s The image is also generated. But it is not being displayed. The path as found from View source is test is under htdocs folder. IMAGEPATH "c:/ms4w/Apache/htdocs/test/" IMAGEURL "/test/" Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 3:00 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file You don't need to create a daemon user. I'm a bit confused. If the images are created in the temp folder that means that the web application can call mapserver, read and execute the mapfile. I suggest you delete the contents of your temp folder and try again. Also, if it was working before and your network admin didn't change anything, you might have changed something in your mapfile? Other suggestions - Check in the Apache logs if you find something interesting - Add this in the MAP section of your mapfiles. You can modify the path of the log file DEBUG 5 CONFIG MS_ERRORFILE "/ms4w/logs/mapserver.log" Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" 29/06/2009 03:32 PM A cc Objet RE: [mapserver-users] unable to access the map file Hi Steve, Yes, It is running as a local system as found in the SERVICES. But in the httpd.conf file the following entry is also there: User daemon Group daemon All the permissions have been given to the SYSTEM account . But there is no user like Daemon. Now the problem is the application was working earlier. But all of a sudden it is not able to access the map file. So although the temporary images are getting generated in the temp folder but the mapserver is not able to read those. So do I require to create a user 'daemon' or create a user 'Local System' . But a System account is already there. Thanks Suman -----Original Message----- From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca] Sent: Monday, June 29, 2009 2:17 PM To: Suman Chatterjee Cc: mapserver-users at lists.osgeo.org; mapserver-users-bounces at lists.osgeo.org Subject: RE: [mapserver-users] unable to access the map file Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve Steve Toutant, M. Sc. Analyste en g?omatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de sant? publique du Qu?bec 945, avenue Wolfe Qu?bec, Qc G1V 5B3 T?l.: (418) 650-5115 #5281 Fax.: (418) 654-3144 steve.toutant at inspq.qc.ca http://www.inspq.qc.ca "Suman Chatterjee" @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 29/06/2009 01:01 PM A "Alan Boudreault" cc mapserver-users at lists.osgeo.org Objet RE: [mapserver-users] unable to access the map file Hi Alan, My map file cannot be read by the web application user. But how to correct it? I am using IE 7. What is the user account for web application user in case of Apache? I am looking forward for your reply. Thanks Suman -----Original Message----- From: Alan Boudreault [mailto:aboudreault at mapgears.com] Sent: Monday, June 29, 2009 10:22 AM To: mapserver-users at lists.osgeo.org Cc: Suman Chatterjee Subject: Re: [mapserver-users] unable to access the map file Hi, If you are sure that the path is good, did you check the file permissions? Does the mapfile can be read by your web application user ? Alan On June 29, 2009 11:13:04 am Suman Chatterjee wrote: > Hi all, > > I have just started using mapserver. It was running well till last week. > The Itasca application was also running. But all of a sudden the > application is not working. Although the maps are being created in the > temp folder but it is not being displayed in the browser. I tried with > typing > > http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver > demo\workshop\itasca.map&mode=map > > > > But it is displaying the error message > > > > msLoadMap(): Unable to access file. > (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map). > > > > I tried by changing the backslash to forward slash in the path but I am > still getting the same error message. > > > > I don't know what is going wrong. > > Any help in this regard will be highly appreciated. I require to solve > it urgently. > > > > Thanks > > Suman > > > ************************************************************************ *** >**************************************** This e-mail and any files or > attachments transmitted with it contains Information that is confidential > and privileged. This document may contain Protected Health Information > (PHI) or other information that is intended only for the use of the > individual(s) and entity(ies) to whom it is addressed. If you are the > intended recipient, further disclosures are prohibited without proper > authorization. If you are not the intended recipient, any disclosure, > copying, printing, or use of this information is strictly prohibited and > possibly a violation of federal or state law and regulations. If you have > received this information in error, please delete it and notify Hamid > Khaleghipour at 972-450-2868 immediately. Thank you. > > ************************************************************************ *** >**************************************** -- Alan Boudreault Mapgears http://www.mapgears.com ******************************************************************************************************************* This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sschantz at bfs.de Tue Jun 30 10:11:48 2009 From: sschantz at bfs.de (Stefan Schantz) Date: Tue, 30 Jun 2009 19:11:48 +0200 Subject: [Fwd: Re: [mapserver-users] classification of a raster image is changing] In-Reply-To: <4A498F38.1040001@pobox.com> References: <4A4898DE.3050303@BfS.de> <4A498F38.1040001@pobox.com> Message-ID: <4A4A4754.6070201@BfS.de> Hello Frank, thank you for your explaination. I think, that now i have a small idea, what the UMN Mapserver is doing with my raster image. As I wrote, I use gdal_grid to get my raw data. Is it right, that if I use the output format Geotiff with the option - ot Byte, i would avoid these rounding errors? (Also long as my values are <255. At least it seems so.) In another case the values of the raw data have a range from 0 to 1E7 (and even higher). I have the problem, that the gradient is very high, so that only 2 classes are shown in picture. Is there any way for a logarithmic pre processing like 0-3; 3-10; 10-30; 30-100; 100-300; 300-1000; >1000 I tried to set PROCESSING "SCALE=1,1001" PROCESSING "SCALE_BUCKETS=1000" in the hope, that the last buckets will get all values >1000, but this was thought too simple. Now I hope, that anybody has a better idea! Thank you! Stefan Frank Warmerdam schrieb: > Stefan, > > I notice if I run shp2img with -all_debug set on I see the following: > > msDrawGDAL(fahnenankunft): using RAW_WINDOW=17 0 83 100 > msDrawGDAL(): red,green,blue,alpha bands = 1,0,0,0 > msDrawRasterGDAL_16BitClassification(fahnenankunft): > scaling to 65536 buckets from range=-0.000183105,24.0002. > > I also notice that your classes test for particular ranges of > pixel values: > > EXPRESSION ([pixel] > 2 AND [pixel] <= 4) > > If you look at the scaling message you see that a range with not quite > integral bounds is being scaled into buckets that will therefor not fall > nicely on integer boundaries. I inspected your raw data and I see it is > all integer valued. > > So I believe the problem is that the odd breakdown of buckets is > resulting > in rounding error in the calculations. For instance, the value 1.0 > may fall > into a bucket for the range 0.9994 to 1.0001 which is centered at 0.9998. > The expression is evaluated for the "bucket center", not the real pixel > value, and thus it would not end up in the 1 to 2 class as expected. > > So there are a couple fixes. One is to use PROCESSING directives to set > specific bucket ranges that stay constant and are sure to handle integer > values in a dependable way. Another way is to use non-integer ranges in > your classes. > > My suggestion is to add this to your layer: > > PROCESSING "SCALE=-0.5,24.5" > PROCESSING "SCALE_BUCKETS=25" > > this would produce 25 buckets neatly containing integer values well > within > the bucket (not at the edges). > > Read the Classifying non-8bit Rasters section of the raster data access > document for more information. > > http://www.mapserver.org/input/raster.html#classifying-non-8bit-rasters > > Best regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: oberflaechen_i131_red.tiff Type: image/tiff Size: 161120 bytes Desc: not available URL: From warmerdam at pobox.com Tue Jun 30 10:35:51 2009 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 30 Jun 2009 13:35:51 -0400 Subject: [Fwd: Re: [mapserver-users] classification of a raster image is changing] In-Reply-To: <4A4A4754.6070201@BfS.de> References: <4A4898DE.3050303@BfS.de> <4A498F38.1040001@pobox.com> <4A4A4754.6070201@BfS.de> Message-ID: <4A4A4CF7.6090407@pobox.com> Stefan Schantz wrote: > Hello Frank, > thank you for your explaination. I think, that now i have a small idea, > what the UMN Mapserver is doing with my raster image. > As I wrote, I use gdal_grid to get my raw data. > Is it right, that if I use the output format Geotiff with the option - > ot Byte, i would avoid these rounding errors? (Also long as my values > are <255. At least it seems so.) > > In another case the values of the raw data have a range from 0 to 1E7 > (and even higher). I have the problem, that the gradient is very high, > so that only 2 classes are shown in picture. > Is there any way for a logarithmic pre processing like 0-3; 3-10; 10-30; > 30-100; 100-300; 300-1000; >1000 > I tried to set > PROCESSING "SCALE=1,1001" > PROCESSING "SCALE_BUCKETS=1000" > in the hope, that the last buckets will get all values >1000, but this > was thought too simple. Stefan, Values outside the scale range are currently treated as not to be classified and will not get drawn. I can see this makes it hard to handle data with a broad dynamic range effectively. My suggestion is to reclassify the data before using it with MapServer. Alternatively, it would be nice if MapServer had a mode where it directly classified pixel values instead of doing it via a lookup table (as is done now) though that could get quite slow. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From David.Fawcett at state.mn.us Tue Jun 30 11:04:16 2009 From: David.Fawcett at state.mn.us (Fawcett, David) Date: Tue, 30 Jun 2009 13:04:16 -0500 Subject: [mapserver-users] Beginning mapserver & sql server 2008 In-Reply-To: <11af79650906301007ie47f6efr52db516c2b334725@mail.gmail.com> Message-ID: <6246727221874A4FB8D3F9BBC37D9BD5056DA62F@s-sp22.pca.state.mn.us> Unless you are including the layer name in the URL used to call MapServer, you should change the layer status to DEFAULT. David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wesley Sent: Tuesday, June 30, 2009 12:08 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Beginning mapserver & sql server 2008 Hi all, It's my first time with mapserver, and I'm trying to use a map file connected with sql server 2008. Mapserver is generating a blank image. I think there is something wrong with my map file below. Do you have any examples or tutorial about it? Thanks, __________________________________________________________ MAP NAME "sample" STATUS ON SIZE 400 300 IMAGETYPE gif EXTENT -66.00 -22.00 -44.00 -9.00 UNITS DD # # Start of web interface definition # WEB TEMPLATE "D:\ms4w\Apache\htdocs\testesql.html" IMAGEPATH "D:\ms4w\tmp\ms_tmp\" IMAGEURL "/tmp/" END LAYER NAME "Camada1" CONNECTIONTYPE PLUGIN PLUGIN "D:\ms4w\plugins\msplugin_mssql2008.dll" CONNECTION "server=luzon2\sqlexpress;uid=sa;pwd=senha1234;database=TESTE;Integrated Security=false" DATA "geom from lixo" TYPE POLYGON STATUS ON PROJECTION "init=epsg:4326" END CLASS STYLE COLOR 0 0 255 WIDTH 8 END END END END _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From peter at peterse-uithuizen.com Tue Jun 30 13:41:50 2009 From: peter at peterse-uithuizen.com (Peter Peterse) Date: Tue, 30 Jun 2009 22:41:50 +0200 Subject: [mapserver-users] compiling mapserv 5.4.1 with PNG driver Message-ID: Hello, I'm trying to compile mapserv v5.4.1. I used the next configure command: ================ ./configure --with-ogr=/usr/local/bin/gdal-config \ --with-gdal=/usr/local/bin/gdal-config \ --with-httpd=/usr/sbin/httpd \ --with-wfsclient \ --with-wmsclient \ --enable-debug \ --with-curl-config=/usr/local/bin/curl-config \ --with-proj=/usr/local \ --with-tiff \ --with-gd=/usr/local \ --with-jpeg=/usr/lib/ \ --with-png=/usr/local/bin/libpng12-config \ --with-freetype=/usr/ \ --with-threads \ --with-wcs \ --with-wfs \ --with-postgis=/usr/local/pgsql/bin/pg_config \ --with-libiconv=/usr \ --with-geos=/usr/local/bin/geos-config \ --with-libiconv=/usr \ --with-xml2-config=/usr/bin/xml2-config \ --with-sos \ --with-agg=/home/peter/src/agg-2.5 ================ after the make command there is a mapserv program. mapserv -v gives: ================ MapServer version 5.4.1 OUTPUT=GIF OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE ================ In my map-file I have defined OUTPUTFORMAT: ========== OUTPUTFORMAT NAME agg DRIVER AGG/PNG IMAGEMODE RGB FORMATOPTION "INTERLACE=false" MIMETYPE "image/png" END ========== this give the next error: OUTPUTFORMAT clause references driver AGG/PNG, but this driver isn't configured. Does anyone knows what I'm doing wrong? Thanks for your response. Peter. From Steve.Lime at dnr.state.mn.us Tue Jun 30 20:57:49 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Tue, 30 Jun 2009 22:57:49 -0500 Subject: [mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1 Message-ID: <4A4A986D0200008F000258A9@co5.dnr.state.mn.us> Hi Rodriguez: I did a couple of quick tests and it seems like the directive is working as intended, at least with some government unit boundary data. Any chance you could put together a small test case? Perhaps converting some data to shapefile and whipping up a simple mapfile that shows the problem. Are others experiencing the same issues? Steve >>> "Rodriguez, Heraldo" 06/30/09 10:33 AM >>> Hi everyone, We have just upgraded from mapserver 5.2.0 to 5.4.1 Our application use OpenLayers, Tilecache with metatiles on, and postgis. The label positioning in polygons has improved a lot but now we are experiencing label duplication on metatile boundaries. The layer with the issues is parcelas. We are using labelcache_map_edge_buffer and LABEL_NO_CLIP=ON . Has anyone an idea why this is happening? The labels length varies from 2 to 4 characters maximum . A fragment of our map is the following WEB # TEMPLATE "set in index.html" # MINscale 1000 MAXscaleDENOM 1550000 METADATA "wms_title" ... "wfs_title" ... "wms_onlineresource" ... "wfs_onlineresource" ... "WMS_FEATURE_INFO_MIME_TYPE" "text/html" "wms_srs" ... "wfs_srs" ... "wms_encoding" ... "labelcache_map_edge_buffer" "-10" END IMAGEPATH "/tmp/mapserver/" IMAGEURL "/mapserver/" END LAYER NAME parcelas METADATA "wms_title" "parcelas" "wms_include_items" "all" "wms_group_title" "Geograficos" "wfs_title" "parcelas" "gml_include_items" "all" "gml_featureid" "gid" END CONNECTION "user=xxxxx password=xxxxxx dbname=scgis host=localhost port=5432" CONNECTIONTYPE postgis PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "LABEL_NO_CLIP=ON" DATA "the_geom FROM parcelas USING UNIQUE gid" STATUS DEFAULT TYPE POLYGON OPACITY 80 MAXscaledenom 15000 LABELITEM parcela LabelMaxscaledenom 1200 DUMP true CLASS NAME "parcelas" TEMPLATE './QueryTemplates/parcelas.html' STYLE COLOR 242 239 233 #g earth OUTLINECOLOR 210 210 210 END Label minsize 7 Size 7 maxsize 8 type truetype PARTIALS false POSITION AUTO MINDISTANCE 20 PRIORITY 5 font "vera" color 86 86 86 end END END Any help would be appreciated. Thanks in advance Regards, Lic. Heraldo G. Rodriguez hrodriguez at siscat.com.ar TEL: 54-11-4326-4002 int 255 Dpto. Desarrollo Sistemas Catastrales S.A _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From davidn at datalinktech.com.au Tue Jun 30 21:26:10 2009 From: davidn at datalinktech.com.au (David Nugent) Date: Wed, 01 Jul 2009 14:26:10 +1000 Subject: [mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1 In-Reply-To: <296E5F9B6BB1C445BDDC9C94FC83835E34B135@ZEUS-Exchg2k3.sc.com> References: <296E5F9B6BB1C445BDDC9C94FC83835E34B135@ZEUS-Exchg2k3.sc.com> Message-ID: <4A4AE562.3030206@datalinktech.com.au> On 1/7/09 1:02 AM, Rodriguez, Heraldo wrote: > Hi everyone, > We have just upgraded from mapserver 5.2.0 to 5.4.1 > Our application use OpenLayers, Tilecache with metatiles on, and > postgis. > The label positioning in polygons has improved a lot but now we are > experiencing label duplication on metatile boundaries. Rodriguez, I can report having a similar problem, but have noticed that seeems to be related to use of some of the other settings in the LABEL section. I don't recall the details exactly unfortunately, but if you are trying to reproduce a test case then try different values of MINDISTANCE and POSITION in particular (including AUTO and not present). I know something I did at some point was causing LABEL_NO_CLIP to not function, but I don't recall what. Regards, David From thomas.bonfort at camptocamp.com Tue Jun 30 22:22:54 2009 From: thomas.bonfort at camptocamp.com (Thomas Bonfort) Date: Wed, 1 Jul 2009 07:22:54 +0200 Subject: [mapserver-users] compiling mapserv 5.4.1 with PNG driver In-Reply-To: References: Message-ID: <2922382e0906302222t58fd18cbjc86dfee9a3e9b82c@mail.gmail.com> you're apache configuration is probably not calling the mapserv binary you just compiled, but another one on your system. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 30, 2009 at 22:41, Peter Peterse wrote: > Hello, > > I'm trying to compile mapserv v5.4.1. I used the next configure command: > ================ > ./configure ? ? --with-ogr=/usr/local/bin/gdal-config \ > ? ? ? ? ? ? ? ?--with-gdal=/usr/local/bin/gdal-config \ > ? ? ? ? ? ? ? ?--with-httpd=/usr/sbin/httpd \ > ? ? ? ? ? ? ? ?--with-wfsclient \ > ? ? ? ? ? ? ? ?--with-wmsclient \ > ? ? ? ? ? ? ? ?--enable-debug \ > ? ? ? ? ? ? ? ?--with-curl-config=/usr/local/bin/curl-config \ > ? ? ? ? ? ? ? ?--with-proj=/usr/local \ > ? ? ? ? ? ? ? ?--with-tiff \ > ? ? ? ? ? ? ? ?--with-gd=/usr/local \ > ? ? ? ? ? ? ? ?--with-jpeg=/usr/lib/ \ > ? ? ? ? ? ? ? ?--with-png=/usr/local/bin/libpng12-config \ > ? ? ? ? ? ? ? ?--with-freetype=/usr/ \ > ? ? ? ? ? ? ? ?--with-threads \ > ? ? ? ? ? ? ? ?--with-wcs \ > ? ? ? ? ? ? ? ?--with-wfs \ > ? ? ? ? ? ? ? ?--with-postgis=/usr/local/pgsql/bin/pg_config \ > ? ? ? ? ? ? ? ?--with-libiconv=/usr \ > ? ? ? ? ? ? ? ?--with-geos=/usr/local/bin/geos-config \ > ? ? ? ? ? ? ? ?--with-libiconv=/usr \ > ? ? ? ? ? ? ? ?--with-xml2-config=/usr/bin/xml2-config \ > ? ? ? ? ? ? ? ?--with-sos \ > ? ? ? ? ? ? ? ?--with-agg=/home/peter/src/agg-2.5 > ================ > > after the make command there is a mapserv program. > mapserv -v gives: > ================ > MapServer version 5.4.1 OUTPUT=GIF OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG > SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER > SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > ================ > > In my map-file I have defined OUTPUTFORMAT: > ========== > OUTPUTFORMAT > ? ?NAME agg > ? ?DRIVER AGG/PNG > ? ?IMAGEMODE RGB > ? ?FORMATOPTION "INTERLACE=false" > ? ?MIMETYPE "image/png" > END > ========== > this give the next error: > OUTPUTFORMAT clause references driver AGG/PNG, but this driver isn't > configured. > > Does anyone knows what I'm doing wrong? > > > Thanks for your response. > > Peter. > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From Steve.Lime at dnr.state.mn.us Tue Jun 30 22:45:13 2009 From: Steve.Lime at dnr.state.mn.us (Steve Lime) Date: Wed, 01 Jul 2009 00:45:13 -0500 Subject: [mapserver-users] How to use msQueryByPoint with RASTER Message-ID: <4A4AB1990200008F000258AE@co5.dnr.state.mn.us> Does the query work outside WMS, that is, with straight calls to the MapServer CGI? One thing to check right away is that the layer is queryable by making sure a value for the layer TEMPLATE is set, anything (e.g. TEMPLATE 'dummy') will suffice. Steve >>> darenas 06/30/09 3:06 AM >>> Hi everyone! I?m creating a WMS service with a TIFF file. But I have problems in the moment to do querybypoints action on the raster so the error is the following: msQueryByPoint(): Search returned no results. No matching record(s) found I?m using the folowing parameters in mapfile as always with its attributes, but doens?t work: "gml_featureid" "OID" "gml_include_items" "VALUE,COUNT" any ideas? Thanks a million -- View this message in context: http://n2.nabble.com/How-to-use-msQueryByPoint-with-RASTER-tp3180021p3180021.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users