I have mapserver setup and working on Ubuntu 12.04 and I need to be able to
use python mapscript so that I can use Tilecache. How do I configure python
mapscript on an existing setup of Mapserver? Do I need to recompile
mapserver? I read the readme file in the python folder and tried to install
When I try to test tilecache on Firefox using:
http://localhost/tilecache-2.11/tilecache.cgi?LAYERS=basicSERVICE=WMS%20VERSION=1.1.1REQUEST=GetMapSRS=EPSG:4326BBOX=-180,-90,0,90%20WIDTH=256HEIGHT=256
The output on my screen shows the contents of tilecache.cgi, see below:
#!/usr/bin python
from
I added the following:
Directory /var/www/tilecache-2.11
AddHandler cgi-script .cgi
Options +ExecCGI
/Directory
to apache2.conf
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Problem-with-mapserver-python-mapscript-tp5053188p5053210.html
Sent from the
I am developing a mapping application using Openlayers, Mapserver and
Mapcache and I am trying to understand all the terminology. Mapserver
without any WMS parameters in the MAP file will return an image based on the
url request. Mapserver becomes a WMS server when you add the necessary WMS
Thanks, but it's not quite right, yet. The arrow is offset (above and below)
from the line. How would I get it centered on the line?
Symbol
Name 'flow'
Type VECTOR
FILLED TRUE
Points
1 1.5
0 2
0 1
1
I am trying to diagnose why processQueryTemplate is not returning any values.
Below is part of the relevant code:
$results = $map-processquerytemplate(array(), false);
I am using MapServer 5.6.6 and GeoMoose 2.4. Below is part of my MAP file:
METADATA
'itemquery'
I have a polygon shapefile showing parcel outlines and an access database
containing owner names. I would like add a layer displaying the owner name
but after reading the MapServer documentation You cannot use joins to
affect the look of a map, I realize this is not possible.
Is there any
Brent,
I tried your suggestion, but I get an internal server error, when I turn on
the layer. Part of MAP file below:
CONNECTIONTYPE OGR
CONNECTION 'D:/ms4w/apps/ftmagisapp_v2/maps/background/PLOTS.shp'
DATA SELECT * FROM PLOTS LEFT JOIN
When I issue your text at the command line, ogrinfo starts to open the file
but crashes after it opens the shapefile.
http://osgeo-org.1803224.n2.nabble.com/file/n7009324/Capture.png
If I enter ogrinfo odbc:geoplan, it will list all the tables with in the
database.
--
View this message in
Thanks for explaining the IMAGE... sections. That helped me fix my issue.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Mapscript-Sample-Problem-tp7002818p7004432.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
I am trying to learn PHP MapScript and was starting with this webpage
http://mapserver.org/mapscript/php/by_example.html but when I try to load
the first example with my modifications I get an undefined function dl()
error, so I commented that line out because I think php is already
initialized
I am trying to get the legend image from the url below:
Figured it out.
I forgot to add a NAME for each class.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Problem-with-legend-url-tp6948935p6949394.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
Is there a way to have mapserver place a label and rotate it so that the
rotation is normal to the parcel? Currently I have Mapserver place labels
in the CC position.
Thanks,
Ed
--
View this message in context:
I would like classify a road centerline shapefile. The shapefile has a coded
attribute representing the type of road (ex. A11, A15, A16, A22, A25). Is
there a way I can use a wildcard in my expression (ex. EXPRESSION 'A1*' ) so
mapserver will classify all values with a A1_?
--
View this
I have a point shapefile representing gate valves for waterlines and some of
the gate valves are very close to each other and you may or may not be able to
view them depending on scale. Is there a way to have MapServer automatically
adjust point symbols (water valves) along a line (waterline)
I will have a shapefile with an attribute that points to the location of a
MPEG file. Is there any way to open that file once it is selected by the
user.
--
View this message in context:
http://n2.nabble.com/How-to-open-a-MPEG-file-from-mapserver-tp2322350p2322350.html
Sent from the Mapserver
Gregor Mosheh wrote:
Ooh, that'd be neat. If so, can someone post it to the Symbology
Exchange pages of the website's wiki? We do have one google-style
streets posting up there now.
Gregor, I would like the find the google style and I looked on the
Symbology examples page and couldn't
In my map file I specify the color using IMAGECOLOR205 205 205. In my
main html template I have a button to setup a new webpage for nicer printing
but I would like the background to be white and not 205 205 205 (it's a
light grey). Is there anyway to change image color in the url.
Below is
Thanks that worked.
I forgot to add map. before imagecolor
--
View this message in context:
http://n2.nabble.com/Is-there-a-way-to-change-the-background-color-at-the-url--tp2284718p2284855.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
I am using mapserver with an html template. Is there anyway to add a tool
that would enable a user to pick two points on a map and have it tell the
distance between the two points?
--
View this message in context:
Thanks PG, I will give it a try.
--
View this message in context:
http://n2.nabble.com/Create-a-button-for-Query-tp2236684p2241517.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
My current html template has a drop down list for map modes, browse, single
layer query and multi-layer query. I would like to have a single button for
querying. Will I have to use javascript or is there a simpler way?
--
View this message in context:
PG, here is the template file and map file.
http://n2.nabble.com/file/n2203271/awa_map_final.html awa_map_final.html
http://n2.nabble.com/file/n2203271/awa_map.map awa_map.map
--
View this message in context:
When I print out a copy of my map and the scalebar is shown, it is not a
correct representation of the scale. I don't have any sizes coded into the
html template. Below is the snippet from my map file.
SCALEBAR
IMAGECOLOR 255 255 255
COLOR0 0 0
UNITSFEET
The map file is attached along with an example image
--
View this message in context:
http://n2.nabble.com/Scalebar-not-correct-tp2205596p2206899.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
My units are feet. I changed the units to feet and that fixed it.
Thanks again Steve.
--
View this message in context:
http://n2.nabble.com/Scalebar-not-correct-tp2205596p2207182.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
PG,
The button is not working because of I have a refresh button with a submit
value I think. The refresh button is for updating layers. How can I make
is so both buttons work.
Code:
input type=submit name=submit value=Refresh Mapbr
--
View this message in context:
I have a shapefile layer which is a polygon layer drawn as a line that has a
dashed apperance. All the lines don't show up correctly because dashed
lines overlap other dashed lines. How do I get them to show up correctly?
--
View this message in context:
'mapserv'.
ciao
...pg
--
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58N 12°29'13.39E
On Mer, Gennaio 14, 2009 18:34, boesiii wrote:
by just using the map file and html template file.
--
View this message in context:
http://n2.nabble.com/Is-there-a-way
What is the easiest way to add a rubberband type of zoom control?
--
View this message in context:
http://n2.nabble.com/How-to-add-rubberband-zoom--tp2183681p2183681.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
I am not familiar with javascript. Couyld you give an example? Do I just
need a copy of openlayers.js in my root?
--
View this message in context:
http://n2.nabble.com/How-to-add-rubberband-zoom--tp2183681p2184773.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
I am using html to display my legend. Is there a way to tell it to display
across multiple columns?
--
View this message in context:
http://n2.nabble.com/How-to-show-html-legend-with-multiple-columns.-tp2179676p2179676.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
I have a working MapServer application and would like to add a button
somewhere on the page that will open a new window just for printing
purposes, it doesn't need layers control, zooms or pan. How do I grab the
current map extent and scale and put it in a new window. The new window
will be
I don't think you need the / after every where you have tfc
Below is my alias file:
#This is the Apache config file for Nira Map.
Alias /awa_map /ms4w/apps/awa_map/htdocs
Directory /ms4w/apps/awa_map/htdocs
AllowOverride None
Options Indexes MultiViews
Order allow,deny
Allow
I am trying to draw a line as dashed and I tried using the example from the
Mapserver documentation but I keep getting an error when it reads the
symbols file. The error is on line 170 and I can't figure out how to fix
it, below is a snippet from the symbol file.
SYMBOL
NAME ’point’
TYPE
by just using the map file and html template file.
--
View this message in context:
http://n2.nabble.com/Is-there-a-way-to-add-a-single-click-zoom-button-tp2158109p2158109.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
Thanks that worked!
--
View this message in context:
http://n2.nabble.com/Problem-with-MS101-demo-tp2142314p2146974.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
There was an extra space in the address, it works now.
boesiii wrote:
I just trying to get a static map to show up in my browser.
I have a map file created and I have a shapefile.
When I type http://127.0.0.1/cgi-bin/mapserv.exe?
map=/osgeo4w/apps/tutorial/htdocs/nira1.maplayer
.
Frank Warmerdam wrote:
boesiii wrote:
I just downloaded and installed OSGeo4w. I tried to test out mapserv.exe
at
the command line but I get and error stating Application failed to start
because ippj-5.3.dll was not found. Reinstalling the application may fix
this problem
I tried
I just trying to get a static map to show up in my browser.
I have a map file created and I have a shapefile.
When I type http://127.0.0.1/cgi-bin/mapserv.exe?
map=/osgeo4w/apps/tutorial/htdocs/nira1.maplayer=roadsmode=map in the
address bar in Firefox. I get an error message loadMap(): Web
41 matches
Mail list logo