What is the best way to map attribute data (non-geom) from Oracle (not
* Spatial) using MapServer
Un saludo.
Pedro Briones García
TRAGSATEC
Gerencia de SIG y Consultoría
Departamento de Cartografía
C/ Julián Camarillo 6, Edificio 6B - 2ª Pl. Sector B
28037 Madrid
Hi Pedro,
A number of years ago i had a situation like you describe below. The
solution we chose was:
- Create a postgresql/postgis datawarehouse
- Import shapefiles into postgis (shp2psql or ogr2ogr)
- Import attribute info from oracle into postgresql (we needed a
commercial license for
Steve, you are absolutely right, according to #2689 i tried commenting
out the msLayerWhichItems (layer.i) prior to msLayerWhichShapes in
the 5.4 release. The item setup is thus maintained.
While i'm afraid to mess with maplayer.c and maybe this will sound silly
,i observed that within
Hi Roald.
Thanks for the reply.
In this project, we are required to use SHAPEFILES and Oracle, so we can't
change this environment.
Roald de Wit wrote:
Hi Pedro,
A number of years ago i had a situation like you describe below. The
solution we chose was:
- Create a postgresql/postgis
On Friday 24 April 2009 12:42:46 Pano wrote:
Hi Iratxe,
Unfortunately I know very little about CentOS. Just a windows guy me :-)
But let me try:
Is it possible that you have multiple Oracle Homes setup? And sqlplus is
using the home where oracle server is installed whereas mapserver is using
hi...
I want to know if there is any method to automatically get the lat long of
the particular point in the shape file and then store the corresponding
values in mysql database file.
Regards
Mukul
___
mapserver-users mailing list
Hi,
mapObj will have extents property ,where you can get your map extents.
For example :- Alert(Map.extent.minx);
Thanks,
Venkat
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mukul Gupta
Sent: Tuesday, April
Hi Roald.
Thanks for the reply.
In this project, we are required to use SHAPEFILES and Oracle, so we can't
change this environment.
Roald de Wit wrote:
Hi Pedro,
A number of years ago i had a situation like you describe below. The
solution we chose was:
- Create a
Stupid error on my part. I was worried about getting the right set of shapes out
and spaced the correct item list part. Ugh...
I'm not sure that removing the cleanup is the answer. Users could switch
shapefile
sources between layer open/close or change items used to label or classify
features
Is there any way to access the QuerymapObj from PHP mapscript?
I cannot find the reference to the object or a method to get to it in the
MapObj class.
Is the only way to change size or color in the mapfile if using PHP
mapscript?
Thanks in advance for your help,
Worth Lutz
Hi list,
hum, could he use ogr vrt?
http://www.gdal.org/ogr/drv_vrt.html
Luigi Castro Cardeles
2009/4/28 Paolo Corti pco...@gmail.com
Hi Roald.
Thanks for the reply.
In this project, we are required to use SHAPEFILES and Oracle, so we
can't
change this environment.
Roald
Hi,
I have MapServer with Oracle Spatial and when I run the request
DescribeFeatureType, the result of types for all fiels is string.
http://localhost/cgi-
bin/mywfs?SERVICE=WFSVERSION=1.0.0REQUEST=DescribeFeatureTypeTYPENAME=layer_name
Is it possible to know the type of different fields of
Worth Lutz wrote:
Is there any way to access the QuerymapObj from PHP mapscript?
I cannot find the reference to the object or a method to get to it in
the MapObj class.
It should be accessible from the map object:
http://mapserver.org/mapscript/php/index.html#querymapobj-class
Is the
Hi,
sorry but Mapserver does not support this (yet).
Best regards,
Bart
Hi,
I have MapServer with Oracle Spatial and when I run the request
DescribeFeatureType, the result of types for all fiels is string.
http://localhost/cgi-
Yes, I saw the page you referenced. That was what prompted my question.
If you look in the documentation for the map object there is no reference to
the querymapobj-class. In other words there is no member which points to
the querymapobj and no method to get the object.
The reference map
The member should be $oMap-querymap.
I will update the doc to reflect that.
Worth Lutz wrote:
Yes, I saw the page you referenced. That was what prompted my question.
If you look in the documentation for the map object there is no reference to
the querymapobj-class. In other words there is
FYI there is an open ticket on this at
http://trac.osgeo.org/mapserver/ticket/462
..Tom
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
bart...@osgis.nl
Sent: Tuesday, 28 April 2009 09:37
To: Iratxe
To clarify, the support is not automatic. The developer of the service
has the ability to define types in the service configuration but it must
be done by hand.
Steve
bart...@osgis.nl 04/28/09 8:37 AM
Hi,
sorry but Mapserver does not support this (yet).
Best regards,
Bart
Hi,
I have
Hello,
Can map server combine two fields and display a total for the values, or do
we need to total the values ahead of time in the shapefile?
Mark Volz
GIS Specialist
Lyon County, MN
___
mapserver-users mailing list
Depends, are you talking about for labeling, expression evaluation or template
display?
For labeling: No.
For expression evaluation: Yes (using logical expressions you can do EXPRESSION
([item1] + [item2] 50)
For templates: Yes for HTML via javascript, e.g.:
script ...
var total = [item1]
Mark Volz wrote:
Can map server combine two fields and display a total for the values, or
do we need to total the values ahead of time in the shapefile?
Hi Mark,
Not that I'm aware of. Even if it could, I would always pre-process the
data, so MapServer doesn't have to execute those extra
Hi,
Do you know how to write an outline on the roads label boxes, just like the
ones that Google Maps has? In Mapserver docs I only see an outline for the
letters and not for the background. Does Mapserver support it?
You can see the labels (L2150, K2, K7) with white background and
Steve,
Thank you for your reply. I will be using it for templates.
Mark Volz
GIS Specialist
Lyon County, MN
-Original Message-
From: Steve Lime [mailto:steve.l...@dnr.state.mn.us]
Sent: Tuesday, April 28, 2009 11:40 AM
To: Mark Volz; mapserver-users@lists.osgeo.org
Subject: Re:
I have a raster layer in map file. When I load the map file using C# map
script, at run time it shows layerObj.connectiontype as
‘MS_CONNECTION_TYPE.MS_SHAPEFILE’ though it is raster image. Is there
any syntax error with my map file definition. I need to know exactly
whether it is a raster or
this isn't currently possible.
best regards,
thomas
On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia nelson...@hotmail.com wrote:
Hi,
Do you know how to write an outline on the roads label boxes, just like the
ones that Google Maps has? In Mapserver docs I only see an outline for the
Thank you! I did a little research, and writing a .bat file to execute as a
scheduled task
is exactly what I needed. The file is simple:
@echo off
cd C:\OSGeo4W\tmp\ms_tmp
del *.png
cls
echo Your MapServer cache has been cleared!
echo.
pause nul
Saved as 'clearCache.bat' and added it as a
Hi,
You can use an annotation layer with a symbol. Something like:
LAYER
NAME labels
TYPE ANNOTATION
DATA /your/data/path/
STATUS ON
LABELITEM RD_NUM
CLASS
NAME road_numbers
STYLE
SYMBOL 'rectangle'
COLOR 255 255 255
OUTLINECOLOR 0 0 0
SIZE 16
END
LABEL
Hi,
Here is the way you can find lat-long values from shp files. The method is
ugly.
I used this method to select lat-long values from a shape file consisting of
about 150 records. Using this method all lat-long values from a shapefile
consisting of place names of country can be selected and
You can however, develop separate classes based on label length. You'd have
different
symbols to handle wide text vs. narrow. For example:
LABELITEM 'myitem'
CLASS
EXPRESSION (length('[myitem]') 5) # use a really wide shield
STYLE
SYMBOL 'reallywideshield'
...
END
END
CLASS
The label background is getting quite cluttered actually, we have
backgroundcolor, backgroundshadowcolor, backgroundshadowsize, and
maybe a couple of others I'm forgetting.
maybe we could add something equivalent to backgroundstyle that would
have the same syntax as a class STYLE, that would then
You could also write a fairly simple python script using the gdal/ogr
python modules.
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mohammed
Rashad
Sent: Tuesday, April 28, 2009 12:17
jchampagne2 wrote:
Thank you! I did a little research, and writing a .bat file to execute as a
scheduled task is exactly what I needed
Cool.
del *.png
Just for future planning, you may want to add *.jpg and *.gif to it.
Otherwise, three years from now when you're also generating JPEGs
Hello forum does anyone know if there is a way to export the avl files from
arcview to map files?
thanks a lot
Paul
--
View this message in context:
http://n2.nabble.com/avl-files-tp2735327p2735327.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
I've done it with several rectangle symbols.
Thank you all for the quick answers! :)
Nelson
Date: Tue, 28 Apr 2009 19:33:01 +0200
Subject: Re: [mapserver-users] Outline on the roads label boxes
From: thomas.bonf...@camptocamp.com
To: steve.l...@dnr.state.mn.us
CC:
Hi,
you can try Avein:
http://sourceforge.net/projects/avein/
Best regards,
Bart
Paul Alarcon wrote:
Hello forum does anyone know if there is a way to export the avl files from
arcview to map files?
thanks a lot
Paul
--
Bart van den Eijnden
OSGIS, Open Source GIS
bart...@osgis.nl
Thanks a lot Bart im going to try it and thanks for the quickly reply :-D
___
--
View this message in context:
http://n2.nabble.com/avl-files-tp2735327p2736480.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
Helllo is me again, i tried it but it ask me for a installed mapserver on
windows and i use a linux server for mapserver, there is another software
for make it for linux server ?
___
--
View this message in context:
Hello,
Where can I find the specification for the
'DATA' entry in mapserver MAP files where
HDF files are being used?
I am mostly interested in using these in
the context of WCS.
Here is my current non-working example of an HDF
file test in my current WCS map file:
LAYER
NAME chlorophyll
Peter Willis wrote:
Hello,
Where can I find the specification for the
'DATA' entry in mapserver MAP files where
HDF files are being used?
I am mostly interested in using these in
the context of WCS.
Here is my current non-working example of an HDF
file test in my current WCS map file:
...
Frank Warmerdam wrote:
Peter Willis wrote:
Hello,
Where can I find the specification for the
'DATA' entry in mapserver MAP files where
HDF files are being used?
I am mostly interested in using these in
the context of WCS.
Here is my current non-working example of an HDF
file test in my
Peter Willis wrote:
Hello Frank,
I don't get any of those entries when I run gdalinfo against the file.
There is one SDS in the root of the HDF file called 'l3m_data'.
Here is an example of what I get with gdalinfo:
...
Peter,
Then the file appears to be a simple SDS dataset, and you don't
give it fake directories as if you are using MS4W, then edit the mapfile
it generates and substitute your linux paths...
percy
On 4/28/2009 1:43 PM, Paul Alarcon wrote:
Helllo is me again, i tried it but it ask me for a installed mapserver on
windows and i use a linux server for mapserver,
42 matches
Mail list logo