Hello everyone,
Here's my problem: I'm trying to highlight segments from a line layer by
using an expression in a specific class. This portion of the mapfile is
dynamically generated and when it is done, it is sent to mapserver for
rendering.
My problem is that I have to select between 10 -
Hi Adrian,
I have used long EXPRESSION list in the past, but my data are static, so
eventually I modified the map data and removed the polygons I didn't want to
render.
I could suggest to you to use in your map file several LAYERs or CLASSes to
spread around long EXPRESSION lists. Those
Hello Nikolai,
As far as you know - the Layers/Classes are processed in paralel
(threads)? Would it even be more efficient not to use expressions, but
to use simple string matchings and dynamically generate 10-400 Classes
in a layer (one class per item)?
What would be the best/most scalable
Hi Mark
Thanks for the reply. But I am already putting the projection
information in three places arent I?
MAP
PROJECTION
init=epsg:27700
END
WEB
METADATA
http://localhost/cgi-bin/mapserv.exe?map=example.map;
WMS_SRS EPSG:27700 ESPG:4326
END
END
LAYER
NAME layer
mapfile editor from mapfish studio can generate a file .map extension?i'm programming an application with vb .net mapserver and we want to integrate a tool to generate a mapfiles dynamicly. can i integrate a mafile editor from mapfish to my application asp .net?best regardsYounessELMEDRAOUILes
Hi everyone,
We are using mapserver 5.4 with openlayers 2.7 and tilecache
2.10. Mapserver is running as a CGI application.
Our data are in planar coordinates ,and since we are using
mapserver as a WMS server and a WFS server we must set a projection in
I am using MapServer to create some web maps using equal area projections.
Most of these are pseudo-cylindrical, and I am currently using Mollweide
for the initial development.
This works fine and I even have it working with WMS to OpenLayers
(OpenLayers and adding layers from different
Is it possible to switch WFS layers on/off on a zoom basis in the same
way as you can with WMS layers?
If I specify the individual layers in my request, the layer is returned,
regardless of zoom, and if I request the group name, I get Typename
doesn't exist error.
Should this work, and if so
Tom Chase wrote:
Is it possible to switch WFS layers on/off on a zoom basis in the same
way as you can with WMS layers?
If I specify the individual layers in my request, the layer is returned,
regardless of zoom, and if I request the group name, I get Typename
doesn't exist error.
Should this
Have you tried a simplified version of your regex? I think you can do:
EXPRESSION /^ITEM1|ITEM2|ITEM3|ITEM4$/
You might also consider writing a temporary set of geometries if a user will
continually display from
that set. In that case your overhead would be in managing the set of features
The way I would approach this would be to generate a physical
graticule. That is, an actual polygonal lat/lon grid on the spacing
desired and with vertex densification between the corners. The
polygons can then be added and projected, color filled for the effect
you want, and the outlines
Hi, there.
I'm experiencing some troubles with the new release of MapServer. You may
take a quick look at the excerpt of code bellow:
if (ret == (int)MS_RETURN_VALUE.MS_SUCCESS)
{
resultCacheObj results = layer.getResults();
for (int i = 0; i results.numresults; i++)
{
int
Hi, there.
I'm experiencing some troubles with the new release of MapServer. You may
take a quick look at the excerpt of code bellow:
if (ret == (int)MS_RETURN_VALUE.MS_SUCCESS)
{
resultCacheObj results = layer.getResults();
for (int i = 0; i results.numresults; i++)
{
int
How can I do that?
Paul
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
I am Ryan Nestor, of Monadnock Media in Sunderland, MA, USA. We are looking
for an experienced Mapserver developer to configure a server for us. We
plan on putting together a system which will serve watershed data as well as
DEMs and several other layers. The final product is a computer
Thanks Paul.
Good thinking - combine both problems with the same solution!
Cheers,
Richard
On Tue, Jul 14, 2009 at 9:50 AM, Paul Ramsey pram...@cleverelephant.cawrote:
The way I would approach this would be to generate a physical
graticule. That is, an actual polygonal lat/lon grid on the
Hi, there.
I'm experiencing some troubles with the new release of MapServer. You may
take a quick look at the excerpt of code bellow:
if (ret == (int)MS_RETURN_VALUE.MS_SUCCESS)
{
resultCacheObj results = layer.getResults();
for (int i = 0; i results.numresults; i++)
{
int
Hi, there.
I'm experiencing some troubles with the new release of MapServer. I got the
following while debugging that (Visual Studio IDE):
results.getResult(0)
{OSGeo.MapServer.resultCacheMemberObj}
classindex: 0
shapeindex: 1
tileindex: -1
results.getResult(1)
Paul,
Assuming the desired coordinates are in the same spatial reference system as
the layer you could use mapObj.setCenter and mapObj.scaleExtent.
Best regards,
Tamas
2009/7/14 Paul james paulj...@gmail.com
How can I do that?
Paul
___
Hi,
In my understanding it's up to the driver how the index is specified and it
's not safe to expose the setter of the shape index value. The most trivial
option of setting the indexes to different values by the driver is to
increment the index in each addfeature for the inline layers. Otherwise
Hi, there.
I'm experiencing some troubles with the new release of MapServer. You
may take a quick look at the excerpt of code bellow:
if (ret == (int)MS_RETURN_VALUE.MS_SUCCESS)
{
resultCacheObj results = layer.getResults();
for (int i = 0; i results.numresults; i++)
{
int
Hi, there.
I'm experiencing some troubles with the new release of MapServer. You
may take a quick look at the excerpt of code bellow:
if (ret == (int)MS_RETURN_VALUE.MS_SUCCESS)
{
resultCacheObj results = layer.getResults();
for (int i = 0; i results.numresults; i++)
{
int
Hi, there.
I'm experiencing some troubles with the new release of MapServer.
The new version of MapServer auto-increments the index property of a
feature as soon as it's added to a layer (unlike older releases). I
know there's a couple of shape.setValue() and shape.getValue()
functions one may
the previous versions of mapserver (incorrectly I think) used the
value of the label buffer to expand the background billboard. You'd
get nice results whith a 1 or 2 px buffer like in your case, but
unusable ones when you added larger buffers.
I hope we can work around this for 5.6 with the
24 matches
Mail list logo