[mapserver-users] Ozz

2012-06-06 Thread Özgür Arslan

Hi Everyone,

Can someone explain me functions of the mapcache? Is it making my map fast or 
is it for another purpose. I read a lot about it I couldn't understand. what is 
the main work that mapcache does? 

Thanks!!
  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Scripted geoprocessing

2012-06-06 Thread Eichner, Andreas - SID-NLKM

 I am looking for a way 
 for this script to dissolve polygons with a common attribute. 
 This will 
 help rendering speed and ease of visualization.

What are you trying to achieve? Splitting a shapefile into smaller
pieces by grouping features with common attribute(s) as a kind of
pre-classification? Then ogr2ogr might help you.

See http://www.gdal.org/ogr2ogr.html and
http://www.gdal.org/ogr/ogr_sql.html how to use this tool.
Also http://mapserver.org/optimization/vector.html might help you.

Greetings
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Positioning of point symbols

2012-06-06 Thread Jason Jackson
I am using mapserver 5.6.7 and it appears that when using a pixmap
symbol to represent a point geometry on the map, the image is placed
with its center on the point. Is there a way to adjust the image so
its bottom center is placed on the point instead?

Thank you,
Jason
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Positioning of point symbols

2012-06-06 Thread Jörg Thomsen
Hi Jason,

perhaps the offset parameter can help? Move the point half of the height
of the symbol
http://mapserver.org/mapfile/style.html?highlight=offset

Jörg

Am 06.06.2012 14:37, schrieb Jason Jackson:
 I am using mapserver 5.6.7 and it appears that when using a pixmap
 symbol to represent a point geometry on the map, the image is placed
 with its center on the point. Is there a way to adjust the image so
 its bottom center is placed on the point instead?
 
 Thank you,
 Jason
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapcache

2012-06-06 Thread Stephen Woodbridge

On 6/6/2012 3:14 AM, Özgür Arslan wrote:

Hi Everyone,

Can someone explain me functions of the mapcache? Is it making my map
fast or is it for another purpose. I read a lot about it I couldn't
understand. what is the main work that mapcache does?


Mapcache is a proxy between mapserver or other services and you client. 
It takes the clients requests for tiles and gets them from the backend 
services and stores them in a cache then gives them to your client. If 
the requested tile is already in the cache then it just serves that.


So by using potentially a lot of disk space to save tiles in it avoids 
excessive drawing of the same tiles multiple times by the backend. This 
is basically how Google does it and why Google is so fast.



mapserver   mapcache - browser client
  | |
GIS data   tiles

If mapcache has the tile it servers it.
If mapcache doesnot have the tile it gets it from mapserver.

Serving tiles is fast, drawing tiles/images is slow. Mapcache can do 
some other tricks like compositing a larger image from a bunch of tiles 
to server WMS request faster also.


-Steve W
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Positioning of point symbols

2012-06-06 Thread Havard Tveite

ANCHORPOINT is coming in 6.2.
See: http://www.mapserver.org/trunk/mapfile/symbol.html

Håvard

On 6/6/2012 2:37 PM, Jason Jackson wrote:

I am using mapserver 5.6.7 and it appears that when using a pixmap
symbol to represent a point geometry on the map, the image is placed
with its center on the point. Is there a way to adjust the image so
its bottom center is placed on the point instead?

Thank you,
Jason

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] GetStyles SLD does not include Opacity value

2012-06-06 Thread myOpenLayersUName
Now that I've advanced beyond the simple example included above, I see a
possible shortcoming with the current implementation of the GetStyles
request with respect to including rule's opacity and am wondering if this is
something worth pursuing...

While it is easy in my original example with a single CLASS in the layer, to
move the opacity parameter within the CLASS' STYLE, what if my LAYER has a
number of CLASSes? Given the current implementation, if I want to see the
opacity in the GetStyles response, I will have to include the OPACITY
setting in every CLASS STYLE, even though they are all the same and a major
advantage of the LAYER's OPACITY value is avoiding that duplication (and
potential for inconsistency). 

