Re: [mapserver-users] EPSG:900913 Problem

2013-07-08 Thread vinodverma
Hi
 Thanks for the early reply. I have made changes as you have mentioned.
But still there is problem.
When I entered the following link in the url:

"http://localhost/mapcache/tms/1.0.0/osm@g/";

It show the message:


http://localhost/mapcache/tms/1.0.0/osm@WGS84"/>
http://localhost/mapcache/tms/1.0.0/osm@g"/>

It means it is supporting srs EPSG:900913

But when I switched to EPSG:900913 the images goes blank and in the Error
console it show message

http://localhost/mapcache/tms/1.0.0/osm@g/1/0/0.png 502 (Bad Gateway)

When  I checked my apace error log it show the message

[error] [client 127.0.0.1] wms request for tileset osm returned an
unsupported format:\n\nhttp://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>\n\n\nmsWMSLoadGetMapParams(): WMS server error. Invalid SRS
given : SRS must be valid for all requested
layers.\n\n\n, referer:
http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:12 2013] [error] [client 127.0.0.1] tileset osm: unknown
error (another thread/process failed to create the tile I was waiting for),
referer: http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:12 2013] [error] [client 127.0.0.1] tileset osm: unknown
error (another thread/process failed to create the tile I was waiting for),
referer: http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:36 2013] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1] CGI Request 1 on
process 3402
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1]
msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be
valid for all requested layers.
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1] wms request for
tileset osm returned an unsupported format:\n\nhttp://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>\n\n\nmsWMSLoadGetMapParams(): WMS server error. Invalid SRS
given : SRS must be valid for all requested
layers.\n\n\n, referer:
http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1] tileset osm: unknown
error (another thread/process failed to create the tile I was waiting for),
referer: http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1] tileset osm: unknown
error (another thread/process failed to create the tile I was waiting for),
referer: http://localhost/mapcache/demo/tms
[Tue Jul 09 11:27:42 2013] [error] [client 127.0.0.1] tileset osm: unknown
error (another thread/process failed to create the tile I was waiting for),
referer: http://localhost/mapcache/demo/tms

I am not understanding where to make change my mapcache.xml file is like
this




   
  /home/osm-demo/mapcache/cache
  
   

   
  
 
image/png
default
/home/osm-demo/basemaps/osm-google.map 
 
  
  
 http://localhost/cgi-bin/mapserv 
  
  

   
  
 OSM MapServer served map
 Testing the Map Server On Local Machine
  
  osm
  disk
  WGS84
  g
  PNG
  5 5
  20
  1
  86400  
   


   JPEG

   
  assemble
  bilinear
  JPEG
  4096
   

   
   
   
   
   
   

   report
   /tmp



and osmbase.map file 

#define PASTER(str) #str
#define STYLEPASTER2(stylename) PASTER(stylename##style.msinc)
#define LEVELPASTER2(stylename,index) PASTER(stylename##level##index.msinc)
#define STYLEPASTER(stylename) STYLEPASTER2(stylename)
#define LEVELPASTER(stylename,level) LEVELPASTER2(stylename,level)

## if you want unique layer names across zoom levels, use
## #define layername(name,suffix) xxstr(name)
## instead of the following macro

#define layername(name,suffix) xstr(name,suffix)
#define includefile(prefix,style) xstr(pri,suffix)
#define xstr(s,t) xxstr(s##t)
#define xxstr(s) #s

#include STYLEPASTER(THEME)
MAP

FONTSET "fonts.lst"
IMAGETYPE png
MAXSIZE 4000
SIZE 800 800
EXTENT OSM_EXTENT
UNITS OSM_UNITS
IMAGECOLOR _ocean_clr0
WEB
   METADATA
  "ows_enable_request" "*"
  "wms_srs" "OSM_WMS_SRS"
  "labelcache_map_edge_buffer" "-10"
  "wms_title" "osm france"
   END
END

DEBUG _debug
#if _debug > 0 || _layerdebug > 0
CONFIG "MS_ERRORFILE" "stderr"
#endif

CONFIG "PROJ_LIB" _proj_lib
PROJECTION
   "init=epsg:OSM_SRID"
END



#include LEVELPASTER(THEME,0)
#include "land.map"
#include "landusage.map"
#include "highways.map"
#include "buildings.map"
#include "borders.map"
#include "places.map"

#include LEVELPASTER(THEME,1)
#include "land.map"
#include "landusage.map"
#include "highways.map"
#include "buildings.map"
#include "borders.map"
#include "places.map"

