[mapserver-users] Asking for guidelines about a project

2011-06-14 Thread Saka Royban
Hi all.
Strictly Speaking, i have a project that i should display some moving objects 
on 
a map via browser.
Generally, i don't know how to start? i mean how should i save these time-based 
objects in DB and how to retrieve and display them via Mapserver? where should 
i 
use client side scripting like OpneLayers?
Any help woudbe greatly appreciated.

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


[mapserver-users] how to get start with mapserver

2011-06-14 Thread Sila Khan
Dear mapserver users
I have followed the steps  for mapserver at windows XP given in the
following link
http://www.gistutor.com/mapserver/3-beginner-mapserver-tutorials/7-how-to-generate-a-simple-map-using-mapserver-and-a-shapefile.html
but still m unable to get map, when i click startmap.html a very small image
apears at upper left corner and output directory shows empty image .
plz help me to know where i m wrong
Thanks
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Where is the use of map_resolution documented?

2011-06-14 Thread Rahkonen Jukka
 
Hi,

I know more or less what map_resolution does and how it is used, but I could 
not easily find where it is documented. Any suggestions?

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


Re: [mapserver-users] Re: WFS Server with ArcGIS Client

2011-06-14 Thread Yewondwossen Assefa

Thanks. Updated on the server and svn.

On 14/06/2011 3:51 AM, Rahkonen Jukka wrote:

Hi,

Thanks for the update.  The included config.xml was still using the old syntax and new version of 
TinyOWS does not work with it.  I paste here below a config.xml that works with the 1.0 rc3 version 
with the demo data layers france and world.  Demo shapefiles are included 
in the package http://tinyows.org/tracdocs/release/tinyows-1.0.0rc3.tar.bz2 and they should be 
imported into PostGIS first.

tinyows online_resource=http://127.0.0.1/cgi-bin/tinyows.exe;
   schema_dir=/ms4w/apps/tinyows/schema/
   pg host=127.0.0.1 user=postgres password=postgres dbname=tinyows_demo 
port=5432/
   metadata name=TinyOWS Server
  title=TinyOWS Server - Demo Service /

   layer retrievable=1
   writable=1
   ns_prefix=tows
   ns_uri=http://www.tinyows.org;
  name=world
  title=World Administrative Boundaries /
   layer retrievable=1
 writable=1
 ns_prefix=tows
 ns_uri=http://www.tinyows.org;
  name=france
  title=French Administrative Sub Boundaries (IGN - GeoFLA Departements) 
/
/tinyows

-Jukka Rahkonen-


Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n Yewondwossen 
Assefa [yass...@dmsolutions.ca] puolesta
Lähetetty: 14. kesäkuuta 2011 0:35
Vastaanottaja: mapserver-users@lists.osgeo.org
Kopio: TinyOWS users discuss list; ms4w-users
Aihe: Re: [mapserver-users] Re: WFS Server with ArcGIS Client

ms4w adds on for tinyows  1.0.0rc3 is uploaded on the server and should
be available in few minutes for download.

best regards,

On 13/06/2011 4:53 PM, Rahkonen Jukka wrote:

Hi,

Another quick note: Version 1.0 c is much much better than 0.9 which is 
available as MS4W addon package.  But of course one can experiment with 0.9 too 
until 1.0 for MS4W is ready.

-Jukka-

Jeff McKenna wrote:


On 11-06-13 5:12 PM, Rahkonen Jukka wrote:

TinyOWS is in 1.0 release candidate phase but Windows executables are not yet 
available, therefore Linux.

Quick note: TinyOWS has been available in MS4W as an addon package for
quite some time now.

-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



--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
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




--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


Re: [mapserver-users] Requested BBOX outside requested coverage

2011-06-14 Thread Stephan Meißl
Virginia,

it looks strange that the second parameter in your bounding box is
bigger than the fourth one.

Besides that I suspect that you might be using different projections
with different units (meter vs. degree).

cu
Stephan


