[mapserver-users] php mapscript setFilter and signal Segmentation fault (11)

2014-02-13 Thread Vladimir
Hello All. Please help me to understand what's wrong. php mapscript version 6.4.1 request url: localhost/script.php?LAYERS=roads&SRS=EPSG%3A3857&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&BBOX=8562963.8568664,5347815.0968664,8567741.1711336,5352592.4111336&WIDTH=500&HEIGHT=500

Re: [mapserver-users] php mapscript setFilter and signal Segmentation fault (11)

2014-02-14 Thread Vladimir
quot;); $map->setMetaData("wms_encoding","utf-8"); ... and result of  first call $map->setMetaData  is "ignal Segmentation fault (11)" immediately as in my post above Configuration: openSuse 13.1 Mapserver 6.4.1 php 5.4.3 Many Thanks. Четверг, 13 февраля 2014, 1

Re: [mapserver-users] RESOLVED php mapscript setFilter and signal Segmentation fault (11)

2014-02-17 Thread Vladimir
Hello All. Apparently the mix of distros caused the segfault error. I installed Mapscript from openSuse repository instead Mapserver from official site. Пятница, 14 февраля 2014, 14:33 +04:00 от Vladimir : >Hello dear developers. >Please could you give some direction for decision se

[mapserver-users] Styling labels in SLD

2014-06-10 Thread Vladimir
Hello All There is full control of labels in mapfile, but TextSymbolizer offers simple facilities for styling them. Is it possible to define MAXSCALEDENOM, MINSCALEDENOM, MINSIZE, MAXSIZE, REPEATDISTANCE, MINDISTANCE, BUFFER parameters for labels in SLD document? Best regards

[mapserver-users] Why $map->scaledenom returns -1 ?

2014-06-15 Thread Vladimir
Hello list I stuck on the scaledenom definition in my PHPMapScript v. 6.4.1. The current scaledenom  required to embed in SQL-statement, but    $map->scaledenom returns -1. Tons of googling got nothing. Please help!  phpscript.php

Re: [mapserver-users] Why $map->scaledenom returns -1 ?

2014-06-17 Thread Vladimir
orks for me, but I am not sure that is standard method. Can this be used? Best regards Vladimir 16  2014, 15:43 UTC от "Lime, Steve D (MNIT)" : >Scale can only be computed if there is a map extent and map size set. Are you >doing so? >  >Steve >  >From: mapserver-u

Re: [mapserver-users] Why $map->scaledenom returns -1 ?

2014-06-19 Thread Vladimir
ight); $map->setExtent($minX,$minY,$maxX,$maxY); $map->preparequery(); $scale=$map->scaledenom; } Can't understand what's wrong. Any idea ? Best regards Vladimir Tue, 17 Jun 2014 14:29:53 + от "Lime, Steve D (MNIT)" : >This is a WMS request? I’d

Re: [mapserver-users] Mapcache Question

2014-10-10 Thread Vladimir
Hello ALL! I dig into MapCache now and my modest comprehension is: 1) MapCache uses Mapserv for seeding tiles or more exactly - sends WMS request to Mapserv for getting a map: section in a mapcache.xml file 2) Ol uses MapCache for rendering that tiles or more exactly - sends WMS(or other) r

[mapserver-users] MapCache: substitution in GetMap

2014-11-28 Thread Vladimir
Hi All! I have getMap request to MapCache from OL3 with additional dynamic ZOOM parameter. http://myhost/mapcache/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=test&WIDTH=384&HEIGHT=384&CRS=EPSG%3A3857&STYLES=&MAP_RESOLUTION=135&BBOX=8520588.417005166%2C53

Re: [mapserver-users] MapCache: substitution in GetMap

2014-12-11 Thread Vladimir
leset level. It will be >validated in incoming requests and propagated to the WMS server. > >-- >thomas > >On 28 November 2014 at 13:31, Vladimir < f...@inbox.ru > wrote: >> Hi All! >> >> I have getMap request to MapCache from OL3 with additional dynamic ZOOM >&g

[mapserver-users] the lines one above other

2015-02-12 Thread Vladimir
Hello All! The task is to show multilevel junction of highway. The lines should be at the same layer and has the same style, for example see orange lines on attached pic: [img]http://s14.postimg.org/yk40e0nq9/crossroad.jpg[/img] Is it possible to draw the lines one above other by an one layer? M

Re: [mapserver-users] the lines one above other

2015-02-12 Thread Vladimir
Lars. Thank you very much for response. Please see the pics. What I have: http://s14.postimg.org/yk40e0nq9/crossroad.jpg What I need: http://s14.postimg.org/yk40e0nq9/crossroad.jpg The problem is the orange roads lies in a one layer because they are identical features(has the same type). It is do