#include LEVELPASTER(THEME,2)
#include "land.map"
#include "landusage.map"
#include "highways.map"
#include "buildings.map"
#include "borders.map"
#include "places.map"

#include LEVELPASTER(THEME,3)
#include "land.map"
#include "landusage.map"
#include "highways.map"
#include "buildings.map"
#include "borders.map"
#include "places.map"

#include LEVELPASTER(THEME,4)
#include "land.map

Re: [mapserver-users] Print server: rlank document

2013-07-08 Thread Yves Jacolin (Free)
Le lundi 8 juillet 2013 12:00:56 Luís de Sousa a écrit :
> Hello everyone,
> 
> I just installed the print server in a new system (as a war deployed on
> Tomcat). It is answering correctly to GetCapabilities requests, but print
> requests are returning empty documents, just showing the title, comments
> and the pre-defined footer. I've installed the print server successfully in
> other systems, so I imagine that this may be a dependency missing. I've
> confirmed that both ImageMagick and Ghostscript are installed, what else
> could be missing?
> 
> Another thing: are there any logs created by the print server? At least in
> catalina.out nothing is showing up.
> 
> Thank you,
> 
Luís,

Wrong mailing list? :)

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


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread avin mohanza
thank you all
 
i have converted the osm format into shp format. and luckily i can show my
map in browser..



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064683.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] EPSG:900913 Problem

2013-07-08 Thread Yves Jacolin (Free)
Hello,

You should either use 3857 the official epsg code for web mercator or copy past 
epsg:3857 into a new line, changed the 3857 to 90091.. The file where epsg 
codes are listed should be in /usr/share/proj/epsg

Regards,

Y.
Le lundi 8 juillet 2013 04:07:34 vinodverma a écrit :
> Hi All
>i am using Mapserver version 6.1.2 on ubuntu 12.10. My mapserver
> is working fine but when i switch to layer EPSG:900913 I got the following
> Error Message
> 
> wms request for tileset osm returned an unsupported format:
> 
>  "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>
> 
> 
> msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be
> valid for all requested layers.
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/EPSG-900913-Problem-tp5064677.html Sent
> from the Mapserver - User mailing list archive at Nabble.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] EPSG:900913 Problem

2013-07-08 Thread vinodverma
Hi All
   i am using Mapserver version 6.1.2 on ubuntu 12.10. My mapserver
is working fine but when i switch to layer EPSG:900913 I got the following
Error Message

wms request for tileset osm returned an unsupported format:

http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>


msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be
valid for all requested layers.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/EPSG-900913-Problem-tp5064677.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread Yves Jacolin (Free)
Hello,

Best things to do:

* read http://www.mapserver.org/introduction.html
* read http://www.mapserver.org/ogc/wms_server.html

You should search document on WMS services to understand what it is used for.

* you can install and read the mapserver workshop : 
https://github.com/mapserver/ms-ogc-workshop

You will understand mapserver things (install, configuration and WMS services) 
and will know what to do (and more) with your shapefile.

Y.
Le lundi 8 juillet 2013 02:30:26 avin mohanza a écrit :
> what do i do next after i convert the osm file into shp?
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064654.html
> Sent from the Mapserver - User mailing list archive at Nabble.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


Re: [mapserver-users] Print server: rlank document

2013-07-08 Thread Luís de Sousa
Yes, I'm sorry. Regards,

Luís




On 8 July 2013 12:02, Yves Jacolin (Free)  wrote:

> Le lundi 8 juillet 2013 12:00:56 Luís de Sousa a écrit :
> > Hello everyone,
> >
> > I just installed the print server in a new system (as a war deployed on
> > Tomcat). It is answering correctly to GetCapabilities requests, but print
> > requests are returning empty documents, just showing the title, comments
> > and the pre-defined footer. I've installed the print server successfully
> in
> > other systems, so I imagine that this may be a dependency missing. I've
> > confirmed that both ImageMagick and Ghostscript are installed, what else
> > could be missing?
> >
> > Another thing: are there any logs created by the print server? At least
> in
> > catalina.out nothing is showing up.
> >
> > Thank you,
> >
> Luís,
>
> Wrong mailing list? :)
>
> Y.
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread Geo-6

Hello,

These are tutorials to use OSM with MapServer :
* https://github.com/mapserver/mapserver/wiki/RenderingOsmData
* http://trac.osgeo.org/mapserver/wiki/RenderingOsmData
* http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu

I hop it will help you

Jonathan Beliën

Le 8/07/2013 11:08, Yves Jacolin (Free) a écrit :

Hello,

