Re: [mapserver-users] avl files

2009-04-29 Thread Till Adams

percy schrieb:
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, there is another 
software

for make it for linux server ?
___

Dear Paul,

sorry, I'm the one who crimed Avein ages ago. I really forgot about that 
software.
Avein is made for use in ArcView GIs 3.x only, so you'll need this piece 
of software to run Avein. Undortunately Avein's last version goes on 
Mapserver v4.2 or so, which should'nt matter, but there are no 
opportunities for use of newer UMN functions.


Also AveiN! does not translate avl files, it is only made as an 
interface between ArcViwew 3 projects and UMN.
A newer version for ArcGIS called Amein! was made 4 years ago, there you 
can translate *some* of the symbols and patterns, but also not all. So 
the way to go (if softwarei s there() might be to use ameiN1, to iport 
the avl files into ArcGIs and try with that. Or forget about that and 
you try on your own :-)


Regards,
Till




--
--
terrestris GmbH  Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

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


Re: [mapserver-users] mapserver error

2009-04-29 Thread Iratxe Lejarreta
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
 another (oracle client?) home which does not have the tnsnames setup
 correctly? In a windows setup i would first check the PATH environment
 variable. If the oracle client install is the first on the list then this
 is what mapserver would use. You mention a path
 /usr/lib/oracle/10.2.0.3/client- does this folder also contains a
 network\admin\tnsnames.ora file? Maybe this is the one you need to change
 (again maybe talking complete rubish here as on idea abt this OS)

 Finally- another idea just to make sure its not a WFS problem. Are you able
 to get an image by simply using cgi-bin e.g.
 http://localhost/cgi-bin/mapserve?map=...,mode=map etc??

 Pano

 Iratxe Lejarreta wrote:
  On Wednesday 22 April 2009 08:54:57 Pano wrote:
  Hi Iratxe,
 
  Looks like mapserver doesnt know the TNS name 'orcl' that you have
  defined.
  I assume that the machine where mapserver runs has an oracle client
  installed? Can you log into sql plus i..e sqlplus mddata/passwd@orcl
  from
  a command prompt on this box?  I assume you will get the same TNS error.
  Which will mean that your tnsnames.ora file is not set correctly. The
  file
  should be located under $ORACLE_HOME\network\admin\tnsnames.ora. There
  should be an entry in there like:
 
  ORCL =
(DESCRIPTION =
  (ADDRESS_LIST =
(ADDRESS =
  (PROTOCOL = TCP)
  (HOST = server_name_or_IP)
  (PORT = usually_1521)
)
  )
  (CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle_service_name)
  )
)
 
  Hope this helps,
  Pano
 
  Iratxe Lejarreta wrote:
   Hi,
  
   I installed MapServer-5.2.0 on CentOS 5.2 with Oracle 10g, but when I
 
  run
 
   the
   WFS service...
  
   http://localhost/cgi-
   bin/mywfs?SERVICE=WFSVERSION=1.0.0REQUEST=getfeatureTYPENAME=cities
  
   ...the result is:
   −
   ServiceExceptionReport version=1.2.0
   xsi:schemaLocation=http://www.opengis.net/ogc
   http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd;
   −
   ServiceException code=NoApplicableCode locator=mapserv
  
   msWFSGetFeature(): WFS server error. ms_error-code not found
   msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI
   Handlers.
   Connection failure. Check the connection string. Error: ORA-12154:
   TNS:could
   not resolve the connect identifier specified
   .
   msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI
   Handlers.
   Connection failure. Check the connection string. Error: ORA-12154:
   TNS:could
   not resolve the connect identifier specified
   .
  
   /ServiceException
   /ServiceExceptionReport
  
  
   Mapfile:
  
   MAP
NAME WFS_TEST
STATUS ON
SIZE 400 300
EXTENT -180 -90 180 90
UNITS METERS
IMAGECOLOR 255 255 255
   WEB
METADATA
wfs_title WFS TEST
wfs_onlineresourcehttp://localhost/cgi-bin/mywfs?;
wfs_srs   EPSG:4326
END
   END
   PROJECTION
init=epsg:4326
   END
   LAYER
