RE: [mapserver-users] MapScript CSharp save fontset

2009-02-18 Thread Hulbert, Brian
Regarding the contents of the fontset. I dynamically create the fontset file after indexing the fonts installed on the user's system. That makes it easier to just show the user a common Font dialog and allow them to choose the font they want. Regarding the fonset filename. Using M

RE: [mapserver-users] Scalebar (and C# mapscript) issue

2009-02-17 Thread Hulbert, Brian
Murty, It works fine for me using MapServer 5.0.2 with an equirectangular projection using a WGS84 geoid reference whether I'm zoomed to a world view or to a street-level view. Be sure you are setting the scalebar units member accordingly in C#. For example, scalebar.units = (int)OSGeo.MapSer

RE: [mapserver-users] MapServer and .NET?

2008-08-25 Thread Hulbert, Brian
to [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 11:05 AM To: Hulbert, Brian Subject: Re: [mapserver-users] MapServer and .NET? I have tried reference the file in my ms4w install directory, so: C:\Program Files\ms4w\Apache\cgi-bin\mapscript\csharp This was actually the first thing I

RE: [mapserver-users] MapServer and .NET?

2008-08-25 Thread Hulbert, Brian
PROTECTED] Sent: Monday, August 25, 2008 8:48 AM To: Hulbert, Brian Subject: Re: [mapserver-users] MapServer and .NET? Thank you sir. Indeed you had a couple more dll's than I but still after moving more over I receive the same error. I am trying to run a vb.net project but I also have a c

RE: [mapserver-users] MapServer and .NET?

2008-08-25 Thread Hulbert, Brian
I can't speak specifically to ASP.NET but for C#, I place all of the MapScript-related DLLs in the same directory as my C# application executable. Below are the files that I have in my Debug or Release folder for MapServer 5.0.2 cfitsio.dll gdal15.dll geos_c.dll geotiff.dll hdf5dll.dll ic

RE: [mapserver-users] Help To Add Layer on MAP Dynamically.....

2008-06-24 Thread Hulbert, Brian
Using MapServer 5.0.2 & C# with VS2005, I use some simple factory methods I built. /// Factory method to create a MapServer layer object of the specified type and Id /// NOTE: the layer is visible/on by default with an 100% opacity and a default lat/long "projection" /

RE: [mapserver-users] Coverting lat/long to pixel

2008-05-07 Thread Hulbert, Brian
Something else to consider if your map uses multiple (or switches between) "projections". My C# map application uses both equirectangular and orthographic projections. Therefore, I do the following before the lines of code that Sandeep presented: // create a Mapserver pointObj

RE: [mapserver-users] Getting a WMS service up and running from shape data

2008-04-09 Thread Hulbert, Brian
I think you need to set the status of your hvalross layer to ON LAYER NAME hvalross TYPE POLYGON DATA hvalross/hvalross_utbredelse STATUS ON From: [EMAIL PROTECTED] [mailto:[EMAI

RE: [mapserver-users] Unable to access Grid Object (GridObject) via C# MapScript interface (related to bug 1980)

2008-04-04 Thread Hulbert, Brian
trying to change the LABELFORMAT of the grid object within my grid layer. Tx, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tamas Szekeres Sent: Wednesday, April 02, 2008 12:53 PM To: Hulbert, Brian Cc: mapserver-users@lists.osgeo.org Subject: Re

RE: [mapserver-users] Unable to access Grid Object (GridObject) via C# MapScript interface (related to bug 1980)

2008-04-02 Thread Hulbert, Brian
EMAIL PROTECTED] On Behalf Of Tamas Szekeres Sent: Tuesday, April 01, 2008 4:48 PM To: Hulbert, Brian Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Unable to access Grid Object (GridObject) via C# MapScript interface (related to bug 1980) You can probably use layerObj.UpdateFromS

[mapserver-users] Unable to access Grid Object (GridObject) via C# MapScript interface (related to bug 1980)

2008-04-01 Thread Hulbert, Brian
I have a MAP file that contains a layer for displaying graticule (see below). However, after the first refresh, the labelformat for my grid object is lost. This was noted in bug 1980 . I cannot find a workaround for this bug by traversing the layer->