[mapserver-users] How to publish the observation data as SOS by Mapserver?

2011-05-17 Thread owenfan0715
Hi there,

As we know, the Mapserver supports the OGC SOS now. I am trying to test that. 
Now, I acquired some data by temperature sersor integrated with GPS module 
described in the following format,

time,temperature,location. 
.
For example, 
2011-5-16 16:00, 16°, (lat long)
.

I want to publish those acquired data lines by Mapserver based on Sensor 
Observation Service. The data input in Mapserver includs Vector and Raster. Do 
you think I need to convert the data value into some data format, such as KML 
or others?
Any reply will be appreciated! Thanks!
Best Regards,
Tim
2011-05-17
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] compilation error about shp2img

2011-05-17 Thread ahmet temiz
hello

when I tried to compile UMN_Mapsever (6.0), I encountered this error:

-undefined reference to `png_set_longjmp_fn'-
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

I am using ubuntu 10.1

How can I solve the problem ?

regards


-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı
Bilgi ve CBS grubu
Eskişehir Yolu 10. km.
Lodumlu / Ankara
Tel : 0 312 2872680 / 1535


Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] compilation error about shp2img

2011-05-17 Thread thomas bonfort
what png library version are you using. if 1.5, try downgrading to 1.4

regards,
thomas

2011/5/17 ahmet temiz ahmettemi...@gmail.com:
 hello

 when I tried to compile UMN_Mapsever (6.0), I encountered this error:

 -undefined reference to `png_set_longjmp_fn'-
 collect2: ld returned 1 exit status
 make: *** [shp2img] Error 1

 I am using ubuntu 10.1

 How can I solve the problem ?

 regards


 --
 Ahmet Temiz
 Jeoloji Müh.
 Afet ve Acil Durum Yönetimi Başkanlığı
 Planlama ve Zarar Azaltma Dairesi Başkanlığı
 Bilgi ve CBS grubu
 Eskişehir Yolu 10. km.
 Lodumlu / Ankara
 Tel : 0 312 2872680 / 1535
 

 Ahmet Temiz
 Geological Eng.
 Information Systems - GIS Group
 Disaster and Emergency Management
 of Presidency
 ___
 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] MapScript C# binaries for mapserver 6.0

2011-05-17 Thread Jon-Paul Dobson
Hi,

Does anyone know if the MapScript C# binaries are available for mapserver
6.0? (i.e. mapscript.dll and mapscript_csharp.dll).

Alternatively, is MS4W http://maptools.org/ms4w/ available for mapserver
6.0 yet?

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


Re: [mapserver-users] MapScript C# binaries for mapserver 6.0

2011-05-17 Thread Jeff McKenna

On 11-05-17 8:38 AM, Jon-Paul Dobson wrote:

Alternatively, is MS4W http://maptools.org/ms4w/ available for
mapserver 6.0 yet?


Yes: 
http://osgeo-org.1803224.n2.nabble.com/MS4W-Users-MapServer-6-0-0-release-package-available-td6359261.html


Your best bet is to follow the MS4W-users mailing list to stay on top of 
issues like this, and ask questions/comments there.


Thanks.

-jeff

--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


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


Re: [mapserver-users] MapScript C# binaries for mapserver 6.0

2011-05-17 Thread Jon-Paul Dobson
Brilliant. Thanks Jeff for the prompt reply.

Best regards,
Jon-Paul

On Tue, May 17, 2011 at 12:44 PM, Jeff McKenna 
jmcke...@gatewaygeomatics.com wrote:

 On 11-05-17 8:38 AM, Jon-Paul Dobson wrote:

 Alternatively, is MS4W http://maptools.org/ms4w/ available for
 mapserver 6.0 yet?


 Yes:
 http://osgeo-org.1803224.n2.nabble.com/MS4W-Users-MapServer-6-0-0-release-package-available-td6359261.html

 Your best bet is to follow the MS4W-users mailing list to stay on top of
 issues like this, and ask questions/comments there.

 Thanks.

 -jeff

 --
 Jeff McKenna
 MapServer Consulting and Training Services
 http://www.gatewaygeomatics.com/


 ___
 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] Which is fastest? finding nearest point, or polygon?

2011-05-17 Thread Trond Michelsen
Hi.

I have a pointlayer with about 1 points (will probably become
25000 later), and I want to find the nearest point when I click in the
map.

To solve this, I've loaded the layer into qgis, and using the mmqgis
plugin, I created a voronoi diagram layer. I'm now serving this layer
with mapserver, and a click on the map will trigger a GetFeatureInfo
request from this layer, which returns the metadata from the
corresponding point.

Everything works fine, but I get this nagging feeling that I've
overcomplicated things, so I'm wondering:

1. Can mapserver find the nearest point directly? If so, how do I set
   it up?  
2. Is this faster than finding the polygon the click is inside?

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


Re: [mapserver-users] Which is fastest? finding nearest point, or polygon?

2011-05-17 Thread Mark Korver
 1. Can mapserver find the nearest point directly? If so, how do I set
   it up?

normally this would be PostGIS query as in

http://osgeo-org.1803224.n2.nabble.com/get-the-closest-feature-in-a-point-query-td5819760.html

 2. Is this faster than finding the polygon the click is inside?

