Re: [mapserver-users] MapFile viewer

2012-12-15 Thread Ivan Mincik
ple? (note that > you could include screengrabs or anything you want on that new page) Done. https://github.com/mapserver/mapserver/wiki/MapFile-viewers I will call it as 'Mapfile developer script' to not get confused with built-in MapServer viewer. More te

Re: [mapserver-users] MapFile viewer

2012-12-14 Thread Ivan Mincik
kind of approach ? Is it worth to continue in work ? -- Ivan Mincik ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] MapFile viewer

2012-12-14 Thread Ivan Mincik
her parameters line EXTENT. It creates possibility to work with many projects with the same base mapfile. I will add other overriding options. 6. Or maybe No advantage at all -- Ivan Mincik ___ mapserver-users mailing list mapserver-users@lists.os

Re: [mapserver-users] Mapfile verification tool

2012-05-15 Thread Ivan Mincik
I mean something like this: import sys import mapscript try: m = mapscript.mapObj(sys.argv[1]) print 'VALID (%s layers found)' % m.numlayers except: print 'INVALID' I did some tests and it seems working. Even it outputs detailed parsing error message (for example: loadP

Re: [mapserver-users] Mapfile verification tool

2012-05-15 Thread Ivan Mincik
rom test script. If some error will raised - mapfile is invalid, with no other information where otherwise mapfile is OK. -- Ivan Mincik ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapfile verification tool

2012-05-15 Thread Ivan Mincik
rror would be found some exception will be raised ? -- Ivan Mincik ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] GetLegendGraphic request using mapscript.OWSRequest()

2012-05-13 Thread Ivan Mincik
Hi, is it possible to run GetLegendGraphic request using mapscript.OWSRequest() ? I use following code: wms = mapscript.mapObj(mapfile) req = mapscript.OWSRequest() for k,v in qs.items(): req.setParameter(k, v) wms.loadOWSParameters(req) wms.

Re: [mapserver-users] Why is LAYERS parameter required in GetFeatureInfo

2011-05-05 Thread Ivan Mincik
t generated the original > map are repeated. Two are omitted because GetFeatureInfo provides its own > values: VERSION and REQUEST. The remainder of the GetMap request shall be > embedded contiguously in the GetFeatureInfo request. Thanks a lot Bart, I missed that. - -- Ivan Mincik,

[mapserver-users] Why is LAYERS parameter required in GetFeatureInfo

2011-05-05 Thread Ivan Mincik
5.6.6. Without LAYERS parameter I get: msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS parameter. Thanks - -- Ivan Mincik, Gista s.r.o. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozde

Re: [mapserver-users] Looking for mobile WebMapping-Applications

2011-02-17 Thread Ivan Mincik
On Thu, Feb 17, 2011 at 3:21 PM, Kai Behncke wrote: > Dear users, > > for a dissertation and an article I´m looking for mobile > WebMapping-applications > (means: WebMapping/WebGIS-Applications that work ob mobile handheld devices > (e.g. PDAs, Smartphones)). > > Does anyone know such an applica

[mapserver-users] Typo on Mapserver homepage

2011-01-17 Thread Ivan Mincik
Hi, there is a typo in Announcements paragraph (version 5.6.5). "MapServer 5.6.3 has been released " should be "MapServer 5.6.5 has been released ..." Ivan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailma

[mapserver-users] Is "--with-experimental-png" still experimental ?

2011-01-17 Thread Ivan Mincik
On Mon, Jan 17, 2011 at 1:09 PM, thomas bonfort wrote: > Ivan, > for the 5.x branches, it will stay like that. > for the 6.0 and subsequent releases, the flag is removed and the > functionality is native. Thanks a lot for answer. Ivan ___ mapserver-use

[mapserver-users] Is "--with-experimental-png" still experimental ?

2011-01-17 Thread Ivan Mincik
Hi, I am using compile option "--with-experimental-png" for some 2 Years on all production machines to produce nice quantized PNG images. I would like to ask, if this option should be still marked as experimental ? My setting: 1. Debian Lenny 2. Mapserver 5.2 - 5.6 3. Mapfile IMAGETYPE '