On Sat, 2011-06-11 at 18:46 -0300, Virginia Maffei wrote: 
 Hi, i want to do a getcoverage with wcs but the log throws:
 
 
 
 [Sat Jun 11 18:27:50 2011].26000 msWCSGetCoverage(): WCS server error.
 Requested BBOX
 (-66.5079075029609,-84.6440997947261,-30.3257514953085,-83.1977984037033) is 
 outside requested coverage BBOX 
 (366582.290141166,6127927.10038269,857582.290141166,6670927.10038269)
 [Sat Jun 11 18:27:50 2011].26000 freeLayer(): freeing layer at
 021CB940.
 
 
 the url is: 
 
 
 http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.mapSERVICE=WCSVERSION=1.0.0REQUEST=GetCoveragecoverage=localidadesCRS=EPSG:32721BBOX=40,70,80,60WIDTH=491HEIGHT=543FORMAT=GTiff
 
 
 Could someone explain me whats wrong and how does bbox works?
 
 
 Sorry, but i'm very new at this...
 
 
 thank you!
 
 
 Virginia
 
 
 
 
 ___
 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] WCS pops up to open image

2011-06-14 Thread Stephan Meißl
Virginia,

as far as I know only Safari supports displaying TIFF images natively.
There are add-ons available for Firofox, though.

cu
Stephan


On Sun, 2011-06-12 at 17:14 -0300, Virginia Maffei wrote:
 Hi, i'm trying to publish a tiff loaded in postgis raster and when i
 make a GetCoverage it just pops up a window to download the image
 (mapserv.exe.tiff)  
 Why is it happening? If i download the image its looking correctly
 what i'm expecting but i want to see it in the browser.
 
 
 Thanks!
 
 
 Virginia
 
 
 ___
 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] Requested BBOX outside requested coverage

2011-06-14 Thread Virginia Maffei
Thanks Stephen!
That was the problem!

Virginia

On Tue, Jun 14, 2011 at 10:34 AM, Stephan Meißl step...@meissl.name wrote:

 Virginia,

 it looks strange that the second parameter in your bounding box is
 bigger than the fourth one.

 Besides that I suspect that you might be using different projections
 with different units (meter vs. degree).

 cu
 Stephan


 On Sat, 2011-06-11 at 18:46 -0300, Virginia Maffei wrote:
  Hi, i want to do a getcoverage with wcs but the log throws:
 
 
 
  [Sat Jun 11 18:27:50 2011].26000 msWCSGetCoverage(): WCS server error.
  Requested BBOX
  (-66.5079075029609,-84.6440997947261,-30.3257514953085,-83.1977984037033)
 is outside requested coverage BBOX
 (366582.290141166,6127927.10038269,857582.290141166,6670927.10038269)
  [Sat Jun 11 18:27:50 2011].26000 freeLayer(): freeing layer at
  021CB940.
 
 
  the url is:
 
 
 
 http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example1-1.mapSERVICE=WCSVERSION=1.0.0REQUEST=GetCoveragecoverage=localidadesCRS=EPSG:32721BBOX=40,70,80,60WIDTH=491HEIGHT=543FORMAT=GTiff
 
 
  Could someone explain me whats wrong and how does bbox works?
 
 
  Sorry, but i'm very new at this...
 
 
  thank you!
 
 
  Virginia
 
 
 
 
  ___
  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] WCS pops up to open image

2011-06-14 Thread Virginia Maffei
I changed the format to PNG and it worked!

Virginia


On Tue, Jun 14, 2011 at 10:44 AM, Stephan Meißl step...@meissl.name wrote:

 Virginia,

 as far as I know only Safari supports displaying TIFF images natively.
 There are add-ons available for Firofox, though.

 cu
 Stephan


 On Sun, 2011-06-12 at 17:14 -0300, Virginia Maffei wrote:
  Hi, i'm trying to publish a tiff loaded in postgis raster and when i
  make a GetCoverage it just pops up a window to download the image
  (mapserv.exe.tiff)
  Why is it happening? If i download the image its looking correctly
  what i'm expecting but i want to see it in the browser.
 
 
  Thanks!
 
 
  Virginia
 
 
  ___
  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] Where is the use of map_resolution documented?