I am not sure you can read osm file from mapserver. You should convert them
into shapefle or better put the data into postgresql database.

Regards,

Y.
Le lundi 8 juillet 2013 02:00:26 avin mohanza a écrit :

i cant open those pages you give :(

how do i solve this problem below?

msDrawMap(): Image handling error. Failed to draw layer named
'arnsbergMS3'. msShapefileOpen(): Unable to access file.
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=
/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
msShapefileOpen(): Unable to access file.
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=
/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)

i appreciate every help..
thank you



--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064648.html
Sent from the Mapserver - User mailing list archive at Nabble.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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Print server: rlank document

2013-07-08 Thread Luís de Sousa
Hello everyone,

I just installed the print server in a new system (as a war deployed on
Tomcat). It is answering correctly to GetCapabilities requests, but print
requests are returning empty documents, just showing the title, comments
and the pre-defined footer. I've installed the print server successfully in
other systems, so I imagine that this may be a dependency missing. I've
confirmed that both ImageMagick and Ghostscript are installed, what else
could be missing?

Another thing: are there any logs created by the print server? At least in
catalina.out nothing is showing up.

Thank you,

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


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread avin mohanza
what do i do next after i convert the osm file into shp?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064654.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] widgit problems

2013-07-08 Thread Lester Caine
I have a site which has been displaying maps using mapserver for some 
considerable time, but recently it's started playing up on some browsers and I'm 
out of my depth trying to work out what needs fixing :( It's obviously a 
javascript problem but interestingly it's working OK on IE and on the older copy 
of Firefox which I normally access it via which is why the problem has not been 
spotted.


http://lsces.org.uk/mapper/display_map.php opens up fine, but click and drag to 
zoom in just gives an error in the overview. I suppose I should be lloking for a 
'more modern' set of widgets, but this HAS been working nicely and fast for many 
years so it should be possible to fix?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread Yves Jacolin (Free)
Hello,

I am not sure you can read osm file from mapserver. You should convert them 
into shapefle or better put the data into postgresql database.

Regards,

Y.
Le lundi 8 juillet 2013 02:00:26 avin mohanza a écrit :
> i cant open those pages you give :(
> 
> how do i solve this problem below?
> 
> msDrawMap(): Image handling error. Failed to draw layer named
> 'arnsbergMS3'. msShapefileOpen(): Unable to access file.
> (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=
> /usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
> msShapefileOpen(): Unable to access file.
> (/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=
> /usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
> 
> i appreciate every help..
> thank you
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064648.html
> Sent from the Mapserver - User mailing list archive at Nabble.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


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread avin mohanza
i cant open those pages you give :(

how do i solve this problem below?

msDrawMap(): Image handling error. Failed to draw layer named
'arnsbergMS3'. msShapefileOpen(): Unable to access file.
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
msShapefileOpen(): Unable to access file.
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
 

i appreciate every help..
thank you



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapserver-6-0-1-tp5064640p5064648.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver 6.0.1

2013-07-08 Thread Sven Geggus
Avin Mohanza  wrote:

> and why does my debian wheezy alway install mapserver 6.0.1?

Unfortunately there are no official debian or Ubuntu packages of newer
version. However, there is an inofficial repository of mapserver 6.2.1 at
http://git.linuxminded.nl/git/pkg-grass/mapserver

A package build from this code works fine for me:

git clone http://git.linuxminded.nl/git/pkg-grass/mapserver
cd mapserver
dpkg-buildpackage -b

Regards

Sven

-- 
Das Internet ist kein rechtsfreier Raum, das Internet ist aber auch
kein bürgerrechtsfreier Raum. (Wolfgang Wieland Bündnis 90/Die Grünen)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapserver 6.0.1

2013-07-08 Thread Avin Mohanza
hello all.
i am now using mapserver  version 6.0.1.
by the way i am using linux debian operating system.
and i have some problem when i want to show my map in browser. my map
actually is an OSM format and i parse the map in QGIS appliction with
QGIS plugin, after that i enter the address in browser and appear
something like this

msDrawMap(): Image handling error. Failed to draw layer named
'arnsbergMS3'. msShapefileOpen(): Unable to access file.
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)

 msShapefileOpen(): Unable to access file. 
(/var/www/arnsbergMS/arnsberg-regbez-latest.osm?type=polygon&tag=name&style=/usr/share/qgis/python/plugins/osm/styles/medium_scale.style)
 

and why does my debian wheezy alway install mapserver 6.0.1?

how do i solve this problem?i dont know what to do anymore...
thanks for the answer.___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users