Re: [mapserver-users] the lines one above other

2015-02-12 Thread Vladimir
Andreas. Thanks for response too. I use phpmapscript and postgis. How can I use "order by"  for this purpose? Sorry. I have some correction: What I have:  http://s18.postimg.org/vkvb8jprd/crossroad1.jpg What I need:  http://s14.postimg.org/yk40e0nq9/crossroad.jpg _

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
Bobb Thanks you very much for detailed answer. I'll have to place the parts of lines in various layers. There is no other elegant decision as i understood, but I wonder how "web-map-giants" like GOOGLE or OSM get out of this scrape. >Vladimir, >  >I’ve faked this in the

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
Lars,  Thanx in any event for devoting your attention. >Vladimir, > >I see, so you do not need the order of the LAYERS but the order of the FEATURES. I did not understand that correctly at first, sorry. In that case, I guess Andreas approach would be the one. > &

Re: [mapserver-users] the lines one above other

2015-02-13 Thread Vladimir
There is question about placing the parts of lines in various layers. I added the small part of line above the highway with linecap=butt for "stops the line exactly at the end" as described in http://mapserver.org/mapfile/symbology/construction.html#linecap. But butts of the line has some thin bo

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread Vladimir
I would draw your attention to the source of this discussion. http://osgeo-org.1560.x6.nabble.com/the-lines-one-above-other-td5187093.html It seems I found how to display multilevel junction of highway with "ORDER BY" in the case using a one layer. Adding "order by id desc" or "order by id asc"

Re: [mapserver-users] [EXTERNAL] Re: the lines one above other

2015-02-13 Thread Vladimir
Sorry, I have some correction, it is right illustrations: Result when order by asc: http://s28.postimg.org/lqs8nxw31/asc.jpg Result when order by desc: http://s12.postimg.org/xondilekt/desc.jpg ___ mapserver-users mailing list mapserver-users@lists.osg

[mapserver-users] with of line

2015-05-14 Thread Vladimir
Hi All! I am trying to get a thick line on my map, for example: $style->set('width',50) or $style->set('width',70); but it seems always = 32. PHP MapScript 6.4.1 "UNITS METERS" in maplile. Is it possible to set width of line more? Thanx ___ mapserver-u

Re: [mapserver-users] [SOLVED] width of line

2015-05-14 Thread Vladimir
I've found how to solve this. $style->set('maxwidth',100); - overrides default value 32 $style->set('width',100); - sets necessary value http://osgeo-org.1560.x6.nabble.com/Maximum-width-of-line-setting-is-ignored-td4232197.html Thanx to Thomas  >Hi All! >I am trying to get a thick line on my m

[mapserver-users] Where is a Mapserver v 6.4.1 documentation?

2015-07-09 Thread Vladimir
Hi all! I've searched through the whole site mapserver.org, but can't find Mapserver/PHP MapScript v 6.4.1 documentation. The page http://mapserver.org/download.html#docspreviousreleases doesn't contain 6.4.1 docs. Where else should I look for? Thanx__

Re: [mapserver-users] map server (map script mode) zoom in and zoom out like google zooming

2015-07-09 Thread Vladimir
Hi  Ankur, Why don' t you use client-side interaction? For example Openlayers has this ability out-of-box. >Dear All,  > > Kindly help me out, for improving my map server(map script ) Zoom In & Zoom >Out , work as similar to google zooming .. > >thanks in advance > >-- >thanks & regards >Ankur

Re: [mapserver-users] map server (map script mode) zoom in and zoom out like google zooming

2015-07-10 Thread Vladimir
Ankur,  i am not familiar with ms4w, but it seems the principle is general. First you need to configure WMS service, then to request it from client-side. Example for a line data in Postgis, PHP Mapscript 6.4.1 and OpenLayers 3:  yourMapFile.map -- MAP NAME "youMapName" STATUS ON UNITS ME

[mapserver-users] PhpMapScript 7.0: Property 'type' does not exist in this object

2015-10-01 Thread Vladimir
I try to set a label font using: $label->set('type', MS_TRUETYPE); $label->set('font', 'arial'); but get MapScriptException: Property 'type' does not exist in this object using. Moreover, the labeling works well without these two strings.  The docs contain the reference to 'type' member of labelOb

Re: [mapserver-users] MapCache resolution

2017-01-22 Thread Vladimir
Hi! I didn't found a rule and took the resolutions that my client(OpenLayers 3) sends in its request. So grid section looks like:    8238077.16046298 5283327.39507164 9001224.45086216 5792092.25533779     EPSG:3857     EPSG:900913     m     256 256       76.437