Re: [mapserver-users] White lines when reprojecting aerial photo

2010-12-21 Thread Ivan Mincik
> > Also, this will slow it down but in the raster layer > > PROCESSING "RESAMPLE=BICUBIC" rather than default NEAREST is effective > especially for hi-rez data. Thanks a lot Mark, I totally forgot on resampling methods. I have tried BICUBIC which doesn't work, but BILINEAR is working fine. Ivan

[mapserver-users] White lines when reprojecting aerial photo

2010-12-19 Thread Ivan Mincik
Hi, we are trying to provide aerial photo images in multiple projections using on-the-fly reprojection in JPEG format. When reprojecting layer from our country's local projection to Google Mercator, thin white lines appearing through the whole image (see http://gista.sk/home/ivo/dl/white_lines.jpeg

Re: [mapserver-users] PNG Optimization

2010-12-16 Thread Ivan Mincik
2010/12/10 Cédric MOULLET : > Hi, > We are using MapServer to generate tiles and the following ouptut format is > used: > > OUTPUTFORMAT >  NAME "pnga" >  MIMETYPE "image/pnga" >  DRIVER "AGG/PNG" >  EXTENSION "png" >  IMAGEMODE "RGBA" >  TRANSPARENT TRUE >  FORMATOPTION "INTERLACE=OFF" > END > > W

Re: [mapserver-users] mapserver.org down ?

2010-10-18 Thread Ivan Mincik
On 10/18/2010 01:04 PM, christopher.schm...@nokia.com wrote: On Oct 18, 2010, at 5:23 AM, ext Ivan Mincik wrote: Could not get 'http://mapserver.org/'. Is it down ? The MapServer site was temporarily unavailable. I've resolved the situation, and the website appears to be worki

[mapserver-users] mapserver.org down ?

2010-10-18 Thread Ivan Mincik
Could not get 'http://mapserver.org/'. Is it down ? -- Ivan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Shell-script to compile MapServer in a user directory tree

2010-10-08 Thread Ivan Mincik
On Fri, Oct 8, 2010 at 8:56 PM, Jan Hartmann wrote: > Hi all, > > The last few months I have been working in a Cloud environment with lots of > virtual machines, all with MapServer, PostGIS and PL/R. I couldn't work with > binaries, since different sites needed different configurations. It's not >

Re: [mapserver-users] Mapserver 5.6.3 on Linux 64 bits

2010-06-28 Thread Ivan Mincik
On Mon, Jun 28, 2010 at 4:52 PM, Ricardo Vilella wrote: > Hi I have a simple question, can compile MapServer 5.6.3 on Debian Lenny > 64-bit? Look in the documentation but did not specify if possible. Yes, no problem. You can also download source package from Debian Testing and compile to DEB pac

Re: [mapserver-users] Same name for GROUP and layer NAME ?

2010-04-06 Thread Ivan Mincik
On Tue, Apr 6, 2010 at 1:25 PM, Cristiano Sumariva wrote: > I checked a little more about WMS. > Layer group stuff is optional. > That is why you do not see any group info on XML. > So no problem in using a group name with same name as layer. > > The Layer tag start the description of layers set.

Re: [mapserver-users] Same name for GROUP and layer NAME ?

2010-04-01 Thread Ivan Mincik
On Thu, Apr 1, 2010 at 3:09 PM, Cristiano Sumariva wrote: > Unfortunely I dont use WMS services yet. > But looks like invalid generated XML if Name is nested inside Name. > On this case I suggest filling a bug request. > > Since they are separate attributes they should not generate the same XML >

Re: [mapserver-users] Same name for GROUP and layer NAME ?

2010-04-01 Thread Ivan Mincik
lay nested in another mylay, so I am not sure if this is valid. I don't see any error, but something in my mind tells me, that it is not the best idea. But, in fact I need this behavior to solve some specific task. Ivan > > 2010/4/1 Ivan Mincik > > > Hi, > > is it O

[mapserver-users] Same name for GROUP and layer NAME ?