NAME cities
TYPE POINT
CONNECTIONTYPE oraclespatial
CONNECTION MDDATA/**...@orcl
DATA GEOM FROM CITIES USING UNIQUE FID SRID 4326 VERSION 10g
METADATA
wfs_title cities
gml_featureid FID
gml_include_items all
END
STATUS ON
DUMP TRUE
CLASS
STYLE
OUTLINECOLOR 0 0 0
COLOR 0 128 128
END
END
   END # Cities
   END # Map File
  
  
   Somebody can help me?
  
   Thanks in advance.
  
   --
   Iratxe Lejarreta
   www.axios.es
  
   ___
   mapserver-users mailing list
   mapserver-users@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
  Hi Pano,
 
  Firstly, thanks for your answer!
 
  I have checked all configuration but I continue with the same error:
 
  1.- I haven't got any error in logs.
 
  2.- I installed Oracle Instat Client:
  # rpm -Uvh oracle-instantclient-basic-10.2.0.4-1.i386.rpm
  I have set the library loading path:
  # export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib
 
  3.- I can access with sqlplus and sqldeveloper without any problem:
  [oracle]$ sqlplus mddata/passwd@orcl
 
  4.- $ORACLE_HOME\network\admin\tnsnames.ora file:
   ORCL =
 (DESCRIPTION =
   (ADDRESS_LIST =
 (ADDRESS =
   (PROTOCOL = TCP)
   (HOST = 192.168.2.215)
   (PORT = 1521)
 )
   )
   (CONNECT_DATA =
 (SERVER = DEDICATED)
 (SERVICE_NAME = orcl)
   )
 )
 
  5.- I try to access with the following URL:
  http://192.168.2.215/cgi-
  

[mapserver-users] Development environment

2009-04-29 Thread Iratxe Lejarreta
Hi,

Could anybody tell me which is the recomended enviroment to develop in C++ 
language?

Thanks!

-- 
Iratxe Lejarreta
www.axios.es
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer's documentation, mention in bibliography

2009-04-29 Thread Alberto Fernández Sánchez

Hi companions,

The question: How I must mention MapServer's 5.4.0 documentation in my 
bibliography?

Thanks.

_
El nuevo Windows Live te une a los que más quieres 
http://www.windowslive.es ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Points and labels always together

2009-04-29 Thread Nelson Correia

Hi all,

 

Is it possible to have points and labels always drawn together when in a POINT 
layer? The objective is to draw localities on a map, and I don't want points or 
labels to appear alone.

 

The problem is with LABELCACHE that when turned on, the points are all drawn, 
but only the labels that fit on the map will be drawn. This leads to some 
points without the correspondent labels. I think LABELCAHE turned off is not an 
option, because then the labels will be overlapped.

 

Any ideas?

 

Thanks,

 

Nelson

_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Points and labels always together

2009-04-29 Thread Christy Nieman

Hi,

If you use an ANNOTATION layer instead of POINT, the only points that 
will be drawn are those where the labels will be drawn.


Christy

Nelson Correia wrote:

Hi all,
 
Is it possible to have points and labels always drawn together when in 
a POINT layer? The objective is to draw localities on a map, and I 
don't want points or labels to appear alone.
 
The problem is with LABELCACHE that when turned on, the points are all 
drawn, but only the labels that fit on the map will be drawn. This 
leads to some points without the correspondent labels. I think 
LABELCAHE turned off is not an option, because then the labels will be 
overlapped.
 
Any ideas?
 
Thanks,
 
Nelson



Get news, entertainment and everything you care about at Live.com. 
Check it out! http://www.live.com/getstarted.aspx%20



___
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] MapServer's documentation, mention in bibliography

2009-04-29 Thread Steve Lime
If you used a specific document then I would guess you'd just reference
that URL. If you used
many from the site then just referencing the website as a whole would be
sufficient. There are
lots of style guides out there on form.

Steve

 Alberto Fernández Sánchez dja...@hotmail.com 04/29/09 6:12 AM 

Hi companions,

The question: How I must mention MapServer's 5.4.0 documentation in my
bibliography?

Thanks.

_
El nuevo Windows Live te une a los que más quieres 
http://www.windowslive.es 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] MapServer's documentation, mention in bibliography

2009-04-29 Thread Alberto Fernández Sánchez

Thank you Steve, this was my problem.

Alberto

 Date: Wed, 29 Apr 2009 08:50:24 -0500
 From: steve.l...@dnr.state.mn.us
 To: dja...@hotmail.com; mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] MapServer's documentation, mention in  
 bibliography
 
 If you used a specific document then I would guess you'd just reference
 that URL. If you used
 many from the site then just referencing the website as a whole would be
 sufficient. There are
 lots of style guides out there on form.
 
 Steve
 
  Alberto Fernández Sánchez dja...@hotmail.com 04/29/09 6:12 AM 
 
 Hi companions,
 
 The question: How I must mention MapServer's 5.4.0 documentation in my
 bibliography?
 
 Thanks.
 
 _
 El nuevo Windows Live te une a los que más quieres 
 http://www.windowslive.es 

_
El nuevo Windows Live te une a los que más quieres 
http://www.windowslive.es ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Points and labels always together

2009-04-29 Thread Nelson Correia

 

Thanks!
 
 Date: Wed, 29 Apr 2009 08:16:45 -0400
 From: cnie...@dmsolutions.ca
 To: nelson...@hotmail.com
 CC: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Points and labels always together
 
 Hi,
 
 If you use an ANNOTATION layer instead of POINT, the only points that 
 will be drawn are those where the labels will be drawn.
 
 Christy
 
 Nelson Correia wrote:
  Hi all,
  
  Is it possible to have points and labels always drawn together when in 
  a POINT layer? The objective is to draw localities on a map, and I 
  don't want points or labels to appear alone.
  
  The problem is with LABELCACHE that when turned on, the points are all 
  drawn, but only the labels that fit on the map will be drawn. This 
  leads to some points without the correspondent labels. I think 
  LABELCAHE turned off is not an option, because then the labels will be 
  overlapped.
  
  Any ideas?
  
  Thanks,
  
  Nelson
 
  
  Get news, entertainment and everything you care about at Live.com. 
  Check it out! http://www.live.com/getstarted.aspx%20
  
 
  ___
  mapserver-users mailing list
  mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapfile HDF 'DATA' element format

2009-04-29 Thread Peter Willis

Frank Warmerdam wrote:


One SDS with more than one band (ie. rank 3 with the third rank
more than a dimension of 1) is accessed normally as long as you want
to use the first three bands as RGB.  If you want to control which bands
you use, add the BANDS PROCESSING option.

eg.

PROCESSING BANDS=4,2,1

The tricky case is more than one SDS which is normally when you
start seeing subdatasets.  Normally you would use gdalinfo to
identify what subdatasets are available.




Hello Frank,

Thanks for clarifying. Maybe I should be filling out
the wiki somewhere regarding this information.

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


[mapserver-users] What is the WCS 'mime type' for *RAW* HDF data?

2009-04-29 Thread Peter Willis

Hello,

When I query WCS for information regarding an HDF file

I am assuming that *I* need to define a mime type, for
the data provided by the HDF file, since no mime type is
apparent in the GetCapabilities request.

What 'mime' type do I use in my 'GetCoverage' request
if I just want to serve the raw binary record
(ie: Scientific/Remote Sensing Data in D.N.)
instead of an image format?

Shouldn't I be able to just get the data?
No I need to specify SOAP output, somehow,
in my MAP file?

Thanks for any pointers,

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


RE: [mapserver-users] avl files

2009-04-29 Thread Fischer, Brian
There is an ArcMap extension that is going to be released by us later this 
summer that will essentially convert an ArcMap .mxd to a mapfile or GeoMOOSE 
app.  So you could use ArcMap if you have it to import your .avl symbology and 
then export it to a mapfie.  We are not sure at this point if the software will 
be open source or sold at small shareware cost for the extension.

Brian Fischer
Houston Engineering, Inc.
763-493-4522

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Till Adams
Sent: Wednesday, April 29, 2009 1:56 AM
Cc: MapServer; Paul Alarcon
Subject: Re: [mapserver-users] avl files

percy schrieb:
 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, there is another 
 software
 for make it for linux server ?
 ___
Dear Paul,

sorry, I'm the one who crimed Avein ages ago. I really forgot about that 
software.
Avein is made for use in ArcView GIs 3.x only, so you'll need this piece 
of software to run Avein. Undortunately Avein's last version goes on 
Mapserver v4.2 or so, which should'nt matter, but there are no 
opportunities for use of newer UMN functions.

Also AveiN! does not translate avl files, it is only made as an 
interface between ArcViwew 3 projects and UMN.
A newer version for ArcGIS called Amein! was made 4 years ago, there you 
can translate *some* of the symbols and patterns, but also not all. So 
the way to go (if softwarei s there() might be to use ameiN1, to iport 
the avl files into ArcGIs and try with that. Or forget about that and 
you try on your own :-)

Regards,
Till




-- 
--
terrestris GmbH  Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
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


[mapserver-users] converting a multi-thousand polygon shapefile into a shapefile that just contains the exterior vertices

2009-04-29 Thread John Mitchell
Hi,

I have created a shape file via gdaltindex based a few thousand geotiff's.

I don't need all of the interior grids within this shape file just the
exterior vertices's.

How can I convert this shape file so that it does not have the interior grid
and just the exterior vertices's.

I am displaying this shape file within UMN MapServer and I want to increase
the performance by eliminating the drawing of the interior grids.

Thanks,

John Mitchell

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


[mapserver-users] Mapserver 5.4 SYMBOLSET

2009-04-29 Thread David Nugent

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I've recently upgraded to mapserver 5.4 and hit a problem with  
SYMBOLSET.


It seems that a file containing symbols referenced from the .map file  
must now contain a SYMBOLSET keyword at the start (and presumably end  
with END?). I made this change, but the parser still complains with  
the message First token must be SYMBOLSET.


Not really wanting to waste time on debugging the lex code, I simply  
removed the check that emits this error from mapsymbol.c and all works  
as expected. Obviously there is a deeper problem, whether it be the  
logic in that statement (which appears to be correct as far as I can  
tell) or the lex parser itself.


I'm just wondering if anyone else had hit the same problem.

Regards,
David

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkn5EkgACgkQgyBtWyGDJqUwLwCcDdlZ1p/DUyTJ8/A9aOU8U6p1
c24AnjMwiSaNwPPQhDay/V3pTu1OnDtQ
=pUQC
-END PGP SIGNATURE-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 5.4 SYMBOLSET

2009-04-29 Thread Steve Lime
Can you share your symbolset file? I've not had an issue with that change.

Steve

 David Nugent dav...@datalinktech.com.au 04/29/09 9:54 PM 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I've recently upgraded to mapserver 5.4 and hit a problem with  
SYMBOLSET.

It seems that a file containing symbols referenced from the .map file  
must now contain a SYMBOLSET keyword at the start (and presumably end  
with END?). I made this change, but the parser still complains with  
the message First token must be SYMBOLSET.

Not really wanting to waste time on debugging the lex code, I simply  
removed the check that emits this error from mapsymbol.c and all works  
as expected. Obviously there is a deeper problem, whether it be the  
logic in that statement (which appears to be correct as far as I can  
tell) or the lex parser itself.

I'm just wondering if anyone else had hit the same problem.

Regards,
David

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkn5EkgACgkQgyBtWyGDJqUwLwCcDdlZ1p/DUyTJ8/A9aOU8U6p1
c24AnjMwiSaNwPPQhDay/V3pTu1OnDtQ
=pUQC
-END PGP SIGNATURE-
___
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] Mapserver 5.4 SYMBOLSET

2009-04-29 Thread David Nugent

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It starts (and ends) like this:

SYMBOLSET

  SYMBOL
NAMEpoint
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
  END

  SYMBOL
NAMEdashed
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
STYLE
8 6 8 6
END
  END

...

END


Regards,
David


On 30/04/2009, at 1:13 PM, Steve Lime wrote:

Can you share your symbolset file? I've not had an issue with that  
change.


Steve


David Nugent dav...@datalinktech.com.au 04/29/09 9:54 PM 


Hello all,

I've recently upgraded to mapserver 5.4 and hit a problem with
SYMBOLSET.

It seems that a file containing symbols referenced from the .map file
must now contain a SYMBOLSET keyword at the start (and presumably end
with END?). I made this change, but the parser still complains with
the message First token must be SYMBOLSET.

Not really wanting to waste time on debugging the lex code, I simply
removed the check that emits this error from mapsymbol.c and all works
as expected. Obviously there is a deeper problem, whether it be the
logic in that statement (which appears to be correct as far as I can
tell) or the lex parser itself.

I'm just wondering if anyone else had hit the same problem.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkn5IX4ACgkQgyBtWyGDJqVRXACfZnjgfrOnb7nQmKTF99gjA4WX
bMEAn28/+mRNOk60rbeTX4BbQUBF1q4L
=vbTf
-END PGP SIGNATURE-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] converting a multi-thousand polygon shapefileinto a shapefile that just contains the exterior vertices

2009-04-29 Thread Rahkonen Jukka
Hi,

What you want is the union of all the individual image polygons.  At least it 
can be made with GIS applications like QGis or OpenJUMP. I don't know of any 
tool that could do it directly from command line but such can exist, though.

-Jukka Rahkonen-

John Mitchell wrote:
 
Hi,

I have created a shape file via gdaltindex based a few thousand geotiff's.

I don't need all of the interior grids within this shape file just the
exterior vertices's.

How can I convert this shape file so that it does not have the interior grid
and just the exterior vertices's.

I am displaying this shape file within UMN MapServer and I want to increase
the performance by eliminating the drawing of the interior grids.

Thanks,

John Mitchell

-- 
John J. Mitchell

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