Re: [mapserver-users] how do you unsubscribe from this list

2008-09-03 Thread Kristian Thy
On Wed, Sep 03, Pete Kennedy wrote:
 anyone know?

Have you tried looking at the link at the bottom of each and every mail
you receive from the list?

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] confused about pulling data from postgis

2008-07-21 Thread Kristian Thy
On Mon, Jul 21, orkun wrote:
 In addition to wkb_geometry, I also want to get ogc_fid
 using querybypoint.
 
 I am using this line in my map file. I am getting
 wkb_geometry but not ogc_fid
 
 DATA  wkb_geometry FROM (select ogc_fid,wkb_geometry,cat from
 sheydene2) as foo using unique ogc_fid using SRID=32768
 
 what should I change in my map file to get ogc_fid ?

DATA  wkb_geometry, ogc_fid FROM (select ogc_fid,wkb_geometry,cat from
sheydene2) as foo using unique ogc_fid using SRID=32768

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] queryByPoint + PostGIS layers + USING statement

2008-07-21 Thread Kristian Thy
On Mon, Jul 21, Stefan Schwarzer wrote:
 My layer parameters look a bit like this:
 
   DATA 'the_geom FROM ( SELECT  FROM xxx LEFT JOIN  WHERE xxx) 
 AS foo USING UNIQUE uid USING srid=4326) '

You have an extra ) at the end.

 But nevertheless, mapserver doesn't like it...

If removing the superfluous ) doesn't solve your problem, you will need
to elaborate on what doesn't like it means. Does it give an error
message?

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] COLOR can take an expression?

2008-05-17 Thread Kristian Thy
On Fri, May 16, Tom Huras wrote:
 I want to assign a color to some features from a database based on a 
 field.   The full range of values is large, so I don't want to code a 
 CLASS for each value.  Instead I'd like to use an expression for the color.

For doing stuff like this, I use mako templates in python:

http://quovadis.dk/dl/corine_template.map
http://quovadis.dk/dl/corine.py.txt

Then I can just

C:\corine.py  corine.map

for the final mapfile.

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] testing mapserver large files rendering improvements

2008-05-15 Thread Kristian Thy
On Thu, May 15, Paul Ramsey wrote:
 I've been thinking about auto-building qix files... it would fix this
 problem and also fix the problem of the shape file that gets updated
 and out-of-synch with its index file.

Seeing that this would probably lead to (slightly) decreased performance
since mapserver-cgi would need to verify the qix for each shapefile for
each request, I would at least encourage adding it as a map file option
(default off).

Then again, you wouldn't get the benefit of it if you don't read the
docs, which is the problem you're trying to fix ;)

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] To WFS, WMS or to WCS

2008-05-13 Thread Kristian Thy
On Tue, May 13, Sarel Coetzer wrote:
 Is there anywhere a brief explanation of the deferent types of map services
 such as WFS, WMS and WCS.

WIYF:

http://en.wikipedia.org/wiki/Web_Map_Service
http://en.wikipedia.org/wiki/Web_Feature_Service
http://en.wikipedia.org/wiki/Web_Coverage_Service

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] ASCII - UTF-8 convert problems for importing (GIS) data (DBF standard encoding?)

2008-05-02 Thread Kristian Thy
On Fri, Apr 25, Stefan Schwarzer wrote:
 But: is there anyway to specify the encoding for DBF files?

According to this

http://www.clicketyclick.dk/databases/xbase/format/dbf.html

(which is the closest I could come to an official DBF spec), all records
in the DBF file format are in ASCII, unless you use a FoxPro format
which has a number of codepage options.

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] multiple tiffs in one layer

2008-04-28 Thread Kristian Thy
On Mon, Apr 28, Kyle Wilcox wrote:
 Each geotiff will need to be a layer.  You can use the GROUP tag inside 
 each of the layers to display them together.
 
 Attila Berényi wrote:
 Dear List,
 
 I'd like to know that is it possible to display separate geotiffs on one 
 layer?
 Now I'm able to include more than one DATA line in the LAYER 
 specification, but only the last one is displayed
 
 Any help would be very much appreciated,
 
 Thanks,
 
 Attila
 -- 
 
  Kyle Wilcox
  NOAA Chesapeake Bay Office
  410 Severn Avenue
  Suite 107A
  Annapolis, MD 21403
  office: (410) 295-3151
  [EMAIL PROTECTED]
 
  A: It takes over twice as long to understand the conversation.
  Q: What's wrong with top-posting?
  A: Top-posting.
  Q: What's the worst thing about plain text email discussions?

I find it rather amusing that you not only top-post wrong information,
but even have a signature saying the worst thing about email discussions
is top-posting.

As that other guy said, there's no need to make a layer per tiff. Just
index them and use TILEINDEX.

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Large scale PDF output on Windows

2008-04-26 Thread Kristian Thy
On Fri, Apr 25, Brent Fraser wrote:
   If there's enough interest, I'd be willing to contribute the code changes 
   he made if there's a Mapserver developer/committer willing to review, 
 upgrade them to v5,and test (and it may require an RFC as there was a map 
 file addition to OUTPUTFORMAT/FORMATOPTIONS, I think).

I am very interested in your patch, and would certainly back enabling 24
bit pdf output.

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problem creating WMS

2008-03-26 Thread Kristian Thy
On Wed, Mar 26, Milo van der Linden wrote:
 svGIS will return text/html only when the WMS server returns a message 
 or error. The GetCapabilities is parsed correctly, but when the GetMap 
 is triggered, it occasionally returns text/html on error.
 
 The best thing to do is copy the request string from svGIS to your WMS 
 server to a browser. If it is correct, you will see an image. If it is 
 wrong, The browser will tell you it wants to download a file called 
 mapserv or mapserv.exe

You could avoid this by asking for in-image error messages:

...EXCEPTIONS=application/vnd.ogc.inimage

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] image in an output

2008-03-23 Thread Kristian Thy
On Sat, Mar 22, nickthegreek- wrote:
 fist in my output i try to insert in mapfile a image so as to display
 a compass.. what i do is to try to put in mapfile a layer which shows
 only this image, the compass... i haven't tried that up now..any help
 would be great (what exactly to write in the layer)!!!

http://mapserver.gis.umn.edu/docs/faq/copyright-layer
http://mapserver.gis.umn.edu/docs/reference/mapfile/feature

However, you can't use a picture for that as far as I know ... but if
you could make/find a font with a compass glyph, you should be able to
insert that.

 and secondly ..i wanna a big help in how to insert my shapefiles in a
 database.. the postgis does that? what i should know is if i should
 put shp shx and dbf files in tables in postgis??

To load shapefiles into PostGIS you use the shp2pgsql utility
distributed with PostGIS:

http://postgis.refractions.net/docs/ch04.html#id2670802

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Linux installation

2008-03-06 Thread Kristian Thy
On Thu, Mar 06, Hans Castorp wrote:
 Is there any tutorial or manual explaining how to install mapserver 5
 w/postgis over Linux??

I did a cookbook recipe for Ubuntu a few months ago:
http://quovadis.dk/index.cgi/i_can_has_gis%3A2007-10-20%3Ageo%2Clinux%2Cserver%2Cubuntu

\\kristian
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users