David,
after a quick look it seems that the API is there, although I am not
entirely sure whether it is stable or tested.
in pseudocode:
symbol=new symbolObj()
//set attributes of symbol
map->symbolset.append(symbol)
Regards,
Umberto
On Wed, Sep 24, 2008 at 10:09 PM, Fawcett, David
<[EMAIL PRO
Perhaps you could see if this copyright layer document points to right
direction?
http://mapserver.gis.umn.edu/docs/faq/copyright-layer
-Jukka Rahkonen-
Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Robert
Sanson
Lähetetty:
Hi,
I have to display a point on the map only for 5 seconds. After 5 seconds
the second point from the database should be retrieved from the database
and displayed.This process continues till all the points in the database is
displayed.Can anyone tell me how to do this..
Thanks.
__
Hi daryl,
thank you for your answer.
I can preprocess the netcdf to change it to direction/magnitude. but I
couldn't get the SYMBOL to work with raster LAYER.
My mapfile looks something like this:
LAYER
...
DATA "NETCDF:\test\test.nc:direction"
TYPE RASTER
PROCESSING "BANDS
Is it possible to print a title on a map? I would like to be able to send a
variable on the URL containing a string to be used as a title to embed into the
returned image in a particular location.
I am using Javascript to formulate a CGI request for a PDF output, using
mode=map.
Many thanks,
Ludovico,I had a java mapscript connection timeout problem too. Making sure
that every table with feature information in PostGIS had a corresponding
record in the "geometry_columns" table and then doing a
Vacuum/analyze/reindex on the database, fixed my problem. If you haven't
done this already the
Sorry, but I can't test that. I don't have pdf support compiled into this
version of Mapserver.
I did get transparency to work using the AGG driver by altering my
OUTPUTFORMAT to look like this:
OUTPUTFORMAT
NAME 'AGGA'
DRIVER AGG/PNG
IMAGEMODE RGBA
EXTENSION "png"
FORMATOPTION "
Is it possible to get layer transparency when outputformat=PDF?
Thanks,
Robert Sanson
>>> "Roger André" <[EMAIL PROTECTED]> 25/09/2008 10:36 a.m. >>>
Thanks to some help from a fellow GIS developer, I think I've narrowed
the problem down to the OUTPUTFORMAT section of my mapfile. Changing
fro
Thanks to some help from a fellow GIS developer, I think I've narrowed the
problem down to the OUTPUTFORMAT section of my mapfile. Changing from the
AGG to GD driver seemed to take care of the problem. Will need to do some
additional futzing to see if I can get it working with AGG.
--
On Wed,
A query map will do this. That is you do a point search with map output
(mode=querymap) or mode=query with queryformat (in the mapfile)
set to your favorite image type (e.g. PNG, PNG24, AGGPNG24, etc...).
Steve
>>> Mark Brooks <[EMAIL PROTECTED]> 09/23/08 11:16 AM >>>
I have a shapefile of type
Ok, this is driving me bonkers. I have a raster image with nodata values
set to be transparent. When I make requests to this layer in "mode=map", it
works beautifully, and the nodata values are transparent.
-
http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/temp/temp.map&mode=map
However,
In Python mapscript, is it possible to construct a vector symbol, like a
circle, without referencing a mapfile or a symbolset file?
Essentially, build this in code:
SYMBOL
NAME 'circle'
TYPE ELLIPSE
POINTS 1 1 END
FILLED TRUE
END
If so, a few lines of code would be greatly appreciated.
Hi,
I am having difficulty deriving the EPSG code/projection/Coordinate System
for a geotiff in Guatemala.
Any help would be appreciated.
Below is the gdalinfo listing:
Driver: GTiff/GeoTIFF
Size is 11214, 7860
Coordinate System is `'
Origin = (317049.000,1659460.000)
Pi
My late son (Phil Donaghy) built an application using OGR in PHP using MS4W
that plots points using address information. We use this application for
911 data to pinpoint the address. We now wish to extend this to use this
same application to plot a point given a Lat/Long for both 911 Phase II dat
It would be three step process.
1) Generate the image.
2) Perform the clipping.
3) Over lay the new clipped image onto the Aerial.
It would require two Mapscript calls to generate images (one for the overlay
and one for the aerial) but it would let the solution work. If you need any
code I've
Hi Mark: There's no easy way in MapServer. The way I'd do it would be
to intervene on the client side and change calls to MapServer to use
scalebar units in feet instead of miles once you cross a scale threshold. You
can do that by appending map.scalebar=units%20feet to the URLs.
Steve
>>> "Mark
Use the *~ operator as described at:
http://www.postgresql.org/docs/8.3/static/functions-matching.html
Steve
>>> "Sven Schroeter" <[EMAIL PROTECTED]> 09/24/08 5:12 AM >>>
Hi all,
I'm using the queryByAttributes-function of PHP-Mapscript with the LIKE (~)
operator for strings (out of a POSTGI
Thanks Dan, I am plopping it on an air photo, so I don't think that your
approach will work.
David.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Little
Sent: Wednesday, September 24, 2008 10:02 AM
To: Daniel Morissette; Fawcett, David
Cc: mapserv
Thanks Daniel,
I am not calling layer.draw(), just map.draw().
David.
-Original Message-
From: Daniel Morissette [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 8:45 AM
To: Fawcett, David
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] transparent pixma
Hello,
Is there a way to use the current scale to control the units used on the
scalebar?
For example I would like the scalebar to display
* 100 feet instead of .019 miles when I am zoomed in
* 12 miles instead of 63000 feet when I am zoomed out
Mark Volz
GIS Specialist
Does OGR understand MS SQL Spatial geometry ?
On Wednesday 24 September 2008 18:26, you wrote:
> Hi,
>
> First thing that comes into my mind is the good old STATUS ON thing. LAYER
> ON in mapfile means that the layer can be requested, but not that it is
> automatically included in a map. STA
On Wednesday 24 September 2008 18:56, you wrote:
> Hi,
>
> >> First thing that comes into my mind is the good old STATUS ON thing.
> >> LAYER ON in mapfile means that the layer can be requested, but not that it
> >> is automatically included in a map. STATUS DEFAULT includes it automatic.
> >
Hi,
>> First thing that comes into my mind is the good old STATUS ON thing. LAYER
>> ON in mapfile means that the layer can be requested, but not that it is
>> automatically included in a map. STATUS DEFAULT includes it automatic. Try
>> what happens if you use:
>>
>> shp2img -m test.map -
> Hi,
>
> First thing that comes into my mind is the good old STATUS ON thing. LAYER
> ON in mapfile means that the layer can be requested, but not that it is
> automatically included in a map. STATUS DEFAULT includes it automatic. Try
> what happens if you use:
>
> shp2img -m test.map -
Hi,
First thing that comes into my mind is the good old STATUS ON thing. LAYER ON
in mapfile means that the layer can be requested, but not that it is
automatically included in a map. STATUS DEFAULT includes it automatic. Try
what happens if you use:
shp2img -m test.map -l ku2 -o test.png
I have started testing OGR ODBC connection from linux to MS SQL on win.
There is polygon layer at MS SQL.
*** I have configured ovf file:
ODBC:test/[EMAIL PROTECTED]
wkbPolygon
select geom from ku2
*** With ogrinfo -ro -al test.ovf I get:
OGRFeature(k
You could render the map with a known background color, and then use PIL to
create a transparent GIF from the image.
If you can use white as the bg color then you can convert the image to a 2
color bitmap in memory, and then use it as a mask to perform the transparency
composition.
- Ori
Steve,
Ticket #2773
Methods to expose the metadata hashtable in
mapscript/swiginc/hashtable.i need to be ported to php-mapscript to
provide for a $hash = $layer->{metadata} hashtableObj.
Thanks for your advice.
Jeff
Quoting Stephen Woodbridge <[EMAIL PROTECTED]>:
Jeff,
Did you write a b
Jeff,
Did you write a bug for this? What bug number?
Thanks,
-Steve W
Jeff Hamm wrote:
Thanks Steve.
Its finding the $hash I haven't got a handle on.
$oLayer->getMetaData("") wants a parameter key.
$oLayer->{metadata} returns nothing.
How do I grab the metadata hashtable itself?
Ticket #439
David,
TRANSPARENCY ALPHA works only between layers drawn using map.draw() in a
single pass. If you call layer.draw() for each layer in a loop in your
script then TRANSPARENCY ALPHA has no effect and that could explain the
problem you are encountering.
Daniel
Fawcett, David wrote:
I am usi
On Wed, 24 Sep 2008, Ron Goldman wrote:
I have a netcdf containing the Lon/Lat components of winds and currents
and I want to display them on an arrow map. Is there a way to do this?
so far I only found a way to do this for point shapefiles, but my data
is composed of two rasters. any suggesti
Dear MapServer Users,
I have a netcdf containing the Lon/Lat components of winds and currents
and I want to display them on an arrow map. Is there a way to do this?
so far I only found a way to do this for point shapefiles, but my data
is composed of two rasters. any suggestions would be great
Hello,
[Sorry for crossposting]
Open Source Park at Intergeo 2008
Intergeo is the world's largest event and communication platform for
geodesy, geoinformation and land management. The trade fair and
conference cover all the key trends that crop up along the entire
value-added chain -- from ge
Hi all,
I'm using the queryByAttributes-function of PHP-Mapscript with the LIKE (~)
operator for strings (out of a POSTGIS-table):
$queryString = "nom_bande ~ 'WT'";
$queryItem = "nom_bande";
@$datQuery = $layer->queryByAttributes($queryitem,$queryString,MS_MULTIPLE);
Every dataset that conta
Of course, I will send you a sample later today. I have to use ArcGIS 9.3 to
do the export, hope this is OK?
Regards,
Pål Kristensen
Paul Ramsey-3 wrote:
>
> Anyone have a small piece of data in the new-fangled FGDB file format
> they are willing to send me?
>
> P
>
--
View this message in
On Tuesday 23 September 2008 16:26:32 Kralidis,Tom [Burlington] wrote:
> If you're asking whether MapServer can act as a CSW server, it cannot.
>
> MapServer can, however, publish a variety of OWS (WMS, WFS, WCS, SOS),
> which a CSW can harvest metadata from and publish for discovery.
>
> So your b
On Tuesday 23 September 2008 17:04:33 Paul Ramsey wrote:
> Like Apache, Mapserver handles parallel requests by running multiple
> copies. In FastCGI mode, those copies are long-running daemons. In
> standard CGI mode, those copies are one-time affairs -- one run per
> request.
>
> On Tue, Sep 23, 2
37 matches
Mail list logo