[mapserver-users] RE: Possible bug: Cairo/PDF output labels

2012-04-20 Thread Frost89
After a quick test it seems to work with a constant of 45.


This doesn't solve our prooblem though. The most important for us, is the
ANGLE follow on the roads.


It draws bitmaps fine, its just the PDF that fails.

The build is made by Tamas Szekeres' from here: 
http://vbkto.dyndns.org/sdk/ vbkto.dyndns.org/sdk .

The OUTPUTFORMAT is generated from code, but it would look like this:

OUTPUTFORMAT
  NAME "WGK_PDF"
  DRIVER CAIRO/PDF
  MIMETYPE "application/x-pdf"
  IMAGEMODE RGB
  EXTENSION "pdf"
  TRANSPARENT OFF
END


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Possible-bug-Cairo-PDF-output-labels-tp4894039p4901381.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] RE: Possible bug: Cairo/PDF output labels

2012-04-20 Thread Rahkonen Jukka
Hi,

I have never observed such an error with the my Super easy WMS server. You seem 
to be on Windows so it will be easy for you to make a test install and do some 
comparisons. Read document 
http://latuviitta.org/documents/Super_easy_WMS_server.pdf first.


-Jukka Rahkonen-


Frost89  wrote:

After a quick test it seems to work with a constant of 45.

This doesn't solve our prooblem though. The most important for us, is the ANGLE 
follow on the roads.

It draws bitmaps fine, its just the PDF that fails.
The build is made by Tamas Szekeres' from here: 
vbkto.dyndns.org/sdk.

The OUTPUTFORMAT is generated from code, but it would look like this:

OUTPUTFORMAT
  NAME "WGK_PDF"
  DRIVER CAIRO/PDF
  MIMETYPE "application/x-pdf"
  IMAGEMODE RGB
  EXTENSION "pdf"
  TRANSPARENT OFF
END


View this message in context: RE: Possible bug: Cairo/PDF output 
labels
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] On-the-fly vertical assembly of disparate tilesets using MapCache?

2012-04-20 Thread John Taranu
Hello,

 

Is there any recommended way to do multi-tileset vertical assembly in
MapCache?

 

I have the following setup:

 

There are a number (over 30) fully seeded tile caches covering adjacent but
spatially distinct areas.  These tilesets were fully seeded down to the
lowest level, with the seeding restricted to an irregular polygon extent.
Areas beyond the edge of the polygon are not seeded at all.  That is, any
tiles within the dataset's rectangular extents but outside the polygon
extent are not seeded.  The tilesets do not refer back to a MapServer source
for any requests.  This means that any tile requests between the restricted
extent and the polygon extent return a blank image and an HTTP 404 error.

 

I am trying to serve the separate tile sets independently, but also combined
into a single "mosaic-like" tile layer, to be rendered on the fly from the
individual tilesets.The current set up has the mosaic layer in the
MapCache config as a WMS source, referencing the tile caches as individual
layers, looping back into itself through localhost.   It looks like this:

 

   

  

 

image/png

LAYER1,LAYER2,LAYER3

true

 

  

  

 http://localhost/mapcache/service

  

   

 

The problem is that if any tile in the 30 separate cache layers is missing,
MapCache returns a blank tile for the mosaic layer.  

 

Is there another way of configuring a combined mosaic layer in MapCache, or
does this require updates to the code?

 

Thanks,

 

---

John Taranu

Senior Web Developer

First Base Solutions Inc

140 Renfrew Drive, Suite 100

Markham, ON, L3R 6B3

phone: 905-477-3600 ext. 302

email: jtar...@firstbasesolutions.com

web:   firstbasesolutions.com

 

 

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


[mapserver-users] pdf vector output in 6.02

2012-04-20 Thread frequens
Hi all,

I am having trouble producing a high quality vector output pdf with
6.02 php mapscript (same trouble using shp2img)
Cairo is enabled, the pdf file even gets created, but contains only a
raster image?

Pdf output is enabled:
IMAGETYPE PDF
 and
OUTPUTFORMAT
  NAME "pdf"
  DRIVER CAIRO/PDF
  MIMETYPE "application/x-pdf"
  IMAGEMODE RGB
  EXTENSION "pdf"
END

Since the mapserver documentation on pdf creation is rather archaic,
any help (a stripped version of someone's mapfile?) would be
appreciated!
My cairo library is rather old also: 1.4.10. Might this have any influence?

Many thanks in advance,

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


[mapserver-users] Projection issue with vrt file

2012-04-20 Thread Morin , Marc-André
Hi All,

I'm trying to add a VRT raster file (BSB chart) to my mapfile, but it doesn't 
work totally.
In fact, all of my tiles are generated, but they have no data...  No error is 
logged...

It sounds like the projection or the transformation matrix is not well 
supported, or not well configured.

If I put in comments the GeoTransform element, some blank tiles are shown where 
the lower left corner is located at the origin (0.000, 0.000).

Moreover, I successfully opened that same VRT file with QGIS, and the 
projection is ok...

A copy of my VRT file is shown just after my message...

Here is a snippet of my mapfile:

  LAYER
NAME "131701"
GROUP "BSB"
#EXTENT -70.980392 46.777300 -70.191770 47.279794
DATA "BSB/131701.vrt"
TYPE RASTER
STATUS OFF
CLASS
NAME 'BSB'
END
METADATA
WMS_TITLE "BSB"
  WMS_SRS "EPSG:4326 EPSG:29450 EPSG:2949 EPSG:32187 EPSG:32188 
EPSG:900913"
END 
  END

Thanks in advance for your support,

Marc-Andre

-



  +proj=merc +lat_ts=47.17 +datum=NAD83 +nodefs
-5.3802490306424974e+006, 
5.0001511315648770e+000,-1.8211665160056521e-004, 
4.0492551038299361e+006,-2.5595698020313497e-004,-5.0010081232801378e+000
  
SC=5,GD=NAD83,PR=MERCATOR,PP=47.17,PI=5.00,SP=,SK=0.00,TA=90.00,UN=METRES,SD=LNT,DX=5.00,DY=5.00
EC=RF,GD=NAR,VC=ZZZ,SC=ZZZ,PC=MC,P1=-70.582029,P2=47.17,P3=0.0,P4=NOT_APPLICABLE,GC=GE,RM=NONE
MULTIPOLYGON(((257.76284645559468 
7745.7076975815671,2490.025011025306 7746.5301512821934,2492.2163879532559 
7181.6425479723066,3276.1412438760321 7210.5951029770404,4429.0270760545409 
6817.9091369725729,4890.9737230091405 6736.5650032022368,11250.811878184026 
354.19735628215676,11251.785400765162 244.45756921568665,3537.7418346315158 
244.33482436588929,3523.5069250460119 2029.8367618071302,1881.7430005409099 
2028.8818991008357,1868.6640235103462 2447.8575431625686,258.92730402280057 
2434.9666589315798)))
SAULT-AU-COCHON À/TO QUÉBEC
  
  


















  
  

Palette

  
  
  
  
  
  
  
  
  
  
  
  
  
  


  E:\ms4w\apps\marinfo\data\BSB\131701.kap
  1
  
  
  

  


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