I would expect the point based query to be a lot faster.  Tolerance
defines a bbox of what subset of points to calc distance from, then
just sorting by distance to get your answer.  You can do this with
just SQL and little code np.

On Tue, May 17, 2011 at 7:11 AM, Trond Michelsen
trondmm-mapser...@crusaders.no wrote:
 Hi.

 I have a pointlayer with about 1 points (will probably become
 25000 later), and I want to find the nearest point when I click in the
 map.

 To solve this, I've loaded the layer into qgis, and using the mmqgis
 plugin, I created a voronoi diagram layer. I'm now serving this layer
 with mapserver, and a click on the map will trigger a GetFeatureInfo
 request from this layer, which returns the metadata from the
 corresponding point.

 Everything works fine, but I get this nagging feeling that I've
 overcomplicated things, so I'm wondering:

 1. Can mapserver find the nearest point directly? If so, how do I set
   it up?
 2. Is this faster than finding the polygon the click is inside?

 --
 Trond Michelsen
 ___
 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] mapserver 6.0 make error

2011-05-17 Thread Travis Kirstine
Hi all,
I have been trying to install Mapserver 6.0 and I am running into the
following error.  I thought this could be related to a older version
of GEOS / GDAL so I installed gdal 1.8 and geos 3.2.2.  Any ideas

# static library if it exists.
if test -r libmapserver.so ; then \
  make shared ; \
fi
gcc -c -g  -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR -DUSE_FASTCGI  -DUSE_WMS_LYR
-DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
-DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS-DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/freetype2
  -I/usr/include -Irenderers/agg/include   -I/usr/local/include
-I/usr/include-I/usr/local/include  -I/usr/include
-I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.c -o
shp2img.o
g++ -g  -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR -DUSE_FASTCGI  -DUSE_WMS_LYR -DUSE_WFS_LYR
-DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH  -DUSE_WCS_SVR
-DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS-DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/freetype2
  -I/usr/include -Irenderers/agg/include   -I/usr/local/include
-I/usr/include-I/usr/local/include  -I/usr/include
-I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.o  -L.
-lmapserver -lfreetype -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz
-lXpm -lX11  -lexpat   -lproj -ljpeg -lpng -lgif  -L/usr/local/lib
-lgdal -L/usr/lib -lpq  -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
-L/usr/local/lib -lgeos_c -lpthread -lc -L/usr/lib -lfcgi   -lz
-L/usr/lib -lxml2 -lz -lm  -lm -lstdc++-o shp2img
/usr/bin/ld: warning: libexpat.so.1, needed by
/usr/local/lib/libgdal.so, may conflict with libexpat.so.0
./libmapserver.a(mapgeos.o): In function `msGEOSFreeWKT':
/root/build/mapserver-6.0.0/mapgeos.c:650: undefined reference to `GEOSFree'
./libmapserver.a(mapgeos.o): In function `msGEOSSimplify':
/root/build/mapserver-6.0.0/mapgeos.c:697: undefined reference to `GEOSSimplify'
./libmapserver.a(mapgeos.o): In function `msGEOSTopologyPreservingSimplify':
/root/build/mapserver-6.0.0/mapgeos.c:719: undefined reference to
`GEOSTopologyPreserveSimplify'
/usr/local/lib/libgdal.so: undefined reference to `GEOSUnionCascaded'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] (no subject)

2011-05-17 Thread Peisheng Zhao
Do your dream!... 
http://www.stadcopolyproducts.com/friends_links.php?photmailID=14ce3
  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] re mapserver 6.0 make error

2011-05-17 Thread Travis Kirstine
The issue was related to having the Extra Packages for Enterprise
Linux (EPEL) repository configure, this contained a version of GEOS,
removing this version fixed the issue - I hope.

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


Re: [mapserver-users] Mapserver graduated symbols

2011-05-17 Thread Havard Tveite

The LAYER- CLASS- STYLE- SIZE parameter can specify an
attribute of the data set, so this should be possible.
URL: http://mapserver.org/mapfile/style.html 

Håvard

On 17/05/11 13:21, jude mwenda wrote:

Hi, is this possible using mapserver and openlayers? where the values
used are based on predefined values of from the shapefile loaded using wms?

--
Regards,

Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda http://www.twitter.com/judemwenda
Web: www.africangeogeek.com http://www.africangeogeek.com

Was ist mein Leben, wenn ich nicht mehr nützlich für andere.
Johann Wolfgang von Goethe


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


[mapserver-users] How to publish the observation data as SOS by Mapserver?

2011-05-17 Thread owenfan0715
Hi there,
As we know, the Mapserver supports the OGC SOS now. I am trying to test that. 
Now, I acquired some data by temperature sersor integrated with GPS module 
described in the following format,

time,temperature,location. 
.
For example, 
2011-5-16 16:00, 16°, (lat long)
.

I want to publish those acquired data lines by Mapserver based on Sensor 
Observation Service. The data input in Mapserver includs Vector and Raster. Do 
you think I need to convert the data value into some data format, such as KML 
or others?
Any reply will be appreciated! Thanks!

Best Regards,
Tim
2011-05-18
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users