Re: [mapserver-users] Point lables and tiles

2009-05-28 Thread paalkr
Hi! OK, thanks! I guess that MapScript is the way to go then. Steve Lime wrote: > > 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 A

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, n

[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 "Fonts\

[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: - <

[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 g

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

2009-05-28 Thread Andre Steenveld sr
Hi Pano, I'm using version 5.0 and I've received another mail suggesting the same thing. Adding "MapServer Template" did solve my problems. Tanks, Andre Steenveld. -Original Message- From: Pano Voudouris [mailto:pvoudou...@gaiocorp.com] Sent: donderdag 28 mei 2009 19:06 To: Andre St

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 wrote: > Hi! > > OK, are there any

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

2009-05-28 Thread Steve Lime
What version are you using? What data source? Steve >>> On 5/28/2009 at 10:01 AM, in message <6db14d250905280801q3660a6a7ycbcd5f5a238c5...@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

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 wrote: > 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 G

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 t

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: [...] Do

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 f

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 forbidden

RE: [mapserver-users] Problems getting a JP2 or TIFF raster layerdrawen

2009-05-28 Thread Pano Voudouris
You are right Jukka. It DOES work. Not sure what I was doing there! Just retried it and its fine. Pano -Original Message- From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] Sent: 27 May 2009 11:45 To: Pano Voudouris; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Prob

[mapserver-users] Custom CRS/SRS (Malaysia)

2009-05-28 Thread Bruce Foster
All, Apologies if this has been asked before and cross posting. Well, in dire situation. I'm working on a project in Malaysia and the ran into major road block because of the local projection. All existing datasets are in older Cassini projection. They have 9 state level Cassini projection for cad

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

[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 an

[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 p

[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 http://trac.osgeo.org/mapserver/wiki/HidingLa

[mapserver-users] expressions and threshold color (solution found)

2009-05-28 Thread Chad Clabaugh
I checked the threshold values contained within my dataset and found that the ranges were not what I expected and I was outside of that range. Everything works properly after tweaking the threshold values. Thanks! From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@li

[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 correct

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:

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] MapServer: Premature end of script headers

2009-05-28 Thread Dan Little
Is map.phtml giving the Internal Server Error or is there a tag being rendered by map.phtml that has an internal server error? Also, what does your error log show? Which OS are you running? - Original Message > From: Gonzalo Lionel Rodriguez > To: mapserver-users@lists.osgeo.org >