2011-06-14 Thread Havard Tveite

Dear Jukka,

It is in RFC55 and mentioned in the symbol construction
document, but it should of course be documented with MAP.
If this is not to be kept a secret, I think a documentation
ticket would be a good idea.

Håvard

On 6/14/2011 1:51 PM, Rahkonen Jukka wrote:


Hi,

I know more or less what map_resolution does and how it is used, but I could 
not easily find where it is documented. Any suggestions?

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



--
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] how to get start with mapserver

2011-06-14 Thread Brent Fraser

Sila,

  While the tutorial is fairly good, it implies that you should install 
ms4w into C:\Program Files\Mapserver\ms4w.  Instead, I would recommend 
installing ms4w into the default location of C:\ms4w, at least while 
you are getting familiar with mapserver and ms4w.


Once you've done that, you can access the installed ms4w demo apps with:
http://localhost/index.phtml

Best Regards,
Brent Fraser


On 6/14/2011 12:49 AM, Sila Khan wrote:

Dear mapserver users
I have followed the steps  for mapserver at windows XP given in the 
following link
http://www.gistutor.com/mapserver/3-beginner-mapserver-tutorials/7-how-to-generate-a-simple-map-using-mapserver-and-a-shapefile.html 

but still m unable to get map, when i click startmap.html a very small 
image apears at upper left corner and output directory shows empty image .

plz help me to know where i m wrong
Thanks


___
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] Question about MapServer

2011-06-14 Thread Jorge Arévalo
Hello,

I'm executing Mapserver 5.6.4 under Apache2 in a Ubuntu 10.04 machine.
I'm having problems with a SLD file. Basically, when I execute a
request like this:


http://myserver/cgi-bin/mapserv?map=/var/mapserver/mapfiles/sld_cookbook_polygon.mapservice=WMSversion=1.1.1request=GetMaplayers=sld_cookbook_polygonsld=http://myserver/sld/polygon_simplepolygon.sld

I get this error:


?xml version='1.0' encoding=ISO-8859-1 standalone=no ?
!DOCTYPE ServiceExceptionReport SYSTEM
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1
ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD
http://myserver/sld/polygon_simplepolygon.sld and save it in temporary
file /var/mapserver/output/4df778fc_14b7_0.sld.xml. Please make sure
that the sld url is valid and that imagepath and imageurl are set
properly in the map file
msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with
curl error code 7 (Failed connect to agropilot:80; Operation now in
progress) for http://myserver/sld/polygon_simplepolygon.sld
/ServiceException
/ServiceExceptionReport

The log file shows this:

[Tue Jun 14 16:17:38 2011].364355 CGI Request 1 on process 4465
[Tue Jun 14 16:17:38 2011].410841 msHTTPExecuteRequests(): HTTP
request error. HTTP: request failed with curl error code 3 (url
malformed) for /var/mapserver/sld/polygon_simplepolygon.sld
[Tue Jun 14 16:17:38 2011].410930 msSLDApplySLDURL: WMS server error.
Could not open SLD /var/mapserver/sld/polygon_simplepolygon.sld and
save it in temporary file
/var/mapserver/output/4df76d82_1171_0.sld.xml. Please make sure that
the sld url is valid and that imagepath and imageurl are set properly
in the map file
[Tue Jun 14 16:17:38 2011].415803 mapserv request processing time
(msLoadMap not incl.): 0.051s
[Tue Jun 14 16:17:38 2011].415854 msFreeMap(): freeing map at 0x1168370.
[Tue Jun 14 17:06:36 2011].91881 CGI Request 1 on process 5303
[Tue Jun 14 17:06:39 2011].97592 msHTTPExecuteRequests(): HTTP request
error. HTTP: request failed with curl error code 7 (Failed connect to
agropilot:80; Operation now in progress) for
http://myserver/sld/polygon_simplepolygon.sld
[Tue Jun 14 17:06:39 2011].97700 msSLDApplySLDURL: WMS server error.
Could not open SLD http://myserver/sld/polygon_simplepolygon.sld and
save it in temporary file
/var/mapserver/output/4df778fc_14b7_0.sld.xml. Please make sure that
the sld url is valid and that imagepath and imageurl are set properly
in the map file
[Tue Jun 14 17:06:39 2011].97779 mapserv request processing time
(msLoadMap not incl.): 3.006s
[Tue Jun 14 17:06:39 2011].97799 msFreeMap(): freeing map at 0x18e4420.