Since the GetMap and GetLegendGraphic renderers are capable of reviewing
whether a CLASS STYLE's or the LAYER's OPACITY value is set and draw the
image accordingly, it must be possible for the GetStyles response to do the
same. My question is Should it? Or am I off the mark in my expectations
here?

Cheers
jtm



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GetStyles-SLD-does-not-include-Opacity-value-tp4979066p4979520.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapserver/PostGIS Faster Initial Load Time

2012-06-06 Thread Donald Kerr
Basically my mapping setup is, from client to server, Openlayers WMS/WFS
(Internet Explorer on XP Pro SP3) - Mapserver CGI - Shapefile (Tiffs) or
PostGIS (XP Pro SP3 - IIS  FastCGI).

From boot up, the initial, or first load of maps, takes up to 15 seconds.
After that, it flies along fine.

I've tried pre-loading in a hidden browser instance but that didn't work. I
cannot get that initial load time down at all.

Any tips to reduce the time taken for the first load of the software:
Specifically Mapserver whether it's creating the map from PostGIS or the
shapefile (Tiffs). 

Many thanks.

Regards,

Donald

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer with Geodatabases

2012-06-06 Thread Bistrais, Bob
This is a just wondering question-  Has anyone used MapServer with
ESRI Geodatabases as a data source?  In particular, I was wondering
about file geodatabases?  Honestly, I don't have plans to do this
myself, but I am preparing a presentation on Open Source web mapping,
and I'm sure this question will come up. 

 

So, if anyone has used a GDB with MapServer, I'd appreciated any
feedback, good or bad, describing your experiences.

 

Thanks,

Bob

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer with Geodatabases

2012-06-06 Thread Lime, Steve D (DNR)
I've used MapServer via/OGR with the newish File GeoDatabase format and it does 
work. It's just markedly slower than using straight shapefiles and/or PostGIS.

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Wednesday, June 06, 2012 4:47 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer with Geodatabases

This is a just wondering question-  Has anyone used MapServer with ESRI 
Geodatabases as a data source?  In particular, I was wondering about file 
geodatabases?  Honestly, I don't have plans to do this myself, but I am 
preparing a presentation on Open Source web mapping, and I'm sure this question 
will come up.

So, if anyone has used a GDB with MapServer, I'd appreciated any feedback, good 
or bad, describing your experiences.

Thanks,
Bob
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Hi All

2012-06-06 Thread Özgür Arslan




Hi everyone,


I am trying to put an icon on my map by using text marker. But it doesn't work. 
There is one marker that is working very well from the instructor. When I try 
to create my own it is not working or it is not showing my icon it is showing 
red icon which is from open layers. Could you please Help me about this issue? 
Also Thank you Stephen Woodbridgefor your  explanation of the mapcache. It was 
helpful.

Here is my text file.

Notworking;
pointtitledescriptioniconiconSizeiconOffset
5426484.11598,-8856513.32726City of BramptonCity of Brampton is the 
center of the Brampton.BR img src=CB/brampton.jpg alt=brampton 
width=180/ CB/blue_MarkerC.png 30,30   0,0

html;
markers2 = new OpenLayers.Layer.Text( City of Brampton,
{ location:CB/CB.txt,
  projection:'EPSG:900913'}
);
Working;

pointtitledescriptioniconiconSizeiconOffset
5425825.52619,-8846513.32726Downsview AirportCYDZ or Downsview Airport 
has been exclusively owned and used as a testing facility by Bombardier 
Aerospace since 1994.BR img src=airports/CYDZ.jpg alt=CYDZ width=175/   
 airports/APIcon.png34,340,0
