[mapserver-users] Re: Styling a mapfile with SLD?

2010-06-02 Thread paalkr
Hi! Thanks! I really don't understand how that poorly formatted SLD slipped trough the oxygen XML editor, obviously there are many close-tags that misses the backslash. Do you know if there is a ticket regarding the lack of error messages when MapServer fails to either pick up or parse a SLD

[mapserver-users] Styling a mapfile with SLD?

2010-06-01 Thread paalkr
Hi all! I'm trying to sett up a MapService that uses OGC SLD to override the regular MapServer rendering rules (classes and styles). For some reason MapServer does not seem to pick up the SLD, because the resulting map uses the default drawing rules defined in the map-file rather then the SLD.

[mapserver-users] Styling a mapfile with SLD?

2010-06-01 Thread paalkr
Hi all! I'm trying to sett up a MapService that uses OGC SLD to override the regular MapServer rendering rules (classes and styles). For some reason MapServer does not seem to pick up the SLD, because the resulting map uses the default drawing rules defined in the map-file rather then the SLD.

[mapserver-users] Re: GDAL WMS

2010-03-15 Thread paalkr
Hi! I have pointed out the missing documentation of the OVERSAMPLING_RATIO process directive before, and even made a ticket. As the directive enhances raster quality a lot in different situations I think it really deserves to be documented. Hopefully some with committing rights will pick it up

[mapserver-users] Re: Layer scale problem with Mercator (EPSG:900913)

2010-02-23 Thread paalkr
Hi! This issue is quite important to us, does anybody feel like contracting the task of fixing this? Please contact me by email if interested, pal.kristensen at statkart.no Regards, Pål Kristensen The Norwegian Mapping Authority - Regards, Pål Kristensen -- View this message in context:

[mapserver-users] [BUG] MapServer 5.4.2 going into an endless loop!

2009-11-20 Thread paalkr
Hi! I have discovered a situation where MapServer seems to enter an endless loop and uses all the CPU power available on a server. I have managed to track down the specific feature in our postgis database that causes MapServer to hang. A database dump containing only this feature and a working

Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread paalkr
Hi! Could I please ask for a comment on this issue from one of the developers? paalkr wrote: Hi! I have the following output format defined in my mapfile (MapServer 5.4.2): OUTPUTFORMAT NAME png8bit DRIVER AGG/PNG MIMETYPE image/png EXTENSION png

Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread paalkr
workaround is the suggested python mapscript wrapper, and check if the output is 1bit or not, if true then change it with a 8bits image instead. But I'm not totally sure that I really wont to fix this on the service side anyway ;) Frank Warmerdam wrote: paalkr wrote: Hi! Could I please ask

Re: [mapserver-users] add watermark to wms service

2009-10-23 Thread paalkr
Hi! What's the reason you don't want to use a layer with a label? Anyway I think that it's doable by intercepting the WMS request in MapScript and adding the watermark before delivering the final image back to the client. Travis Kirstine wrote: Is there a method for adding a watermark to

Automatisk svar ved fravær: [mapserve r-users] add watermark to wms service

2009-10-23 Thread paalkr
Hei! Jeg er på tjenestereise og er tilbake på kontoret tirsdag 27.okt 2009. Pål Kristensen Sjefsingeniør Statens kartverk NGIS Sentralbord 32 11 81 00 Direkte/Mobil 32 11 83 07 / 922 63 016 E-post:pal.kristen...@statkart.no - Regards, Pål Kristensen -- View this message in context:

[mapserver-users] MapServer and GeoWebCache in use

2009-10-22 Thread paalkr
Hi! People wants to see MapServer and GeoWebCache in action at the Norwegian mapping agency can try out http://kart.statkart.no http://kart.statkart.no . There is an option in the upper left part of the application to change the language to English (there may still be some items that are not

Re: [mapserver-users] Documentation update

2009-08-26 Thread paalkr
Hi! Do I need to do make any changes or something to the ticket, to get a feedback on this issue? Regards, Pål Kristensen paalkr wrote: Bump Pål paalkr wrote: Done, http://trac.osgeo.org/mapserver/ticket/2909#preview Pål Jeff McKenna wrote: paalkr wrote: Hi! I