2010-03-31 Thread Ivan Mincik
Hi, is it OK to have same layer NAME and GROUP in one mapfile, like in this example (mylay) ? LAYER CONNECTIONTYPE postgis STATUS ON NAME 'mylay' GROUP 'mylay' TYPE LINE LAYER CONNECTIONTYPE postgis STATUS ON NAME 'mylay2' GROUP 'mylay'

[mapserver-users] Changing OUTPUTFORMAT via CGI URL

2010-03-02 Thread Ivan Mincik
Dear Mapserver users, Is it possible to change OUTPUTFORMAT parameters via CGI URL ? I have this OUTPUTFORMAT definition: OUTPUTFORMAT NAME "PNGQ" DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGBA FORMATOPTIO

[mapserver-users] Re: mapserver documentation: unique gid using srid=x ?

2010-02-08 Thread Ivan Mincik
>Hi, >according Mapserver docs: http://mapserver.org/input/vector/postgis.html there >is different syntax of using "USING >UNIQUE gid USING SRID=x" string in DATA line in similar cases. >In simple case example: >DATA "the_geom from the_database USING unique gid using srid=4326" >In case of usi

[mapserver-users] mapserver documentation: unique gid using srid=x ?

2010-01-29 Thread Ivan Mincik
Hi, according Mapserver docs: http://mapserver.org/input/vector/postgis.html there is different syntax of using "USING UNIQUE gid USING SRID=x" string in DATA line in similar cases. In simple case example: DATA "the_geom from the_database USING unique gid using srid=4326" In case of using a SQ

Re: [mapserver-users] python mapscript - FORMATOPTION

2009-10-13 Thread Ivan Mincik
s working, but I am sure, I was also trying something similar too. :) > > regards > > Guillaume > > Le mardi 13 octobre 2009 à 23:54 +0200, Ivan Mincik a écrit : >> Dear all, >> I am trying to set "FORMATOPTION "QUANTIZE_FORCE=ON" option using >> python

[mapserver-users] python mapscript - FORMATOPTION

2009-10-13 Thread Ivan Mincik
Dear all, I am trying to set "FORMATOPTION "QUANTIZE_FORCE=ON" option using python mapscript. I can successfully use this code snippet to write OUTPUTFORMAT in to my mapfile: of = mapscript.outputFormatObj("AGG/PNG","PNG_AGGAQ") of.name = "PNG_AGGAQ"

Re: [mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread Ivan Mincik
7;t usefull, as it corresponds > to 0,0,0,0 , thus eating up a entry in your generated palette (and > palette entries in rgba mode are very expensive :) ) > > -- > Thomas Bonfort > CampToCamp > > On Thu, Mar 5, 2009 at 10:29, Ivan Mincik wrote: > > I am not sure if

[mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread Ivan Mincik
I am not sure if is it possible to reduce AGG PNG image to 8bit by "PALETTE_FORCE=TRUE" option and keep transparent background. I went through all posts about this issue and it is not clear for me if I still need to compile mapserver with "--with-experimental-png" switch or it is currently not p

Re: [mapserver-users] Mapserver WMS client without SERVICE parameter

2009-01-20 Thread Ivan Mincik
Thanks a lot. I thought it is a feature :). I will upgrade as suggested. Ivan On Tuesday 20 January 2009, you wrote: > On Tue, Jan 20, 2009 at 05:13:25PM +0100, Ivan Mincik wrote: > > Dear users, > > We want to use Manifold GIS to connect to UMN Mapserver WMS server. >

[mapserver-users] Mapserver WMS client without SERVICE parameter

2009-01-20 Thread Ivan Mincik
Dear users, We want to use Manifold GIS to connect to UMN Mapserver WMS server. Manifold request doesn't contain "SERVICE " parameter. (It should be a bug on the Manifold side. It was already submitted. No response since now .) If mapserver will receive request without SERVICE parameter, it wil

[mapserver-users] Mapserver legend is never transparent

