[mapserver-users] Fwd: Fwd: All map services display pink tiles

2014-10-03 Thread Sithila Konara
Hi,
Out put as follows...


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






On Wed, Oct 1, 2014 at 6:45 PM, thomas bonfort 
wrote:

> from a terminal, type:
>
> curl '
> http://localhost/mapcache/?LAYERS=osm&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-135,22.5,-112.5,45&WIDTH=256&HEIGHT=256
> '
>
> --
> thomas
>
> On 1 October 2014 18:38, Sithila Konara 
> wrote:
>
>> hi,
>>
>> Following URL is a one of my image URL
>>
>>
>> http://localhost/mapcache/?LAYERS=osm&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-135,22.5,-112.5,45&WIDTH=256&HEIGHT=256
>>
>> This is how errors get occors
>> nd i have examined Apache error logs, but unable find much details. I'm
>> working in a Ubuntu server in a VM environment. server is directly
>> connected to internet using NAT interface to get the Internet. But i think
>> server should provide tiles from only using local resources, after
>> successful mapserver implementation. But I noticed that pink tiles also not
>> display when i disconnect the server from the Internet. I'm new to Linux
>> and Mapserver so difficult to extract meaning of error logs etc
>>
>> On Wed, Oct 1, 2014 at 2:52 PM, thomas bonfort 
>> wrote:
>>
>>> Sithila,
>>> try right clicking on one of the pink tiles to open it in a new browser
>>> window, or alternately look in your apache access/error logs. You should
>>> get an error message that should give you a head start. 502 errors are
>>> usually a sign that the source wms server is producing an error instead of
>>> an image, the actual error message should be returned back to you.
>>>
>>> --
>>> thomas
>>>
>>>
>>>
>>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Fwd: All map services display pink tiles

2014-10-01 Thread Sithila Konara


I have implemented mapserver in Ubuntu 14.04 with postgresql 9.3, postgis
and imposm using GitHub tutorial
.
After completing the tutorial all map services display pink tiles not map
info. i was not encounter with any issues during the tutorial run. any
reason to this?

Following screenshots for your reference.

[image: enter image description here] [image: enter image description
here] [image:
enter image description here]

When I check network I saw some errors as follows it shows as bad gate way
and internal server error [image: enter image description here]

here's my basemap makefile and mapcache.xml file

   - *basemap/makefile*

UNAME := $(shell uname)

ifeq ($(UNAME), Darwin)
SED=sed -i ""else
SED=sed -i
endif

CPP=gcc -E -x c#if the preprocessor fails for some reason, try
replacing this with "cpp" on linux, or "cpp-4.2" on darwin (not
available starting with mountain lion)


OSM_PREFIX=osm_new_
OSM_NAME_COLUMN=name
OSM_SRID=4326
OSM_UNITS=dd
OSM_EXTENT=-180 -90 180 90
OSM_SRID=3857
OSM_UNITS=meters
OSM_DB_CONNECTION=host=localhost dbname=osm user=osm password=osm port=5432
OSM_EXTENT=-2000 -2000 2000 2000
OSM_WMS_SRS=EPSG:900913 EPSG:4326 EPSG:3857 EPSG:2154 EPSG:310642901
EPSG:4171 EPSG:310024802 EPSG:310915814 EPSG:310486805 EPSG:310702807
EPSG:310700806 EPSG:310547809 EPSG:310706808 EPSG:310642810
EPSG:310642801 EPSG:310642812 EPSG:310032811 EPSG:310642813 EPSG:2986
DEBUG=1
LAYERDEBUG=1
STYLE=google#can also use google or bing


   - *mapcache-osm.xml*


/home/sithila/osm-demo/mapcache/cache 




image/png
default
/home/sithila/osm-demo/basemaps/osm-google.map




http://localhost/cgi-bin/mapserv? 


OSM MapServer served map
see
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataUbuntuv2

osm
disk
WGS84
g
PNG
5 5
10
1
86400  
JPEG

assemble
bilinear
JPEG
4096

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