Re: [MAPSERVER-USERS] SLD not working

2008-02-13 Thread Rahkonen Jukka
Hi Paul, What happens if you remove the dummy "&STYLES=" part? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: Paul McCullough Lähetetty: to 14.2.2008 3:15 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [MAPSERVER-USERS] SLD not working All, I am

VS: [mapserver-users] Hiding overviews

2008-03-05 Thread Rahkonen Jukka
Hi, I've never tried myself, but I would not be surprised if you could do something of that kind with GROUP in LAYER object. Excerpt from mapfile reference http://mapserver.gis.umn.edu/docs/reference/mapfile/layer follows. GROUP [name] Name of a group that this layer belongs to. The group n

Re: [mapserver-users] Re: Hiding overviews

2008-03-06 Thread Rahkonen Jukka
Hi, I would say that if it is not possible at the moment to make a logical WMS layer that automatically swithes between several external overviews and the original imagery through tileindex according to scale settings, then it would be very useful to have. However, it feels so obvious demand t

Re: [MAPSERVER-USERS] Missing required parameter BBOX

2008-03-06 Thread Rahkonen Jukka
Hi, If it used to work before, and if you just changed projection of the mapfile to epsg:4326 withour changing the mapfile EXTENTS, the correcting extents might well make it work again. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED

Re: [mapserver-users] dynamic data in cgi-mapserver