2008-11-23 Thread Ivan Mincik
I have a problem that mapserver legend is never transparent even when using php-mapscript or querying WMS layer. Tested at few of mapserver 5.x.x versions. I have TRANSPARENT ON set in OUTPUTFORMAT. OS: Debian Etch Is this only my case ? Thanks. Ivan _

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-15 Thread Ivan Mincik
I have similar problem. On Wednesday 15 October 2008 09:47, BrainDrain wrote: > > I've tried this package > it looks promising: > but mapserv is unworking (maybe because I temporary mixed package with my > bin files): problems with loading dll dependences (libmap, fastcgi etc) > anyway mapscript

[mapserver-users] mapmssql2008.c

2008-09-30 Thread Ivan Mincik
I would like to ask, what is the main reason why new mapmssql2008.c is not possible to compile and use on Linux ??? Is it any chance to modify the code to use this PLUGIN in Linux ? Ivan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org ht

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

2008-09-24 Thread Ivan Mincik
cluded in a map. STATUS DEFAULT includes it automatic. Try > what happens if you use: > > shp2img -m test.map -l ku2 -o test.png > > Alternatively, change LAYER DEFAULT and use the old command. > > -Jukka Rahkonen- > > > -Alkuperäinen viesti----- > Lä

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

2008-09-24 Thread Ivan Mincik
On Wednesday 24 September 2008 18:56, you wrote: > 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. > >

[mapserver-users] RE:mapserver + MS SQL

2008-09-24 Thread Ivan Mincik
gt; -Jukka Rahkonen- > > > -Alkuperäinen viesti----- > Lähettäjä: [EMAIL PROTECTED] puolesta: Ivan Mincik > Lähetetty: ke 24.9.2008 19:09 > Vastaanottaja: mapserver-users@lists.osgeo.org > Aihe: [mapserver-users] RE:mapserver + MS SQL > > I have started testing OGR OD

[mapserver-users] RE:mapserver + MS SQL