[mapserver-users] Bad appearance of dual line

2017-01-26 Thread Vladimir
Hi all! I use MapServer v 7.0.0 OUTPUTFORMAT NAME "AGG" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "GAMMA=0.75" FORMATOPTION "COMPRESSION=9" END There is very bad appearance of dual lines(carriageways) at a big scale while single line is good, pl

[mapserver-users] What is the best way to generate WMS?

2018-09-21 Thread Vladimir
Hi list, There are several tables with a lot of objects in PostGis database. Fields of the tables contain styles(color, width etc) The goal is fast getting a single image(WMS) on client . I am aware about two ways to do it: mapserv as FactCGI and some kind of MapScript(PHP in my case) What is th

Re: [mapserver-users] What is the best way to generate WMS?

2018-09-21 Thread Vladimir
Thank you very much, Sven. Is it right to use FastCGI for less resource consumption? What language of MapScript is more suitable the best performance? Regards. > >Hi Vladimir, > >the fastest way is probably the CGI variant. You write your mapfiles and >deliver the data via

Re: [mapserver-users] What is the best way to generate WMS?

2018-09-21 Thread Vladimir
the basis of this example: >https://mapserver.org/ogc/mapscript.html > >Greetings >Sven > > >Von: Vladimir [mailto:f...@inbox.ru] >Gesendet: Freitag, 21. September 2018 13:50 >An: Sven Schroeter; 'mapserver-users' >Betreff: Re: AW: [mapserver-users] What is

[mapserver-users] MapServer FastCGI

2018-09-24 Thread Vladimir
Hi list! A proper image is generated by WMS request like this: http://myhost/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=png8&TRANSPARENT=true&LAYERS=mylayer&map=/path/to/myfile.map&CRS=EPSG%3A3857&STYLES=&WIDTH=2881&HEIGHT=1375&BBOX=%2C%2C%2C Could anybod

[mapserver-users] Question about python mapscript and point style.

2019-11-15 Thread Vladimir
;     LABELITEM \"name\"     NAME \"points\"     STATUS ON     TYPE POINT     UNITS METERS     CLASS     NAME \"points\"     STYLE          COLOR 255 0 0     SIZE 10          SYMBOL \"circle\"     END # STYLE     END

[mapserver-users] Getting cellsize with Mapscript

2020-05-11 Thread Vladimir
)     for key, value in params:         request.setParameter(key, value)#setting BBOX, HEIGHT, WIDTH etc         cellsize = map_obj.cellsize ???       …       mapscript.msIO_installStdoutToBuffer()     map_obj.OWSDispatch(request)     mapscript.msIO_getStdoutBuffer

[mapserver-users] P.MAPPER 4.0 overrides rendering setting in map file?

2009-02-02 Thread Vladimir Cvejanovic
be very grateful for any help this list can offer! Regards, Vladimir MAP EXTENT -1.212047 -0.966758 0.610465 0.446515 UNITS dd SIZE 600 500 SHAPEPATH "/var/www/example-proj" IMAGETYPE agg_png RESOLUTION 96 DEBUG 5 CONFIG "MS_ERRORFILE" "/var/log/php/ms-error.log"

Re: [mapserver-users] P.MAPPER 4.0 overrides rendering setting in map file?

2009-02-02 Thread Vladimir Cvejanovic
Hi Again, Just solved this. Yes, pmapper does override the mapfile imagetype directive using it's own parameter in config_default.xml. This needs to be set to the desired outputformat name and everyhitng appears to work fine. Example: ... agg_png ... Cheers, Vla

[mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread Vladimir Cvejanovic
hack and very inefficient from a processing / querying point of view. The context is a line layer containing road lines which have a width in meters but labels in pixels. This would make things scale nicely Can this be done? Does anyone have a better approach? Thanks, Vladimir LAYER NAME

Re: [mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread Vladimir Cvejanovic
Hi Thomas, Thanks for elaborating on that, I was under the false impression that MINSIZE worked similar to MINSCALE in that it defined minimum criteria for the class to be applied. Will try this now. Thanks again! Vladimir thomas bonfort wrote: Hi again, using: size 8 minsize 8 maxsize 8

Re: [mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread Vladimir Cvejanovic
small text depending on the scale used. This isn't a bad solution at all but I wanted to see if there is away to prevent the labels scaling at all within the same layer definition as the scalable (real-world sized) lines. Thanks, Vladimir thomas bonfort wrote: hi, you can use minsiz