5408103.01906,-8838337.37672 Billy-Bishop (Island) AirportCYTZ or Billy 
Bishop Airport is named after Air Marshal Billy Bishop, a Canadian First World 
War flying ace.BR img src=airports/CYTZ.jpg alt=CYTZ width=175/
airports/APIcon.png24,240,0
5444248.18059,-8835470.98918 Buttonville AirportCYKZ or Toronto 
Buttonville airport is a medium-sized airport in Buttonville, Ontario, Canada, 
within Markham, bordering Richmond Hill and 29 km (18 mi) north of downtown 
Toronto.BR img src=airports/CYKZ.jpg alt=CYKZ width=175/
airports/APIcon.png24,240,0
5415603.13404,-8864655.33459Pearson International AirportCYKZ or 
Pearson international airport is an international airport serving Toronto, 
Ontario, Canada; its metropolitan area; and the Golden Horseshoe. BR img 
src=airports/CYYZ.jpg alt=CYYZ width=175/airports/APIcon.png24,24  
  0,0
5425603.13404,-8854655.33459Pearson International AirportCYKZ or 
Pearson international airport is an international airport serving Toronto, 
Ontario, Canada; its metropolitan area; and the Golden Horseshoe. BR img 
src=airports/CYYZ.jpg alt=CYYZ width=175/airports/APIcon.png24,24  
  0,0
html;
markers = new OpenLayers.Layer.Text( Airports,
{ location:Airports/Airports.txt,
  projection:'EPSG:900913'}
);

  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hi All

2012-06-06 Thread Stephen Woodbridge

Hi Özgür,

Sorry but this question is OpenLayers so you need to post it on that 
list. I have cc'd it there.


-Steve

On 6/6/2012 11:13 PM, Özgür Arslan wrote:

Hi everyone,


I am trying to put an icon on my map by using text marker. But it
doesn't work. There is one marker that is working very well from the
instructor. When I try to create my own it is not working or it is not
showing my icon it is showing red icon which is from open layers. Could
you please Help me about this issue? Also Thank you Stephen
Woodbridgefor your explanation of the mapcache. It was helpful.

Here is my text file.

Notworking;
point title description icon iconSize iconOffset
5426484.11598,-8856513.32726 City of Brampton City of Brampton is the
center of the Brampton.BR img src=CB/brampton.jpg alt=brampton
width=180/ CB/blue_MarkerC.png 30,30 0,0

html;
markers2 = new OpenLayers.Layer.Text( City of Brampton,
{ location:CB/CB.txt,
projection:'EPSG:900913'}
);
Working;

point title description icon iconSize iconOffset
5425825.52619,-8846513.32726 Downsview Airport CYDZ or Downsview Airport
has been exclusively owned and used as a testing facility by Bombardier
Aerospace since 1994.BR img src=airports/CYDZ.jpg alt=CYDZ
width=175/ airports/APIcon.png 34,34 0,0
5408103.01906,-8838337.37672 Billy-Bishop (Island) Airport CYTZ or Billy
Bishop Airport is named after Air Marshal Billy Bishop, a Canadian First
World War flying ace.BR img src=airports/CYTZ.jpg alt=CYTZ
width=175/ airports/APIcon.png 24,24 0,0
5444248.18059,-8835470.98918 Buttonville Airport CYKZ or Toronto
Buttonville airport is a medium-sized airport in Buttonville, Ontario,
Canada, within Markham, bordering Richmond Hill and 29 km (18 mi) north
of downtown Toronto.BR img src=airports/CYKZ.jpg alt=CYKZ
width=175/ airports/APIcon.png 24,24 0,0
5415603.13404,-8864655.33459 Pearson International Airport CYKZ or
Pearson international airport is an international airport serving
Toronto, Ontario, Canada; its metropolitan area; and the Golden
Horseshoe. BR img src=airports/CYYZ.jpg alt=CYYZ width=175/
airports/APIcon.png 24,24 0,0
5425603.13404,-8854655.33459 Pearson International Airport CYKZ or
Pearson international airport is an international airport serving
Toronto, Ontario, Canada; its metropolitan area; and the Golden
Horseshoe. BR img src=airports/CYYZ.jpg alt=CYYZ width=175/
airports/APIcon.png 24,24 0,0
html;
markers = new OpenLayers.Layer.Text( Airports,
{ location:Airports/Airports.txt,
projection:'EPSG:900913'}
);


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users