RE: [mapserver-users] Encoding issues

2009-02-06 Thread Murty Maganti
Hello Great. It worked. Thanks a lot for your quick help. Thanks Murty From: Tamas Szekeres [mailto:szeker...@gmail.com] Sent: Friday, February 06, 2009 6:59 PM To: Murty Maganti Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Encoding issues You might have to mak

[mapserver-users] Re: Regarding Apache

2009-02-06 Thread jim white
Gregor at HostGIS wrote: > We use PHP/MapScript extensively, but for the rendering we > use shp2img via the `` operator. This gets around the freezing problem, > as well as a few other bugs in draw() which we found unacceptable. > We're always interested in making PHP MapScript better, e

Re: [mapserver-users] Encoding issues

2009-02-06 Thread Tamas Szekeres
You might have to make explicit conversion maually something like: string value = "لققافعععىىةةونه"; //I actually get this (in arabic) through user input byte[] bytes = Encoding.Convert(Encoding.Unicode, Encoding.GetEncoding(1256), Encoding.Unicode.GetBytes(value));

RE: [mapserver-users] Encoding issues

2009-02-06 Thread Murty Maganti
HI I am doing a simple thing. I have a map file and trying to show some static text in Arabic on map. You can try this with any map file as it is nothing to do with layers from map. At run time (like on a button click), please add this layerObj lyr = new layerObj(mapO

Re: [mapserver-users] Encoding issues

2009-02-06 Thread Tamas Szekeres
Please send me your example so that I could examine what's going on. Best regards, Tamas 2009/2/6 Murty Maganti > Hi > > > > I tried with the suggested encoding but still no success. > > From the output below, I guess ICONV support is included. > > > > E:\Utils\MapServer\Map Server 5.2 RC\m

RE: [mapserver-users] Encoding issues

2009-02-06 Thread Murty Maganti
Hi I tried with the suggested encoding but still no success. >From the output below, I guess ICONV support is included. E:\Utils\MapServer\Map Server 5.2 RC\ms4w\Apache\cgi-bin>mapserv -v MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-06 Thread Lars Lingner
thomas bonfort schrieb: > I've created a wiki page with (I hope) a step by step tutorial for > rendering OSM data with mapserver. > enjoy it (or hate it) here: > > http://trac.osgeo.org/mapserver/wiki/RenderingOsmData Thank you. You put a lot of work in this! It was a big surprise to see that MI

Re: [mapserver-users] Encoding issues

2009-02-06 Thread Tamas Szekeres
Hi, You might want to try with encoding="ISO-8859-6" assuming you have libiconv compiled in. The c# mapscript doesn't specify explicit conversion during the marshaling. In this case I assume an unicode to Charset.Ansi conversion will automatically takes place by default. Best regards, Tamas

Re: [mapserver-users] Re: [OpenLayers-Users] WFS Server Control output by scale?

2009-02-06 Thread pcreso
Hi, I have found that using PostGIS for this has some nice options. USe different zoom or scale based layers, with MINSCALE, MAXSCALE parameters. Mapserver providing the layers via WFS, as a single group of scale dependent queries on the same table. That way you can have one table with all the

Re: [mapserver-users] c# or php?

2009-02-06 Thread Pietro Giannini
Hi Michele, I'm currently working on a C# MapScript application on a SharePoint environment. I cannot answer your 1st question, but if you already developed a test app you shouldn't have problems... I currently use the csharp_mapscript that came with the last ms4w, no matter to recompile it. Mayb

[mapserver-users] Encoding issues

2009-02-06 Thread Murty Maganti
Hello I am having some issues using Arabic text as labels. I am using C# map script. I am setting the following at runtime labelObj label = classObj.label; label.encoding = "CP1256"; label.text = "some text in Arabic"; (At rune time in VS, I can see the text is actually in Arabic) Bu

Re: [mapserver-users] c# or php?

2009-02-06 Thread Tamas Szekeres
Michele, It is possible to compile mapserver with many of the dependencies (but not all) for x64 and I have a couple of code could run on WS2003 x64 in ASP.NETenvironment. But using this option might be surprising definitely, since only a few feedback we got about the possible issues in a real pro

[mapserver-users] c# or php?

2009-02-06 Thread Shimomura, Michele L.- Environmental Health
Hi all, I'm pretty new to MapServer and I've created some proof of concept apps, but I'm at a decision point for how to move forward and would like to hear others' opinions. First, the small applications that I created were in Visual Studio 2008 using the c# mapscript that came with the M

RE: [mapserver-users] Is there a way to change the background color atthe url?

2009-02-06 Thread boesiii
Thanks that worked. I forgot to add "map." before imagecolor -- View this message in context: http://n2.nabble.com/Is-there-a-way-to-change-the-background-color-at-the-url--tp2284718p2284855.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

RE: [mapserver-users] Is there a way to change the background color atthe url?

2009-02-06 Thread Fawcett, David
This URL should give you what you want: http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/apps/workshop08/hellowo rld.map&mode=map&map.imagecolor=255+255+255 David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf

[mapserver-users] Is there a way to change the background color at the url?

2009-02-06 Thread boesiii
In my map file I specify the color using "IMAGECOLOR205 205 205". In my main html template I have a button to setup a new webpage for nicer printing but I would like the background to be white and not "205 205 205" (it's a light grey). Is there anyway to change image color in the url. Below

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-06 Thread thomas bonfort
I've created a wiki page with (I hope) a step by step tutorial for rendering OSM data with mapserver. enjoy it (or hate it) here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData best regards, thomas On Thu, Jan 1, 2009 at 17:26, wrote: > Anyone have a mapfile with the symbology correspon

Re: [mapserver-users] Regarding Apache

2009-02-06 Thread Daniel Morissette
Gregor at HostGIS wrote: We use PHP/MapScript extensively, but for the rendering we use shp2img via the `` operator. This gets around the freezing problem, as well as a few other bugs in draw() which we found unacceptable. We're always interested in making PHP MapScript better, especially w

[mapserver-users] Re: [OpenLayers-Users] WFS Server Control output by scale?

2009-02-06 Thread Alexandre Dube
Hi Stephen, Like Eric said, using minScale and maxScale in your layer options should do what you're want to do. I also had a similar problem trying to display vector polygons at small scales ( like 1:1300 ). Here's what I did : - I determined fixed scales to work with - I normalized my

RE: [mapserver-users] Multilingual map files

2009-02-06 Thread Kralidis,Tom [Ontario]
> -Original Message- > From: Peter Hopfgartner [mailto:peter.hopfgart...@r3-gis.com] > Sent: Friday, 06 February 2009 05:29 > To: Kralidis,Tom [Ontario] > Cc: mapserver-users@lists.osgeo.org; Paolo Viskanic > Subject: Re: [mapserver-users] Multilingual map files > > Kralidis,Tom [Ontar

Re: [mapserver-users] Multilingual map files

2009-02-06 Thread Peter Hopfgartner
Kralidis,Tom [Ontario] wrote: -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Hopfgartner Sent: Wednesday, 04 February 2009 08:47 To: mapserver-users@lists.osgeo.org Cc: Paolo Viskanic Subject: [

Re: [mapserver-users] Regarding Apache

2009-02-06 Thread Gregor at HostGIS
Amiya Patra wrote: *PHP/MapScript and PHP has a habit of causing Apache to effectively freeze* But how to solve that one... If you suspect that that's the problem with your server, do what everyone else does: compile and run PHP as a CGI program, not as a DSO. It is u

Re: [mapserver-users] Regarding Apache

2009-02-06 Thread Amiya Patra
*PHP/MapScript and PHP has a habit of causing Apache to effectively freeze* But how to solve that one... On Fri, Feb 6, 2009 at 1:33 PM, Gregor at HostGIS wrote: > Apache is crashing? Ouch. > > Question: Are you using PHP/MapScript and PHP as a DSO instead of a CGI? > Th

Re: [mapserver-users] Regarding Apache

2009-02-06 Thread Gregor at HostGIS
Apache is crashing? Ouch. Question: Are you using PHP/MapScript and PHP as a DSO instead of a CGI? That has a habit of causing Apache to effectively freeze but not crash. -- Gregor Mosheh / Greg AllensworthBS, A+, Network+, Security+, Server+ System Administrator, Lead Programmer HostGIS d