[mapserver-users] Problem with mapserver python mapscript

2013-05-14 Thread boesiii
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

Re: [mapserver-users] Problem with mapserver python mapscript

2013-05-14 Thread boesiii
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

Re: [mapserver-users] Problem with mapserver python mapscript

2013-05-14 Thread boesiii
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

[mapserver-users] Question about Mapserver, WMS and Mapcache

2013-05-06 Thread boesiii
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

[mapserver-users] Re: Sanitary Sewer Flow Direction Line Symbol

2011-12-16 Thread boesiii
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

[mapserver-users] I am having a problem using processQueryTemplate...

2011-11-30 Thread boesiii
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'

[mapserver-users] How to join to a MDB database for display on my map?

2011-11-18 Thread boesiii
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

[mapserver-users] Re: How to join to a MDB database for display on my map?

2011-11-18 Thread boesiii
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

[mapserver-users] Re: How to join to a MDB database for display on my map?

2011-11-18 Thread boesiii
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

[mapserver-users] Re: Mapscript Sample Problem

2011-11-17 Thread boesiii
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.

[mapserver-users] Mapscript Sample

2011-11-16 Thread boesiii
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

[mapserver-users] Problem with legend url

2011-10-31 Thread boesiii
I am trying to get the legend image from the url below:

[mapserver-users] Re: Problem with legend url

2011-10-31 Thread boesiii
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. ___

[mapserver-users] Rotate parcel labels so that they are normal to their parcel

2009-10-08 Thread boesiii
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:

[mapserver-users] Can I classify attributes using a wildcard?

2009-04-10 Thread boesiii
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

[mapserver-users] Move point symbols (water valves) along a line (waterline) depending on scale

2009-03-25 Thread boesiii
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)

[mapserver-users] How to open a MPEG file from mapserver

2009-02-13 Thread boesiii
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

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-09 Thread boesiii
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

[mapserver-users] Is there a way to change the background color at the url?

2009-02-06 Thread boesiii
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

RE: [mapserver-users] Is there a way to change the background color atthe url?

2009-02-06 Thread boesiii
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.

[mapserver-users] Any way to measure between two picked points?

2009-02-04 Thread boesiii
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:

Re: [mapserver-users] Create a button for Query

2009-01-29 Thread boesiii
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

[mapserver-users] Create a button for Query

2009-01-28 Thread boesiii
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:

Re: [mapserver-users] Is there a way to add a single click zoom button

2009-01-23 Thread boesiii
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:

[mapserver-users] Scalebar not correct

2009-01-23 Thread boesiii
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

Re: [mapserver-users] Scalebar not correct

2009-01-23 Thread boesiii
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

Re: [mapserver-users] Scalebar not correct

2009-01-23 Thread boesiii
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.

Re: [mapserver-users] Is there a way to add a single click zoom button

2009-01-21 Thread boesiii
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:

[mapserver-users] Overlapping lines not shown correctly

2009-01-20 Thread boesiii
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:

Re: [mapserver-users] Is there a way to add a single click zoom button

2009-01-19 Thread boesiii
'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

[mapserver-users] How to add rubberband zoom?

2009-01-19 Thread boesiii
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. ___

Re: [mapserver-users] How to add rubberband zoom?

2009-01-19 Thread boesiii
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.

[mapserver-users] How to show html legend with multiple columns.

2009-01-18 Thread boesiii
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.

[mapserver-users] How to open a new window for print layout

2009-01-16 Thread boesiii
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

Re: [mapserver-users] umn map server requested url not found on this server error

2009-01-16 Thread boesiii
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

[mapserver-users] Problem with dashed lines

2009-01-14 Thread boesiii
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

[mapserver-users] Is there a way to add a single click zoom button

2009-01-14 Thread boesiii
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. ___

Re: [mapserver-users] Problem with MS101 demo

2009-01-12 Thread boesiii
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

Re: [mapserver-users] Help, Error Message: CGI variable map is not set.

2009-01-09 Thread boesiii
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

Re: [mapserver-users] ippj-5.3.dll was not found

2009-01-08 Thread boesiii
. 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

[mapserver-users] Help, Error Message: CGI variable map is not set.

2009-01-08 Thread boesiii
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