Hi all,
I'm just playing around with some ideas at the moment, so I'm not sure
if this will make sense...
Is it possible to use a python script to add a layer to an existing
mapfile?
I have an appliaction that sends a request to mapserver for a map, but
I want to be able to add a related shape
I don't think MapServer does this itself. We've done this by proxying MapServer
behind tomcat and using a servlet filter to validate the user.
Rich
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Alberto Naje
Hi Chris
You need to define the primary key in your .ovf file:
farmgate_id
I put the .ovf file in the same directory as my .map file, then Mapserver can
find it:
CONNECTION "./farmgates.ovf"
All thebest,
Robert
>>> Chris Jackson 29/05/2012 8:57 p.m. >>>
Hi Robert
Thanks for the reply, you
But doesn't it work so that &layers=1 gives you layer1+layer2? If you then
move REQUIRES from Layer2 to Layer1 then &layers=2 should give you
layer2+layer1.
I will make a test tomorror.
-Jukka Rahkonen-
Andrea Peri wrote:
Hi Jukka,
The REQUIRES element work
Created a documentation ticket:
https://github.com/mapserver/mapserver/issues/4332
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Denis Rykov
Sent: Tuesday, May 29, 2012 10:39 AM
To: thomas bonfort
Cc: mapserver-users@lists.os
Hi Jukka,
The REQUIRES element work this mode:
Layer2 is visible only when also Layer1 is in the request
So a request like this:
...&layers=layer1,layer2
is visible layer1 + layer2
In a request like this:
...&layers=layer2
nothing is visible.
Instead I need this other possibility:
on a req
ftr, just added an autotest for this
https://github.com/mapserver/msautotest/commit/d6af73dac1bfe2cf62b056202f86c4ab8038dc06
On Tue, May 29, 2012 at 5:39 PM, Denis Rykov wrote:
> Awesome! It is works now in my 6.1-dev. Unfortunatly I can't find any
> reference about this feature in docs.
>
>
> O
Awesome! It is works now in my 6.1-dev. Unfortunatly I can't find any
reference about this feature in docs.
On Tue, May 29, 2012 at 4:09 PM, thomas bonfort wrote:
> No, this is currently not possible.
> http://mapserver.org/fr/development/rfc/ms-rfc-72.html addresses your
> issue, with that you c
1) I use average as well. No problems or complaints so far.
2) I use uncompressed TIFs when I can and not worry about file sizes unless
necessary. If compression is necessary, I use LZW first, then JPEG (75 -
90) if more compression is needed. They all work fine.
3) Also have never heard of t
Hi,
1) I am using average and our users have not complaint. But it is simple to
test, you can create external overviews with -ro switch and try all the
alternatives within on hour or faster. It will be nice to read about your
experience. Take some timings too.
2) Jpeg in tiff suits pretty well
Hello,
I added a GeoTIFF to one of my .map files. When zoomed in the image appears
fine. When I zoom out the image appears grainy, especially when looking at
dirt fields. I assume the problem is that I built the overviews with the wrong
resampling method when I built overviews with gdaladdo.
The geomtransform Thomas mentions below is currently supported. It was added as
part of RFC 64. Give it a try...
RFC 72 will likely be in the next release.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf
Hi,
Layer2 should come always together with Layer1 If you put this line in Layer2
definitions
REQUIRES "[Layer1]"
Without testing I cannot guarantee that I remember it right. For me the logic
of keyword "REQUIRES" feels reversed because my brain says that Layer2 is
rather required by Layer1
Hi,
I'm using MapServer trunk version.
Thx to Stephen Woodbridge response,
(http://lists.osgeo.org/pipermail/mapserver-users/2012-May/072326.html)
I'm able to avoid the use of a single layer of a group.
Now I have another (perhaps) more complex question.
I need to realize a map file with a conf
On 12-05-29 8:40 AM, Jeff McKenna wrote:
> On 12-05-29 5:57 AM, Chris Jackson wrote:
>> Hi Robert
>>
>> Thanks for the reply, you have got me to a point where ogrinfo
>> commandline processes an ovf file using sql authentication fine.
>> However it will still not display using shp2img commandline
On 12-05-29 5:57 AM, Chris Jackson wrote:
> Hi Robert
>
> Thanks for the reply, you have got me to a point where ogrinfo
> commandline processes an ovf file using sql authentication fine.
> However it will still not display using shp2img commandline (other layer
> in mapfile draws fine). My layer
For reference, when the disk cache has symlinking enabled:
case 1:
96M
case 2:
147M
On Tue, May 29, 2012 at 1:06 PM, thomas bonfort
wrote:
> Salut Ludovic, hi Andrew,
>
> I've investigated a bit more on the disk space issue with berkeley db
> backends, and here are some of my findings. To summ
Salut Ludovic, hi Andrew,
I've investigated a bit more on the disk space issue with berkeley db
backends, and here are some of my findings. To summarize, the space
occupancy/efficiency is closely tied to the size of the images stored
in the cache, and the configured pagesize of the bdb backend.
Unfortunately, using offset will produce the same artifacts as the
proposed initial solution.
--
thomas
On Tue, May 29, 2012 at 11:34 AM, Havard Tveite wrote:
> You could try OFFSET - see http://mapserver.org/mapfile/style.html
>
> "For lines, an OFFSET of n -99 will produce a line geometry that
You could try OFFSET - see http://mapserver.org/mapfile/style.html
"For lines, an OFFSET of n -99 will produce a line geometry that
is shifted n SIZEUNITS perpendicular to the original line geometry.
A positive n shifts the line to the right when seen along the
direction of the line. A negative n
No, this is currently not possible.
http://mapserver.org/fr/development/rfc/ms-rfc-72.html addresses your
issue, with that you could do:
style
outlinecolor 255 0 0
geomtransform (buffer([shape], -1))
end
style
outlinecolor 255 0 0
width 1
geomtransform (buffer([shape], 1))
end
I have no
Thanks for quick response!
Are any ways to draw internal line (255 255 255 color in your example) with
transparency (-1 -1 -1 doesnt work, in this case I see red line, but I
would like to see underlying layer).
On Tue, May 29, 2012 at 3:49 PM, thomas bonfort wrote:
> something like this should w
Hi Robert
Thanks for the reply, you have got me to a point where ogrinfo commandline
processes an ovf file using sql authentication fine. However it will still
not display using shp2img commandline (other layer in mapfile draws fine).
My layer definition is fairly simple, but I am scratching my h
something like this should work, with no "symbol"
style
outlinecolor 255 0 0
width 3
end
style
outlinecolor 255 255 255
width 1
end
--
thomas
On Tue, May 29, 2012 at 10:45 AM, Denis Rykov wrote:
> I have WMS polygonal layer and want to draw polygon's border with the
> following style:
>
I have WMS polygonal layer and want to draw polygon's border with the
following style:
http://i.stack.imgur.com/J2A7x.png
My symbol's description:
SYMBOL
NAME "double_line"
TYPE vector
POINTS
0 0 1 0 -99 -99 0 1 1 1
END
END
CLASS section in mapfile:
CLASS
STYLE
OUTLINECOLOR 2
25 matches
Mail list logo