[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/ vbkt

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

2012-04-19 Thread Frost89
I'll try to be a bit more specific :) Below I've posted my layers as they look in the mapfile. I'm drawing the PDF with C# MapScript in a webapplication. When debugging, I can see that it fails when calling draw() on my mapObj. It doesn't fail everytime, but most of the time. In my logfile it st

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

2012-04-19 Thread Frost89
It is a line layer with roads, and the label is the name of the roads. The problem is only when we try to output as PDF. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Possible-bug-Cairo-PDF-output-labels-tp4894039p4897192.html Sent from the Mapserver - User mailing list ar

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

2012-04-18 Thread Frost89
We're trying to output a PDF with the Cairo driver. When printing a label with ANGLE set to follow, auto or an attribute, it fails regularly. Has anyone experienced this before? A solution or workaround? /Kristian -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Possible-bug

[mapserver-users] Re: Problem with ECW files

2011-01-18 Thread Frost89
Problem solved! I had to add a reference to my Visual Studio project to the gdal_csharp.dll. Now, I have the GDAL interface when adding using OSGeo.GDAL to my class. This allows me to use the following code to load the right DLL's: String gdal_bin_path = @"c:\path\to\my\binaries"; String gdal_d

[mapserver-users] Re: Problem with ECW files

2011-01-14 Thread Frost89
Tamas Szekeres wrote: > Try setting GDAL_DRIVER_PATH using SetConfigOption to the path of the > plugin directory. Thanks for the quick reply :) I'm not sure where I'm supposed to use SetConfigOption? - Kristian Frost -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Prob

[mapserver-users] Problem with ECW files

2011-01-13 Thread Frost89
I'm trying to show a ECW file in my application. I have checked with gdalinfo that GDAL supports the ECW format, and it is able to read the file. When using shp2img I'm able to create a image showing the ECW file. But when I try using my app. which uses MapScript to create a WMS service I get a s

[mapserver-users] Re: Compiling in Visual Studio 2008

2010-10-14 Thread Frost89
Hi Sumit Thanks for the answer. I'm a newbee at anything thats not .NET, but this solution would really help in a project I'm on. Do you know anywhere I can read more about setting up/creating this project? Or can you post an example if it's not too complicated? /Kristian Frost -- View this mes

[mapserver-users] Compiling in Visual Studio 2008

2010-10-14 Thread Frost89
Hi all Is it possible to make a MapServer source project in VS2008? So that I can compile it within VS2008, along with my other projects? /Kristian Frost -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compiling-in-Visual-Studio-2008-tp5634683p5634683.html Sent from the

[mapserver-users] Output geospatial PDFs

2010-09-17 Thread Frost89
Is MapServer able to output geospatial PDFs? I know that PDFlib is able to handle it in version 8 (commercial), but appearently not in PDFlib Lite as MapServer uses. http://www.pdflib.com/pdflib-cookbook/geospatial-pdf/starter-geospatial/ PDFlib cookbook about geospatial PDFs http://en.wikipedi

[mapserver-users] Re: MapScript dlls?

2010-09-17 Thread Frost89
I use this build for my ASP.NET application: http://vbkto.dyndns.org/sdk/ http://vbkto.dyndns.org/sdk/ They are compiled for Windows, so as far as i can tell they should work. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MapScript-dlls-tp5537964p5541780.html Sent fro

[mapserver-users] MapScript WMS Server - Custom exceptions

2010-09-17 Thread Frost89
Hi all I have created a C# MapScript wrapper for a WMS server. Now, I want to add some "vendor-specific parameters" to the request (e.g.: "http://server/wms?request=getmap&...&login=usr&password=pwd";) This I have also made work, to a point. When the user enters invalid information, I just retur

[mapserver-users] Re: Mapscript WFS wrapper for C-sharp

2010-03-05 Thread Frost89
Is there anywhere I can find a working VS2008 project with MapScript? -- View this message in context: http://n2.nabble.com/Mapscript-WFS-wrapper-for-C-sharp-tp4661038p4680236.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

[mapserver-users] Re: Mapscript WFS wrapper for C-sharp

2010-03-04 Thread Frost89
I tried using your binaries, but now Visual Studio's webserver crashes without any error messages. -- View this message in context: http://n2.nabble.com/Mapscript-WFS-wrapper-for-C-sharp-tp4661038p4674525.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

[mapserver-users] Re: Mapscript WFS wrapper for C-sharp

2010-03-03 Thread Frost89
Hi Tamas, and thanks for the answer :) Unfortunately, when adding all the dll's from apache/cgi-bin I get http://img517.imageshack.us/img517/6708/screenshotruntimeerror.jpg this runtime error . And then a message like this: [FileLoadException: Det lykkedes ikke at initialisere en DLL. (Exception

[mapserver-users] Mapscript WFS wrapper for C-sharp

2010-03-02 Thread Frost89
Hi list I've been trying to make a C-sharp wrapper for WFS. I'm using MS4W's binaries. I have added a reference for MapScript to my Visual Studio project. When I try to execute this code: OWSRequest req = new OWSRequest(); req.loadParams(); mapObj map = new mapObj("C:/Udv/CSharp/We

[mapserver-users] Re: How use WMS and WFS webservices

2010-02-12 Thread Frost89
Hi Venkat Do you want to create a WMS/WFS with your data, or do you want to use another WMS/WFS in your application? - Kristian Frost -- View this message in context: http://n2.nabble.com/How-use-WMS-and-WFS-webservices-tp4559549p4559895.html Sent from the Mapserver - User mailing list archive

[mapserver-users] PDFlib versions

2010-02-12 Thread Frost89
Hi again I've just read that georeferenced PDF will be available in PDFlib 8. Now, I know MapServer uses PDFlib Lite 7 but would it be possible to compile MS with PDFlib 8? - Kristian Frost -- View this message in context: http://n2.nabble.com/PDFlib-versions-tp4559844p4559844.html Sent from t

Re: [mapserver-users] Raster layer as a way of branding

2010-02-03 Thread Frost89
That's exactly what i was looking for, thanks a lot. - Kristian -- View this message in context: http://n2.nabble.com/Raster-layer-as-a-way-of-branding-tp4439127p4507272.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapse

[mapserver-users] Re: PNG24 problem in IE6

2010-01-22 Thread Frost89
You can try this: http://www.twinhelix.com/css/iepngfix/ http://www.twinhelix.com/css/iepngfix/ . -- View this message in context: http://n2.nabble.com/PNG24-problem-in-IE6-tp4408017p4439253.html Sent from the Mapserver - User mailing list archive at Nabble.com.

[mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Frost89
Hi I was wondering if it's possible to generate a map with a raster layer/png in the bottom right corner? As a way of branding the map with our company logo. /Kristian -- View this message in context: http://n2.nabble.com/Raster-layer-as-a-way-of-branding-tp4439127p4439127.html Sent from the Map