The IMAGEPATH and IMAGEURL vars have a valid value in mapfile:

IMAGEPATH /var/mapserver/output
IMAGEURL http://myserver/output;

The output directory exists and is writable by www-data (even when I
change permission to 777, the same error); http://myserver/output is
reachable. The curious thing is the file
/var/mapserver/output/4df778fc_14b7_0.sld.xml is actually created, but
it's empty.

I had problems before because apparmor didn't allow writing in
/var/www, but I changed the apache directory to /var/mapserver, and
now apache can write on it. In fac, it's writting a log file. I don't
understand this error. Any idea?

Many thanks in advance, and best regards,

-- 
Jorge Arévalo
Internet  Mobility Division, DEIMOS
jorge.arev...@deimos-space.com
http://es.linkedin.com/in/jorgearevalo80
http://mobility.grupodeimos.com/
http://gis4free.wordpress.com
http://geohash.org/ezjqgrgzz0g
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Advice for a new server for a huge data set.

2011-06-14 Thread thatsanicehatyouhave
Hello,

I have recently discovered MapServer and I wanted to get some advice about 
setting up a new WMS. I have a data set that is several terabytes in size that 
I'd like to serve.

As just a trial, I want to start with a single raster layer. Is there an 
example of a MapServer setup that I can look at that only serves raster images 
in the form of individual tiles? The raster examples I have seen use a single 
image that MS apparently slices up on demand, but no such single image for my 
data exists (it's far too big).

What is the recommended approach? I could write a script that can generate the 
images on demand from the raw data - can these be passed to mapserv? I can also 
pre-generate tiles of the whole data set. If I want to implement a zoom, 
presumably I'd generate multiple sets of these at different scales? Would each 
zoom level be a new layer?

I'm sure I'll have lots more questions, but this should start me on the right 
path!

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


Re: [mapserver-users] Advice for a new server for a huge data set.

2011-06-14 Thread Bob Basques
Demitri,

You will want to build yourself a tile system (there are a number of tools for 
this) with an attached index of the tiles.  You'll need to build a set of tiles 
for each level of zoom (pixel scales) that you will be using in the map 
interface drill down.

With the right indexing of tiles, and proper tile building, you can serve up 
just about an unlimited size raster dataset.

MapServer includes some utilities to build a tile set as does GDAL/OGR.   Do a 
search on the keywords Mapserver, tiles and index, and that should get you 
close to what you are looking for.

bobb



  06/14/11 10:10 PM 
Hello,

I have recently discovered MapServer and I wanted to get some advice about 
setting up a new WMS. I have a data set that is several terabytes in size that 
I'd like to serve.

As just a trial, I want to start with a single raster layer. Is there an 
example of a MapServer setup that I can look at that only serves raster images 
in the form of individual tiles? The raster examples I have seen use a single 
image that MS apparently slices up on demand, but no such single image for my 
data exists (it's far too big).

What is the recommended approach? I could write a script that can generate the 
images on demand from the raw data - can these be passed to mapserv? I can also 
pre-generate tiles of the whole data set. If I want to implement a zoom, 
presumably I'd generate multiple sets of these at different scales? Would each 
zoom level be a new layer?

I'm sure I'll have lots more questions, but this should start me on the right 
path!

Cheers,
Demitri
___
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