Re: [mapserver-users] Point lables and tiles

2009-05-29 Thread paalkr
, in message 1243517779820-2987684.p...@n2.nabble.com, paalkr pal.kristen...@statkart.no wrote: 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

Re: [mapserver-users] Point lables and tiles

2009-05-28 Thread paalkr
any labels in the 10 outermost pixels surrounding the generated image (as they are chopped off by tilecache's metabuffer) thomas -- www.camptocamp.com +33 4 79 26 57 97 On Mon, May 25, 2009 at 16:45, paalkr pal.kristen...@statkart.no wrote: Hi! Thanks for the hint! The problem

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] 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] Point lables and tiles

2009-05-25 Thread paalkr
Hi! When creating tiles for my tilecache I have some issues regarding point labels. Using the PROCESSING label_no_clip=true works for line and polygon labels, but points has not area/size and will therefor newer be present in two neighbouring tiles. The result are clipped labels because only one

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

2009-05-12 Thread paalkr
Hi! I'm trying to achieve the same thing, but I need some hints on how to incorporate the spatial filter in the DATA statement. This is a snippet from my mapfile DATA geometri from general.country USING UNIQUE ogc_fid USING SRID=4326 and this is the spatial filter i try to apply

Re: [mapserver-users] GetFeatureInfo in XML

2009-05-05 Thread paalkr
Hi! This is something that I'm interested in as well, could I please ask you to share your featureinfo_nsg.xml? I would like to have a look at it to get some hints on how to set up a XML template. BTW: I think you can expose a new InfoFormat by setting the wms_feature_info_mime_type keyword in

Re: [mapserver-users] GIF output with AGG renderer

2009-04-21 Thread paalkr
Hi! Got any answers on this issue? I have the exact same problem. As you say, AGG can quantize to 8bits and it should be possible and serve this as a GIF, not only 8bits PNG (my personal opinion :) ) Regards, Pål Kristensen Eichner, Andreas - SID-NLK wrote: Hi all, I wanted to

[mapserver-users] Layer scale problem with Mercator (EPSG:900913)

2009-04-02 Thread paalkr
Hi! Theres seems like there are some troubles with layers at different scales when requesting a map in EPSG:900913). I have set up the mapfile in EPSG:32633 (WGS84, UTM zone 33), and all the layers are as well sett to be in EPSG:32633. When requesting maps in in UTM zone 31 to 36 the layers

Re: [mapserver-users] Documentation update

2009-04-01 Thread paalkr
Bump Pål Done, http://trac.osgeo.org/mapserver/ticket/2909#preview Pål paalkr wrote: Hi! I would suggest that someone with the right privileges adds the following the the documentation In the LAYER mapfile reference (http://mapserver.org/mapfile/layer.html), new headline Label

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-20 Thread paalkr
Regards paalkr wrote: Hi! Is there a way to prevent the default outputformats to be exposed in the capabilities document? I have a map service where I have used AGG specific rendering capabilities, and requesting e.g a GIF image then makes a bad looking map and does not make sense. I would

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread paalkr
Hi! Is there a way to prevent the default outputformats to be exposed in the capabilities document? I have a map service where I have used AGG specific rendering capabilities, and requesting e.g a GIF image then makes a bad looking map and does not make sense. I would like the opportunity to

Re: [mapserver-users] Problems with Google 900913 Projection and WMS Layers

2009-03-17 Thread paalkr
Hi! Which file did you add the 900913 coordinate system block to? You have to add it to the epsg file, I have done that my self and has no trouble (regarding coordinate system support) when adding a WMS service from MapServer in Google Maps. Regards, Pål Kristensen Bill Thoen wrote: .. I

Re: [mapserver-users] WFS and PostGIS newbie question

2009-03-17 Thread paalkr
Hi! CONNECTIONTYPE WFS is used when MapServer acts as a WFS client, i.e consuming a WFS service. If I understood you correctly, you are trying to serve out a WFS service with data stored in PostgreSQL/PostGIS. I think the following documents should be of great help to you: WFS server howto:

Re: [mapserver-users] msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter missing

