Re: [mapserver-users] Point lables and tiles

2009-05-28 Thread paalkr
Hi! OK, are there any methods that could be used to let MapServer produce a bigger image and then chop off excess area before sending the image to the client? I think that this would be the easiest and most flexible solution. Regards, Pål Kristensen Thomas Bonfort-2 wrote: it doesn't put

Re: [mapserver-users] SV: Clipping out unprojectable area?

2009-05-28 Thread paalkr
Hi! Does anyone have a clue regarding what I have to do, to sort out this issue? Regards, Pål Kristensen paalkr wrote: Hi, thanks for the help! I tried your suggestion, but I didn't manage to get it to work correctly, this is what I did: Entered the following DATA statement:

[mapserver-users] expressions and threshold color

2009-05-28 Thread Chad Clabaugh
Hello, I'm attempting to color layers by their threshold values. When I use the following mapfile it is only coloring two layers instead of three. Also the layer its coloring changes based on the value in the expression but the areas of each layer never change. Am I going about this

[mapserver-users] Hiding layers, again ;)

2009-05-28 Thread paalkr
Hi all dev! I just want to check the status, and if there where any discussion on the Toronto Code sprint regarding the hiding layers in different OGC services issue? There was put up a wiki page discussing different approaches and possible solutions

[mapserver-users] Finding the centroid given the feature

2009-05-28 Thread Varun saraf
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

[mapserver-users] Mapserver layer + Openlayers = Random pink tiles...

2009-05-28 Thread Paul james
Hello guys... I know It is a Openlayer question, but maybe someone here can help-me... I did a simple sample to show my problem... My layer sometimes is 100% showed, but when I zoom, several pink layers appears... Its absolute RANDOM... -- If I click right on the image, and get the image URL

Re: [mapserver-users] Mapserver layer + Openlayers = Random pink tiles...

2009-05-28 Thread Daniel Morissette
Paul james wrote: -- If I click right on the image, and get the image URL and PASTE on browser, I CAN SEE THE IMAGE... So It was created fine... Help? I´m getting crazy ... ps.: Using Windows XP + IIS Did you check your IIS logs? It could be that you have too many connections at the same

Re: [mapserver-users] Mapserver layer + Openlayers = Random pink tiles...

2009-05-28 Thread Paul james
Hi Daniel! I ckecked the IIS Log... And I´m getting 403 to the pink tiles : 16:06:04 127.0.0.1 GET /cgi-bin/mapserv.exe 403 The IIS specification : *403 *- Forbidden. IIS defines a number of different 403 errors that indicate a more specific cause of the error: *403.1* - Execute access

RE: [mapserver-users] problems with 'MapServer Itasca Application (ms v5.0)'

2009-05-28 Thread Pano Voudouris
Which version of MapServer are you using? You can find it by running in a command prompt: mapserv -v Think that in the latest versions all Mapserver templates must have in their first line the string MapServer Template even if it is as a comment. In your case this would be the itasca_basic.html

Re: [mapserver-users] Mapserver layer + Openlayers = Random pink tiles...

2009-05-28 Thread Daniel Morissette
Paul james wrote: Hi Daniel! I ckecked the IIS Log... And I´m getting 403 to the pink tiles : 16:06:04 127.0.0.1 GET /cgi-bin/mapserv.exe 403 The IIS specification : *403 *- Forbidden. IIS defines a number of different 403 errors that indicate a more specific cause of the error: [...]

Re: [mapserver-users] Finding the centroid given the feature

2009-05-28 Thread Adam Eskreis
I'm not sure if this is what you are doing, but I have done something similar I think. When I want to use the centroid geometry of a polygon, what I do is load the layer into postgis, create a new geometry field called points_geom or something like that, and write a stand alone program to find

Re: [mapserver-users] Mapserver layer + Openlayers = Random pink tiles...

2009-05-28 Thread Paul james
You are right :P To increase number connections on XP : http://www.dslreports.com/faq/10253 Thanks Daniel! On Thu, May 28, 2009 at 2:29 PM, Daniel Morissette dmorisse...@mapgears.com wrote: Paul james wrote: Hi Daniel! I ckecked the IIS Log... And I´m getting 403 to the pink tiles :

Re: [mapserver-users] Point lables and tiles

2009-05-28 Thread Steve Lime
Not within MapServer proper. The various tiling services use this metatile approach so it does work. You'd need an intermediary script to do the clipping for you. Steve On 5/28/2009 at 8:36 AM, in message 1243517779820-2987684.p...@n2.nabble.com, paalkr pal.kristen...@statkart.no wrote: Hi!

[mapserver-users] How do I get WFS vector type (LINE, POINT or POLYGON) from mapserver WFS query?

2009-05-28 Thread Peter Willis
Hello, I am using mapserver as a WFS server. When I query getCapabilities I get he following capabilities: - GetCapabilities - DescribeFeatureType - GetFeature I also get a list of features. If I then make 'describeFeatureType' or 'getFeature' requests for one of the features on the list I

[RESOLVED:] [mapserver-users] How do I get WFS vector type (LINE, POINT or POLYGON) from mapserver WFS query?

2009-05-28 Thread Peter Willis
O.K., that was brief and non-productive The 'getFeature' query XML results have ms:msGeometry entries. ie: ms:msGeometry - gml:Polygon srsName=EPSG:4269 HERE!! - gml:outerBoundaryIs - gml:LinearRing - gml:coordinates /gml:coordinates /gml:LinearRing

[mapserver-users] Upgrading 5.2 - 5.4 generating CGI error...

2009-05-28 Thread Paul james
I got that error when try to enter : http://localhost/cgi-bin/mapserv.exe?map=C:/map.map CGI ErrorThe specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My Map: MAP EXTENT -79.7892 -34.2426 -24.9958 6.11775 FONTSET

Re: [mapserver-users] SV: Clipping out unprojectable area?

2009-05-28 Thread Ben Madin
Pâl, On 28/05/2009, at 9:38 PM, paalkr wrote: Does anyone have a clue regarding what I have to do, to sort out this issue? there is a clue in the log file : [Mon May 25 14:03:08 2009].187807 msPostGISLayerWhichShapes(): Query error. Error (ERROR: argument of WHERE must be type boolean,