2008-03-11 Thread Rahkonen Jukka
> 3 Questions: > 1.Where is this function documented? > 2. Is it possible to use such variables for other objects in a mapfile in a > cgi-apps? (I know, no problem with mapscript) > 3. Is it possible to use dynamic sql-statements or data-source via post or > get variable in a cgi-app (f.e. for C

[mapserver-users] WFS - Properly working examples wanted

2008-03-12 Thread Rahkonen Jukka
Hi, I have big troubles in using my MapServer WFS service with GIS clients. I have followed documents like WFS Servers with Mapserver and some others, and it is rather easy to get the service to work somehow. I can send requests with browser and wget and I'll get back something that looks goo

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
> > Excuse the stupid question, but what do you mean by native PROJ4 definition? Do you mean applying the inline parameters directly? > He means giving the projections with the actual strings which are also hidings behind the epsg codes, > for example this means the same as epsg:2393PROJ

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
Rob wrote: > Excuse the stupid question, but what do you mean by native PROJ4 definition? Do you mean applying the inline parameters directly? He means giving the projections with the actual strings which are also hidings behind the epsg codes, for example this means the same as epsg:2393

VS: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
> Well so far, I have tried to set my projection to > '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSB36 +units=m +no_defs' > '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSGB36 +units=m +no_defs'

Re: [MAPSERVER-USERS] Tiff files with different projections in the samelayer

2008-03-14 Thread Rahkonen Jukka
I fear that tileindex can contain only images sharing the same projection. But perhaps, if you do not have very many different projections, you could make own tileindex for each projection and put them under same GROUP. Kind of a trick that might work is to reproject images to some common proje

Re: [mapserver-users] GPX file viewer with mapserver

2008-03-16 Thread Rahkonen Jukka
Lähettäjä: [EMAIL PROTECTED] puolesta: Tran Tho Ha > Thanks Frank for your advice. > I identified that I was using old version of MS4W. So when I upgrade to MS4W > 2.2.7, it works. At least, the errors I mentioned before didn't occurred > anymore. But I have another problem: I only get a blank i

Re: [MAPSERVER-USERS] cs2cs problems

2008-03-17 Thread Rahkonen Jukka
Hi, I you want to define projections in mapfile then there are two alternatives: either give the espg code: PROJECTION "init=epsg:2393" END or proj4 strings: PROJECTION "+proj=tmerc +lat_0=0 +lon_0=27 +k=1.00 +x_0=350 +y_0=0 +ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.21

VS: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variables toshp2img?

2008-03-17 Thread Rahkonen Jukka
If you use Windows, make a batch file, let's say run.bat shp2img -m "...map" -o "...gif" %1% %2% Then send from command line: run.bat variable1 variable2 (they will be inserted in place of %1 and %2) -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: John Sm

Re: VS: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variablestoshp2img?

2008-03-17 Thread Rahkonen Jukka
the map file for a postgis query, like %var%. passing [-m "...map?value=%var%"] throws a msEvalRegex() error. jzs On Mon, Mar 17, 2008 at 4:38 PM, Rahkonen Jukka <[EMAIL PROTECTED]> wrote: > > If you use Windows, make a batch file, let's say run.bat > shp2img -m ".

Re: [MAPSERVER-USERS] cs2cs problems

2008-03-18 Thread Rahkonen Jukka
ood what you are aiming at, but I hope you will have luck with it. -Jukka Rahkonen- Lähettäjä: CARLA FERNANDEZ [mailto:[EMAIL PROTECTED] Lähetetty: 18. maaliskuuta 2008 11:50 Vastaanottaja: Rahkonen Jukka Aihe: Re: [MAPSERVER

Re: [MAPSERVER-USERS] cs2cs problems

2008-03-18 Thread Rahkonen Jukka
Lähettäjä: CARLA FERNANDEZ [mailto:[EMAIL PROTECTED] Lähetetty: 18. maaliskuuta 2008 14:15 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [MAPSERVER-USERS] cs2cs problems Hi Jukka, Thank

Re: VS: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variablestoshp2img?

2008-03-18 Thread Rahkonen Jukka
There is quite a lot of good reading on the Mapserver web site, for example: http://mapserver.gis.umn.edu/new_users MapServer is designed to be a map server that delivers maps through http for web clients. It does sometimes create image files on server disk and of course you can seach and use th

Re: [MAPSERVER-USERS] mapserver connection database

2008-03-31 Thread Rahkonen Jukka
[EMAIL PROTECTED] puolesta: nickthegreek- > hello to everyone ... what i wanna is a help and tell me what exactly to do ... > what i wanna is to put all these files in a database and to connect to the > database and as a result to be shown > first.., what database to use, the easiest Use PostGIS

Re: [mapserver-users] png problems

2008-04-03 Thread Rahkonen Jukka
How do you georeference your jpeg and png images? If it goes wrong with png then Mapserver believes that image origo is at coordinates (0,0) and that probably does not suit the bounding box of your request. -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTE

Re: [mapserver-users] Cannot display postGIS layers on ms4w 4.6.1

2008-04-03 Thread Rahkonen Jukka
Perhaps a typo in your mapfile? There reads: DATA 'the_geom from batas-admin.batas_administrasi_line2_utm using unique oid' -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Puolesta > [EMAIL PROTECTED] > Lähetetty: 4. huhtikuuta

Re: [mapserver-users] Cannot display postGIS layers on ms4w 4.6.1

2008-04-04 Thread Rahkonen Jukka
[mailto:[EMAIL PROTECTED] > Lähetetty: 4. huhtikuuta 2008 9:55 > Vastaanottaja: Rahkonen Jukka > Aihe: Re: [mapserver-users] Cannot display postGIS layers on > ms4w 4.6.1 > > Actually, the "using unique oid" part is my own addition in > an attempt to remove the er

Re: [mapserver-users] PostGIS data in EPSG:31300 using for GoogleMaps overlay

2008-04-08 Thread Rahkonen Jukka
Hi, In this: DATA "new_geom from (select gid, transform(the_geom,4326) as new_geom from table) as mytable using unique gid using srid=4326" First, "(select gid ..." is selecting the unique column of your table. Change "gid" to suit your table. Then "using unique gid" is referring to what

[mapserver-users] Tileindex and drawing order of tiles

2008-04-10 Thread Rahkonen Jukka
Hi, I started to wonder if it is be possible to define the drawing order of image tiles by tweaking with tileindex. It might be of some use if, for example, there are recent overlapping images which would be fine to have always on top of older images. Perhaps the tileindex shapefile could b

Re: [mapserver-users] JGW+JPG -> TIFF

2008-04-14 Thread Rahkonen Jukka
-Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: [EMAIL PROTECTED] > 2) I have 80 orthofotos. Since I don't want to add a layer for each one I > created a tileindex with gdaltindex.exe ... the created dbf file contains one > column called LOCATION and has all the name of my

Re: [mapserver-users] Draw Postgis sql query

2008-04-15 Thread Rahkonen Jukka
Hans Castorp wrote: > I have some sql queries over a Postgis table (points). How can I draw the results of these queries over the map? Have a look at for example these documents first: http://mapserver.gis.umn.edu/docs/reference/vector_data/postgis http://postgis.refractions.net/docs/ch04.h

Re: [mapserver-users] WMS cascading

2008-04-17 Thread Rahkonen Jukka
Hi, When you cascade WMS services the LAYER is defining the remote service. The result of using "wms_srs" "EPSG:23033" in the nasa layer metadata means that your Mapserver is using EPSG:23033 when sending requests to wms.jpl.nasa.gov. That is not what you want to do. Use EPSG:4326 at layer l

Re: [mapserver-users] How to tile a large TIF image?

2008-04-18 Thread Rahkonen Jukka
Hi, Gdal_translate program has options for you: c:\FWTools>gdal_translate Usage: gdal_translate [--help-general] [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/ CInt16/CInt32/CFloat32/CFloat64}] [-strict] [-of format] [-b band] [-outsize xsize[%] ysize[%]]

Re: [mapserver-users] How to tile a large TIF image?

2008-04-18 Thread Rahkonen Jukka
Perhaps your environment is not correctly set. Try downloading FWTools, it has a script that sets paths etc. ready. -Jukka- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: Stefan Schwarzer Lähetetty: pe 18.4.2008 16:02 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio:

Re: [mapserver-users] MapServer v. 4.10.0 featureid problem

2008-04-20 Thread Rahkonen Jukka
-Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: Brian Mixon > Tom, > Perhaps I should tell you why I'm after the (or any) unique AND sequential id field for a service's features. I'm trying to page the feature data in a UI and started designing my solution after having rea

Re: [mapserver-users] MapServer's image quality stinks serving up theseNOAA NRCs

2008-04-20 Thread Rahkonen Jukka
Gregor Mosheh wrote: > URL http://ms2.geowake.com/ These were KAP files downloaded from NOAA's Raster Nautical Charts (NRCs), converted to TIFF with gdalwarp. > The image quality there stnks! A second map (no longer available) made of the raw images sliced into PNGs and not run via MapSer

Re: [mapserver-users] JP2 Ortho Aerials

2008-05-13 Thread Rahkonen Jukka
Hi, For my mind the best software for this task is called MapServer. Just define GeoTIFF output format and ask for an image with the height and width you want. Then it will be easy to save the image and use it as a quick look layer. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [

Re: [mapserver-users] Converting datum using ogr2ogr

2008-05-14 Thread Rahkonen Jukka
Hi, I don't think you need .prj file with your shapefiles and you should be able even to overrun it. You need to use parameters -s_srs for source projection and -t_srs for target projection. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: NASUNO Isao Lähe

VS: [mapserver-users] Converting datum using ogr2ogr

2008-05-14 Thread Rahkonen Jukka
sible that right parameters for you are TOWGS84=-148,507,685,0,0,0,0 but I can't be sure. It was just the first hit from altavista search. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Puolesta NASUNO Isao > Lähetetty:

Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)

2008-05-16 Thread Rahkonen Jukka
Hi, I guess that Mapserver thinks that the first line in the mapfile should be MAP -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: ? ? Lähetetty: pe 16.5.2008 22:46 Vastaanottaja: Mapserver-users Aihe: [mapserver-users] loadWeb(): Unknown iden

Re: [MAPSERVER-USERS] wms server, serve layers in multiple projections

2008-05-20 Thread Rahkonen Jukka
Neil Best wrote: >Maria Panagou wrote: > >> I am wondering if it is possible to setup a WMS server with Mapserver, >> that will serve layers in more than one map projection. For example it it >> possible to declare at MAP level such a PROJECTION declaration? >> >> PROJECTION >> "init=epsg:

Hi: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)

2008-05-20 Thread Rahkonen Jukka
Hi, I copy-pasted your mapfile from this message (between MAP and END), stored it on my hard disk and had a try with MS4W with the following URL: http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/apps/maps/test.map&mode=map I received a yellowish box on browser with Hello World text on it. Thu

VS: [mapserver-users] Accessing raster cell values

2008-05-29 Thread Rahkonen Jukka
Hi, I can't say anything about OpenLayest client, but you may find some other useful information from here: http://mapserver.gis.umn.edu/docs/howto/raster_data/#raster-query Basically I think that WMS GetFeatureInfo query might be close to what you are searching for. -Jukka Rahkonen- > --

Re: [mapserver-users] Output Raster format

2008-06-03 Thread Rahkonen Jukka
Hi Mapserver is not much like web processing service. However, something can be done with layer PROCESSING directives SCALE and LUT. There may be other options for customizing which I am not aware. http://mapserver.gis.umn.edu/docs/howto/raster_data/#special-processing-directives Sometime

Re: [mapserver-users] Making mapserver into a WMS

2008-06-04 Thread Rahkonen Jukka
Hi, I believe everything is OK. Try saving the file mapserv.exe on your disk and open it with text editor. It is just that WMS standard gives such a MIME type for GetCapabilities response that it is not often recognised as XML. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EM

VS: [mapserver-users] Cannot display raster: MapServer shows whiterectangle instead of the raster.

2008-06-06 Thread Rahkonen Jukka
Hi, Check list for empty map cases is - extents - projection - file names and path - if the layer is requested In your case extents seem to be OK, but you can verify it by running gdalinfo for the image with gdalinfo C:\mapfiles\shp\RASTER\industri.tif You do not use PROJECTION so it cannot

Re: [mapserver-users] Output Raster format

2008-06-06 Thread Rahkonen Jukka
sized image excerpt for adjusting colours with it. -Jukka- Lähettäjä: David Martinez Morata [mailto:[EMAIL PROTECTED] Lähetetty: 6. kesäkuuta 2008 11:52 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org A

Re: [mapserver-users] mapserver wms: srs problem

2008-06-09 Thread Rahkonen Jukka
Hi, I have not followed this discussion closely, but at least map extents and map level projection do not match. It may not have any effect on WMS but it does not harm if they were correct. EXTENT 184056.505 4809728.25 767381.245 5478975.75 ... PROJECTION "init=epsg:4326" END -J

Re: [mapserver-users] WMS Client setup not sending any requests

2008-06-11 Thread Rahkonen Jukka
Sorry, I was wrong with supported projections for rasta100 layer. EPSG:2393 is ok. So the question is if basic authentication is supported or not. -Jukka- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Rahkonen Jukka

Re: [mapserver-users] WMS Client setup not sending any requests

2008-06-11 Thread Rahkonen Jukka
Hi, Your first problem is that you are requesting layer rasta100 layer in EPSG:2393, but it supports only EPSG:3067. But I am thinking that the basic problem is that MapServer does not support connection over https with basic authentication at all. I started a thread named "Cascading externa

Re: [mapserver-users] RE: WMS Client setup not sending any requests

2008-06-11 Thread Rahkonen Jukka
Hi, I took some lines of a working mapfile for cascading WMS. These extents are covering the whole Finland. If you make a request with pure &mode=map map level extents are used as bounding box. By setting also the bounding box in request you will have much better control on what is happening.

Re: [mapserver-users] RE: WMS Client setup not sending any requests

2008-06-11 Thread Rahkonen Jukka
reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more > specific than "Re: Contents of mapserver-users digest..." > > > Today's Topics: > >1. Re: WMS Client setup not sending any requests

Re: [MAPSERVER-USERS] MapFile2XML conversion - WAS: mapObjectserialization in C# (variant)

2008-06-11 Thread Rahkonen Jukka
Hi, Oh no, please do not move to XML as the only alternative, at least not without making a very-easy-to-use XML-Mapfile editor for mortals like me with the same. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Puolesta > Barend Kobb

Re: [mapserver-users] mapserver wms: srs problem

2008-06-11 Thread Rahkonen Jukka
Matthew Pettis wrote: > So the point is, my WMS map calls stretch as a function of the image > width and height (which is how it is called for openlayers). If I > want the unprojected map via WMS (that doesn't stretch based on the > tile image dimensions), how do I configure my WMS url, or .map f

Re: [mapserver-users] Multiple geometry layer

2008-06-14 Thread Rahkonen Jukka
Hi, If you are using database in backgound perhaps there is no need to convert data. How about creating polygon layer by quering just polygon geometries by adding some SQL into layer DATA definition, and point layer by quering the point geometries with "WHERE polygon_geometry is null"? -Jukk

VS: [mapserver-users] using vector data format

2008-06-18 Thread Rahkonen Jukka
Hi, Your problem is that Mapserver does not support AutoCAD dwg file format. You need to convert it first to some supported format, which are listed at http://gdal.org/ogr/ogr_formats.html -Jukka Rahkonen. -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: valerio vianello

mapserver-users@lists.osgeo.org

2008-06-19 Thread Rahkonen Jukka
Lähettäjä: [EMAIL PROTECTED] puolesta: Gregor Mosheh > vendi aja wrote: >> Hi all, im kind a newb here, what i want to ask is, is there any way for >> mapserver to Access it data from GML.. sample would be much >> appreciate... thanks in advance > Sure. If it's a remote WFS server, read the "W

Re: [mapserver-users] cannot reach postgis database

2008-07-18 Thread Rahkonen Jukka
Hi, Perhaps addind "port" to PostGIS connection settings? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: orkun Lähetetty: pe 18.7.2008 13:15 Vastaanottaja: mapserver Aihe: [mapserver-users] cannot reach postgis database hello I cannot reach postgis da

Re: [mapserver-users] Shape Files.

2008-07-27 Thread Rahkonen Jukka
Hi, Yes, ogrinfo. It is included in MS4W package, or you can get it by downloading FWTools. Let's assume you have shapefile named places.shp. Then the following command should give you the information you want: ogrinfo -summary places.shp places Or then you can of course download some free GI

Re: [MAPSERVER-USERS] Display of polygon in map

2008-07-29 Thread Rahkonen Jukka
Hi, Guessing will not help you, you need to know what is the unique field in your table that should be used in DATA. What is your table structure like? You can see it from Postgres by using a comman \d , or with pgAdmin utility. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [

Re: [mapserver-users] MapServer + Database + WFS

2008-07-31 Thread Rahkonen Jukka
Hi, I have successfully created WFS layers from Oracle 9i database. I have not used that service very much, though, because for some reason ready made GIS clients had troubles in parsing the returned gml and I started to use GeoServer for WFS instead. I believe the trouble was not anything gre

Re: [mapserver-users] Output image resolution - explanation needed

2008-07-31 Thread Rahkonen Jukka
Hi, What are the dimensions of the image you have captured in real world utits? Your original aerial images have half a metre pixel size. It mean that at 300 dpi one original image pixel corresponds with one pixel at paper if square inch on your printout is presenting exactly 150 by 150 mete

Re: [mapserver-users] 5.2 Problems

2008-08-12 Thread Rahkonen Jukka
You ask for WMS and get back WFS error message, is this really your situation? -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Derek Bain Lähetetty: 12. elokuuta 2008 12:57 Vastaanottaja: mapserver-users

Re: [mapserver-users] Tiled image handling error

2008-08-12 Thread Rahkonen Jukka
Hi, A few suggestions: > TYPE LINE Should probably be TYPE RASTER > STATUS OFF STATUS DEFAULT or STATUS ON might be better alternatives If those changes will not help and you only have one tiff file to be displayed on layer "navi" then you can simplify map file a bit by leaving out

Re: [mapserver-users] WFS server error. Incomplete WFS request: SERVICEparameter missing

2008-08-13 Thread Rahkonen Jukka
Lähettäjä: [EMAIL PROTECTED] puolesta: Derek Bain > Hi > > I need some help to clear the following problem > When I try to download my map i get the following error > [Wed Aug 13 15:40:35 2008].156000 msWFSDispatch(): WFS server error. > Incomplete WFS request: SERVICE parameter missing > [W

Re: [mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing

2008-08-13 Thread Rahkonen Jukka
What happens if you remove the first & here: http://localhost:8082/cgi-bin/mapserv.exe?&SERVICE=wms ->http://localhost:8082/cgi-bin/mapserv.exe?SERVICE=wms -Jukka- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: Derek Bain Lähetetty: ke 13.8.2008 18:37 Vastaanottaja: mapserve

Re: [mapserver-users] Fwd: Newbie want to know how to create my own wmsserver

2008-08-14 Thread Rahkonen Jukka
Hi, Just save the file "testowms.exe" on your disk and open it with text editor. Most probably it is the correct xml file, but your browser just do not recognise the special mime type of it. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: u_b_i Lähetetty

Re: [mapserver-users] WMS Request issue

2008-08-15 Thread Rahkonen Jukka
Hi, File you are prompted to download is not the mapserv.exe you believe. It is xml text file and if you just download it and open it you'll see: http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";> msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS param

Re: [mapserver-users] Using space in layer's name?

2008-08-19 Thread Rahkonen Jukka
Hi, Are you using WMS?In the document "WMS servers with MapServer" http://mapserver.gis.umn.edu/docs/howto/wms_server reads: # Layer Name and wms_title metadata: Every individual layer needs its own unique name and title. Layer names are also used in GetMap and GetFeatureInfo requests to refer to

VS: [mapserver-users] How to improve raster imagery display ?

2008-09-16 Thread Rahkonen Jukka
Hi, I do not quite undertand this: > > But our main concern are the scales 2000 and 1000, where > > the displaying > > process is producing many dozens of tiles, each 256 x 256 > > pixel .png-files. > > Along with the other layers (where the vector-data also are > > d

Re: [MAPSERVER-USERS] How to use SLD with WFS

2008-09-16 Thread Rahkonen Jukka
Hi, WFS service is delivering just vectors, pure coordinates and attribute data. Styling with SLD is connected to WMS service, not WFS. In WFS the client must take care of styling. I guess that WFS client can be made to take styling instructions from SLD file, but that's another challenge. -

Re: [mapserver-users] mapserver 5 TIFF displaying problem

2008-09-17 Thread Rahkonen Jukka
Hi, Impossible to say with this information. Much better possibilities to help you if you could send also the main MAP part of your mapfile including at lesast outputformat and projection, and the metadata sections. Gdalinfo report about the image might be helpful as well. -Jukka Rahkonen-

Re: [mapserver-users] mapserver 5 TIFF displaying problem

2008-09-17 Thread Rahkonen Jukka
t;EPSG:4326" END Could it be problem that coordinate systems does not match? However, I remember it's written that Mapserver could do SRS transforming on-the-fly. On Wed, Sep 17, 2008 at 11:23 AM, Rahkonen Jukka &

Re: [mapserver-users] mapserver 5 TIFF displaying problem

2008-09-17 Thread Rahkonen Jukka
ver if you find such for your operating system - test with another image from different source -Jukka- Lähettäjä: Raivo Alla [mailto:[EMAIL PROTECTED] Lähetetty: 17. syyskuuta 2008 14:57 Vastaanottaja: Rahkonen Jukka Aihe: Re: [

Re: [mapserver-users] example symbology files - points of interest

2008-09-22 Thread Rahkonen Jukka
> Last, > As a somewhat new user, I find that the first several map files were hard to do. Does anyone know of a good tool to work with to help create mapfiles? With Quantum GIS you can style your map and store the result as MapServer mapfile. Mapfile may need a bit polishing but it is a g

Re: [mapserver-users] RE:mapserver + MS SQL

2008-09-24 Thread Rahkonen Jukka
Hi, First thing that comes into my mind is the good old STATUS ON thing. LAYER ON in mapfile means that the layer can be requested, but not that it is automatically included in a map. STATUS DEFAULT includes it automatic. Try what happens if you use: shp2img -m test.map -l ku2 -o test.png

Re: [mapserver-users] RE:mapserver + MS SQL

2008-09-24 Thread Rahkonen Jukka
Hi, >> First thing that comes into my mind is the good old STATUS ON thing. LAYER >> ON in mapfile means that the layer can be requested, but not that it is >> automatically included in a map. STATUS DEFAULT includes it automatic. Try >> what happens if you use: >> >> shp2img -m test.map -

Re: [mapserver-users] Including a title on a map?

2008-09-24 Thread Rahkonen Jukka
Perhaps you could see if this copyright layer document points to right direction? http://mapserver.gis.umn.edu/docs/faq/copyright-layer -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Robert Sanson Lähetetty:

Re: [mapserver-users] Display many Raster maps

2008-09-25 Thread Rahkonen Jukka
Hi, Read this, especially what is said about rasters and tile indexing. http://mapserver.gis.umn.edu/docs/howto/raster_data -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Puolesta ramses2k > Lähetetty: 25. syyskuuta 2008 10:30 > Kopio

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Rahkonen Jukka
Hi, Is either of your servers behind a proxy? Another thing, your connection string is not correct and I am surprised that one server is working. I suggest you to follow the instructions of document http://mapserver.gis.umn.edu/docs/howto/wms_client. Your connection is of very old format and

Re: [mapserver-users] WMS don't load

2008-10-01 Thread Rahkonen Jukka
Hi, All I can say now is that your attached mapfile works on my computer (Vista, ms4w with MapServer version 5.0.2). -Jukka- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Lähetetty: ke 1.10.2008 16:11 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users

Re: [mapserver-users] Re:aaigrid display problem

2008-10-02 Thread Rahkonen Jukka
Hi, I am rather sure that everything is OK and warning you get means just what it tells: there is some tiff tag not recognised by tiffinfo. -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta [EMAIL PROTECTED] Lä

Re: [mapserver-users] WMS don't load

2008-10-08 Thread Rahkonen Jukka
Hi, Are you behind a proxy server? If you are you must add proxy settings to Apache. You can check the situation from your browser network settings. If it is using direct connection to internet then you must have some other issue. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [E

Re: [mapserver-users] Map is OK with shp2img but blank with CGI

2008-10-16 Thread Rahkonen Jukka
Hi, It would be a great help if you could send the whole mapfile, otherwise we must be guessing. Still, here is my guess that is not related to mapfile but to where it is. Your mapfile is now in d: root directory. It may well be that Apache does not have a permission to use that. Move your map

Re: [mapserver-users] STREET LABEL WON'T FOLLOW THE STREET

2008-10-17 Thread Rahkonen Jukka
Hi, What do you mean by "instead"? Really that texts do not follow the streets at all, or that they do follow the line, but just a few labels are shown on a map? Label disappearing must be due to collision handling mechanism. See what happens if you add FORCE TRUE to label definitions, that sho

Re: [mapserver-users] Access control for wms served from mapserver cgi

2008-10-20 Thread Rahkonen Jukka
Hi, If it is easy to limit access to mapserv executable, then how about making a few copies of the executable and tie each copy to its own mapfile in httpd.conf? SetEnvIf Request_URI "/cgi-bin/wms1.exe?" MS_MAPFILE=d:/ms4w/apps/wms1.map SetEnvIf Request_URI "/cgi-bin/wms2.exe?" MS_MAPFILE=d:/ms4

[mapserver-users] Is using ECW format allowed or not?

2008-10-20 Thread Rahkonen Jukka
Hi, I know that I can use ECW format with MapServer both as input and output. What I cannot figure out is if I am allowed to do so. Reading the document "ECW/JP2 CODEC SDK End-User License Agreement" that I found from the still existing ER Mapper download page does not help me a bit. We can create

Re: [mapserver-users] Is using ECW format allowed or not?

2008-10-20 Thread Rahkonen Jukka
Gregor Mosheh wrote: >> 1. Can we use our compressed ECW images as input for MapServer WMS? >> 2. Can we use ECW as an output format for MapServer WCS? > The license agreement says that the ECW SDK cannot be used "on a server" > then goes on to define that as a computer connected to the Interne

[mapserver-users] Should "EXTENT_PRIORITY=WORLDFILE" work now?

2008-10-21 Thread Rahkonen Jukka
Hi, Frank Warmerdam wrote in February 2008: > In have encorporated an undocumented raster layer processing > option called EXTENT_PRIORITY in trunk. Set the value to WORLDFILE > to use world files in priority to internal information. > eg. >PROCESSING "EXTENT_PRIORITY=WORLDFILE" > This wil

Re: [mapserver-users] Should "EXTENT_PRIORITY=WORLDFILE" work now?

2008-10-24 Thread Rahkonen Jukka
Frank Warmerdam wrote: > Lähetetty: 21. lokakuuta 2008 17:34 > Rahkonen Jukka wrote: > > Hi, > > > > Frank Warmerdam wrote in February 2008: > > > >> In have encorporated an undocumented raster layer > processing option > >> called EXTENT_P

VS: [mapserver-users] projection = geographer's pain

2008-10-27 Thread Rahkonen Jukka
Hi, Have you double-checked that your map extent correspods with the map projection? Or if you could send your whole mapfile I am pretty sure that you will get a final answer to your problem. -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: [EMAIL PROTECTED] > [mailto:[EMAIL PROTE

Re: [mapserver-users] projection = geographer's pain

2008-10-27 Thread Rahkonen Jukka
find the whole test-case files as attachement. > > Here's the command line to get the map : > C:\ms4w\tools\mapserv\shp2img -m > C:\ms4w\apps\gmap\htdocs\test.map -o test.png -l layer1 -i agga > > Thanks > > Clément > > > -Message d'or

Re: [mapserver-users] install ms4w

2008-11-01 Thread Rahkonen Jukka
Hi, My recommendation is to go on with the easiest way, which for my mind is MS4W. Just make Apache run, it is for sure possible. Possible reasons for Apache not starting with "apache-install.bat" include: - port 80 is reserved for some other service solution: edit C:\ms4w\Apache\conf}httpd.co

Re: [MAPSERVER-USERS] installation error

2008-11-04 Thread Rahkonen Jukka
Hi, Did unzip otherwise go as supposed, so that c:\ms4w directory was created and some files got extracted there? Some wild guesses: You have a managered computer and you do not have enough right for the file system; security settings or antivirus software denies installation of web server; zi

Re: [MAPSERVER-USERS] ms4w installation

2008-11-06 Thread Rahkonen Jukka
Hi, This is the apache-uninstall.bat file: @ECHO OFF REM This installs and starts the apache service cd Apache\bin httpd -k install -n "Apache MS4W Web Server" net start "Apache MS4W Web Server" cd ..\.. :ALL_DONE You can follow it manually for investigating what happens. Open the Windows

Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-18 Thread Rahkonen Jukka
Hi, Have you checked that the SQL statement SELECT ID, GEOM FROM STATES WHERE SDO_FILTER( GEOM, MDSYS.SDO_GEOM(2003, 90112, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO _ORDINATE_ARRAY(-179,-89.517,179,83.517) ),'querytype=window') = 'TRUE' works from SQL*Plus or something else that

Re: [mapserver-users] ms4w (fastcgi) and oracle 10?

2008-11-19 Thread Rahkonen Jukka
:21 > Vastaanottaja: mapserver-users@lists.osgeo.org > Kopio: Rahkonen Jukka; Richard Polk; Smith,Michael > ERDC-CRREL-NH; Jeff McKenna > Aihe: Re: [mapserver-users] ms4w (fastcgi) and oracle 10? > > sql*plus returns this error: > ORA-06553: PLS-221: 'SDO_GEOM' is not a p

Re: [mapserver-users] Create a file "GML" from a layer of type"annotation".

2008-11-20 Thread Rahkonen Jukka
Hi, I guess that annotation layers are not supported for this use and you should somehow create a point type layer that acts like the annotation layer. There needs only be two colums in the schema, geometry and name. I don't know it could be done, but have you tried just to change the layer ty

Re: [mapserver-users] install issues

2008-11-22 Thread Rahkonen Jukka
Hi, First thing to do is to call "mapserv" cgi-bin program. Then the program is searching for a "mapfile" that is given by "map" parameter in the request. And finalle the mapfile is interpreted for making the final map image. Mapfile has all the instruction about where to find the data and wh

Re: [mapserver-users] help with converting Geoserver site to Mapserver

2008-12-09 Thread Rahkonen Jukka
Hi, You should know by now that it is possible and easy to make a MapServer WMS service to deliver the same data that is now behind GeoServer WMS. That is for sure true. What I do not understand is why your organization thinks it is necessary. If your application is using just GeoServer WMS

[mapserver-users] How to make MapServer WMS super fast?

2008-12-12 Thread Rahkonen Jukka
Hi, Are there any effective tricks for making MapServer to Top-Fuel class? We have now a typical ms4w installation on a rather good server platform with SCSI drives and 2 four-core processors running on Windows 2003 server. Our images are tiled, uncompressed geotiffs with overviews, vector sample

Re: [mapserver-users] How to make MapServer WMS super fast?

2008-12-12 Thread Rahkonen Jukka
that is said to be fast :) -Jukka- > -Alkuperäinen viesti- > Lähettäjä: Frank Warmerdam [mailto:warmer...@pobox.com] > Lähetetty: 12. joulukuuta 2008 17:30 > Vastaanottaja: Rahkonen Jukka > Kopio: mapserver-users@lists.osgeo.org > Aihe: Re: [mapserver-users] How to m

Re: [mapserver-users] How to make MapServer WMS super fast?

2008-12-12 Thread Rahkonen Jukka
Vastaanottaja: Rahkonen Jukka; mapserver-users@lists.osgeo.org Aihe: RE: [mapserver-users] How to make MapServer WMS super fast? Try using Fast CGI, it should improve your latency problem you are seeing. It is also possible that using other raster formats

Re: RE : [mapserver-users] How to make MapServer WMS super fast?

2008-12-12 Thread Rahkonen Jukka
fied url with "fcti-bin" which is the alias you > > added to your httpd.conf file at 5b). > > Special thanks to Jeff McKenna and Daniel Morissette who helped me a lot > > with this. > > > > > > > > __ >

Re: [mapserver-users] wfs data conversion with ogr2ogr?

2008-12-15 Thread Rahkonen Jukka
Hi, For me it looks like that gml does not contain actual feature coordinates, but the bounding box of the feature. In this case feature is probably a point and feature coordinates and bbox are the same but perhaps a point should be introduced as a point as well? just thinking, I do not unders

Re: [mapserver-users] Blank image after map request

2008-12-16 Thread Rahkonen Jukka
Hi, Try first what happens if you set STATUS DEFAULT in your layer "mosaico" definitions. It that does not help then tell us how your request looks like. -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-bou

  1   2   3   4   5   6   7   8   9   10   >