2008-09-24 Thread Ivan Mincik
I have started testing OGR ODBC connection from linux to MS SQL on win. There is polygon layer at MS SQL. *** I have configured ovf file: ODBC:test/[EMAIL PROTECTED] wkbPolygon select geom from ku2 *** With ogrinfo -ro -al test.ovf I get: OGRFeature(k

[mapserver-users] mapserver + MS SQL

2008-09-23 Thread Ivan Mincik
Hi list, At first, I would like to say that I am not a fan in replacing perfect PostGIS database to MS SQL, but I must to adapt to customer's needs. I would like to ask if somebody has experience with loading data to mapserver from MS SQL Spatial 2008. Now, in 5.2 there is possibility to use new

[mapserver-users] postgis - idle in transaction

2008-05-19 Thread Ivan Mincik
Hi, I have started using p.mapper WebGIS client with PROCESSING "CLOSE_CONNECTION=DEFER" parameter for all postgis layers. (using the latest version of mapserver 5.0.x and patch for the issue with CLOSE_CONNECTION=DEFER). In htop I see lot of connections "postgres: user database 127.0.0.1(47132

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-04-25 Thread Ivan Mincik
ac.osgeo.org/mapserver/ticket/2497 , which further cleans up > the code (but doesn't add any new enhancements). If you get a chance > to test it and find any problems, let me know (and CC the > mapserver-users list on reply). > > Thanks, > > Dave > > On Sat, Mar 22, 200

Re: [mapserver-users] tile server

2008-03-25 Thread Ivan Mincik
Hi Milo, I don't know the solution, but I will be very interested how to do it. So, if You find solution yourself, please, paste it to the mailinglist. Ivan On Tuesday 25 March 2008 07:32, Milo van der Linden wrote: > Hello list, > > a little while ago I read somewhere that it is possible to c

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-22 Thread Ivan Mincik
te.diff you're currently using, `svn revert > mappostgis.c`, and try it with the new patch. > >Sorry that was not clear. > > Thanks, > > Dave > > On Fri, Mar 21, 2008 at 4:59 AM, Ivan Mincik <[EMAIL PROTECTED]> wrote: > > On Thursday 20 March 2008 23:46,

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-22 Thread Ivan Mincik
it differs from the > ms_postgis_fix_trans_state.diff you're currently using, `svn revert > mappostgis.c`, and try it with the new patch. > >Sorry that was not clear. > > Thanks, > > Dave > > On Fri, Mar 21, 2008 at 4:59 AM, Ivan Mincik <[EMAIL PROTECTED]> wrote

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-21 Thread Ivan Mincik
On Thursday 20 March 2008 23:46, you wrote: > Ivan, > >Try the new version of the patch, just posted. I had accidentally > removed a necessary query in msPOSTGISLayerGetShape. My tests which > now include getShape() are working (with or without PROCESSING > "CLOSE_CONNECTION=DEFER"). Hi Dave,

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-20 Thread Ivan Mincik
I want to add to my report about a testing ms_postgis_fix_trans_state.diff with p.mapper that {map,layer}Obj_queryBy{Point,Rect,etc.} function is not working also when #PROCESSING "CLOSE_CONNECTION=DEFER" is disabled. So identify object is not working at all. Ivan On Wednesday 19 March 2008

Re: Fwd: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-20 Thread Ivan Mincik
I have applied new patch ms_postgis_fix_trans_state.diff to mapserver-5.0.2 sources from debian unstable and recompiled. Then I have: 1. restarted apache 2. restarted postgresql-8.1 3. restarted browser (deleted cache) And started this test with p.mapper 3.2 application: 1. Browsing the map (mo

Re: [MAPSERVER-USERS] Fwd: CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-18 Thread Ivan Mincik
Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation > > fault To: Ivan Mincik <[EMAIL PROTECTED]> > > > > <...> > > > > So essentially, the patch should be modified to remove the ROLLBACKs > > from msPOSTGISLayerGetShape() in a safe way. &g

Re: Fwd: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-17 Thread Ivan Mincik
at 6:33 PM > Subject: Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault > To: Ivan Mincik <[EMAIL PROTECTED]> > > > Ivan, > >Ah, that does help. It looks like the error: > > ERROR: DECLARE CURSOR may only be used in transaction blocks >

[mapserver-users] cannot compile --with-fastcgi

2008-03-10 Thread Ivan Mincik
I am want to compile latest mapserver sources (latest stable and also nigthly builds) with option "--with-fastcgi=/usr " I allways get error: "configure: error: Unable to link against -L/usr/lib -lfcgi" I have tried also --with-fastcgi=/usr/lib and so on. Files related to fcgi module are here:

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-05 Thread Ivan Mincik
Nothing is perfect. There are no problems with applied patch when browsing the map. But when I use identify object query from php5-mapscript the problem is rising again. I have in postgresql log: 2008-03-05 13:19:30 CET WARNING: there is no transaction in progress 2008-03-05 13:19:30 CET ERRO

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-04 Thread Ivan Mincik
Thanks, after applying the patch there are no errors in the log. Ivan On Monday 03 March 2008 22:52, rich.fromm wrote: > hrach wrote: > > thanks a lot, I am just compiling Mapserver 5.0.3 and ready to try > > upgrade. > > you probably mean 5.0.2. afaik, 5.0.3 hasn't been released yet. > > which m

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-03 Thread Ivan Mincik
yes 5.0.2 hm, after some short test there are no errors thanks a lot On Monday 03 March 2008 22:52, rich.fromm wrote: > hrach wrote: > > thanks a lot, I am just compiling Mapserver 5.0.3 and ready to try > > upgrade. > > you probably mean 5.0.2. afaik, 5.0.3 hasn't been released yet. > > which

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-03 Thread Ivan Mincik
thanks a lot, I am just compiling Mapserver 5.0.3 and ready to try upgrade. Ivan On Monday 03 March 2008 21:53, rich.fromm wrote: > hrach wrote: > > I use mapserver 4.10.3, postgresql 8.1, Debian Etch. > > > > Is anybody using CLOSE_CONNECTION=DEFER without any problems ? > > I am now using it f

[mapserver-users] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-02 Thread Ivan Mincik
Dear users, I use mapserver 4.10.3, postgresql 8.1, Debian Etch. When I use CLOSE_CONNECTION=DEFER in postgis layer a get from time to time Segmentation fault error. Application is frozen for some time. Tested on various postgis versions. I found something here: http://trac.osgeo.org/mapserver/t