2009-03-07 Thread paalkr
substitute the numeric address with the dns one mapserver returns a binary file... thanks for responding regards raffaele 2009/3/6 paalkr pal.kristen...@statkart.no Hi! This is fixed in ticket #2528, and applied in MapServer 5.2.0. Version is a optional parameter

Re: [mapserver-users] msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter missing

2009-03-06 Thread paalkr
Hi! This is fixed in ticket #2528, and applied in MapServer 5.2.0. Version is a optional parameter in the GetCapabilities request, as described in the WMS 1.1.1 specification, chapter 7.1.2, table 4. In earlier version of MapServer the version parameter was treated as mandatory. You can resolve

[mapserver-users] Documentation update

2009-02-27 Thread paalkr
Hi! I would suggest that someone with the right privileges adds the following the the documentation In the LAYER mapfile reference (http://mapserver.org/mapfile/layer.html), new headline Label directives: PROCESSING LABEL_NO_CLIP=True In the Raster Data, Special Processing Directives

Re: [mapserver-users] Status on ticket 2582?

2009-02-23 Thread paalkr
the lead? Steve On 2/22/2009 at 4:51 PM, in message 1235343099022-2369505.p...@n2.nabble.com, paalkr pal.kristen...@statkart.no wrote: Hi! Good idea, this could even make the dump == false / true for OWS redundant. Adding wfs_disable_request 'all' would effectively prevent wfs

Re: [mapserver-users] Status on ticket 2582?

2009-02-21 Thread paalkr
with the wms_layer_group metadata tag? ... should work similar to 2 und 3. But currently I have no idea what the patch does with wms_layer_group layers. Me neither :-) Regards, Pål Kristensen paalkr wrote: Hi All! I glad this issue got some focus, and I must say that I was kind

Re: [mapserver-users] Status on ticket 2582?

2009-02-17 Thread paalkr
flexible for future use. Daniel Morissette wrote: paalkr wrote: Hi all devs! What is the status on ticket http://trac.osgeo.org/mapserver/ticket/2582 2582 ? Is this going to be included in 5.4? Yes, we'll take care of it for 5.4. Daniel

[mapserver-users] Status on ticket 2582?

2009-02-16 Thread paalkr
Hi all devs! What is the status on ticket http://trac.osgeo.org/mapserver/ticket/2582 2582 ? Is this going to be included in 5.4? Regards, Pål Kristensen -- View this message in context: http://n2.nabble.com/Status-on-ticket-2582--tp2337548p2337548.html Sent from the Mapserver - User

Re: [mapserver-users] Full CADRG and VPF support

2009-02-12 Thread paalkr
to find out if the geometry in the tileindex is correct, is to render the tileindex as a vector layer and visually see if the raster footprints are located as expected. If the are, the error is most likely to be the path issue. Regards, Pål Kristensen purnomod wrote: Hi paalkr, I have tried

Re: [mapserver-users] exclude layer from wms capabilities

2009-02-04 Thread paalkr
Hi! This issue has been discussed several times in the past. Se the links below for some more information: http://n2.nabble.com/Hiding-overviews-tt1970417.html#a1970417 http://n2.nabble.com/GetCapabilities-for-a-specific-layer%2C-not-the-entire-mapfile--tt1970666.html#a1970668 There is also a

[mapserver-users] FORMATOPTION PALETTE_FORCE=TRUE problem

2009-01-06 Thread paalkr
Hi! I have tried to use the FORMATOPTION PALETTE_FORCE=TRUE with no luck. I've goth this error message all the time: [Tue Jan 6 15:26:05 2009].409786 msDrawMap(): Layer 3 (N500Hoydelag), 0.161s [Tue Jan 6 15:26:05 2009].409998 msDrawMap(): Drawing Label Cache, 0.000s [Tue Jan 6 15:26:05

Re: [mapserver-users] FORMATOPTION PALETTE_FORCE=TRUE problem

2009-01-06 Thread paalkr
of quadruplets (r,g,b,a) (and it would be better to have an outputformat with imagemode rgba, and use that one instead of passing transparent=true) thomas On Tue, Jan 6, 2009 at 15:56, paalkr pal.kristen...@statkart.no wrote: Hi! I have tried to use the FORMATOPTION PALETTE_FORCE=TRUE