[mapserver-users] GMLtoWKT

2009-01-28 Thread Nelson Soto
Is anyone aware of how to convert coordinates from a WFS's GML to WKT
acceptable coordinates? This is driving me crazy.

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


RE: [mapserver-users] Obama Campaign - Mapping voters with Mapserver, PostGIS and Openlayers

2008-11-24 Thread Nelson Soto
Makes me sick. Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of karsten
vennemann
Sent: Monday, November 24, 2008 4:36 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Obama Campaign - Mapping voters with
Mapserver,PostGIS and Openlayers

I wanted to share this with you all. 
http://www.terragis.net/2008/11/24/obama-campaign-mapping-voters-with-ma
pserver-postgis-and-openlayers/
Karsten
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Confirmation of status of UTF8 support, andwhere transcoding to Latin-1 may be happening.

2008-11-24 Thread Nelson Soto
The problem, it seems, is with Mapserver's UTF-8-type of support. To
clarify, UTF-8 is supported just fine in Mapserver, but if it is a
UTF-typeof encoding, then it tried to convert to UTF-8 which doesn't
seem to work well.

The data is in latin1 but is Unicode encoded, so that you achieve the
same thing in most environments and just about every program can
interpret this. Mapserver does have a little trouble with this. The
thing is, though, that it isn't so much ArcSDE as it is MSSQL, I think.
Could be wrong on that part but to make a long story short, I think
Mapserver is the component that converts the unicoded encoded latin1
into something that doesn't work. It's a standard-based process, I
think, so I doubt anything will change on the SDE half of it for the
seeming future. 

Not finger-pointing, I'm just expressing my interpretation of the
situation.

You can dump your ArcSDE config to a file and disable UNICODE_ENCODING
(I think that's the name of the field) and then reimport the file into
SDE and this will mean the collation and encoding will remain latin1 in
your case, but you will need to re-import all of your SDE data for the
change to take affect. This proved to be unsatisfactory for us and we
decided to take a 'wait-and-see' approach.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Russell
McOrmond
Sent: Monday, November 24, 2008 8:40 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Confirmation of status of UTF8 support,
andwhere transcoding to Latin-1 may be happening.


On Sat, 22 Nov 2008, Russell McOrmond wrote:

  I have a customer that is using MapServer, talking through ArcSDE to
an 
 Oracle database.

   Chris Whitteker is working on the same project, and I would like to 
apologize for duplicating the question.

   Howard Butler replied to Chris and suggested that the transcoding
from 
UTF-8 to Latin-1 is most likely happening within ArcSDE.  We have some 
peole here that are experts on SDE, but want to avoid the
finger-pointing 
(IE: They say the problem is in mapserver, and this list suggests the 
problem is in SDE).

   Can I get a quick confirmation that Mapserver supports UTF8 encoding,

and doesn't internally transcode to Latin-1?  Does it have the option to

transcode that we might have inadvertantly enabled?  This would help us 
know that we should focus our investigation on the settings of SDE and
not 
settings within mapserver.

   Howard Butler then asked Do you know what the SOIL_ORDER_NAME_FR
column 
type is defined as?

   Are you asking how the table is defined in the Oracle Database
(Answer: 
UTF8, confirmed by our database folks), or how it is defined elsewhere
in 
configuration for SDE or mapserver?

-- 
  Russell McOrmond, Internet Consultant: http://www.flora.ca/
  Please help us tell the Canadian Parliament to protect our property
  rights as owners of Information Technology. Sign the petition!
  http://digital-copyright.ca/petition/ict/ http://KillBillC61.ca

  The government, lobbied by legacy copyright holders and hardware
   manufacturers, can pry control over my camcorder, computer,
   home theatre, or portable media player from my cold dead hands!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapserver Thread Safety

2008-11-19 Thread Nelson Soto
So I kind of feel stupid at the moment...

 

I had one understanding of thread safety and now I think I have another

 

My first understanding was that if multiple users were accessing a site
programmed very basically (not with any type of multi-threading code)
but simply the fact that multiple users were making requests that they
could potentially bump into requests and not return the same result if
only one user were making requests.

 

Now, I think it means specifically programming for a multi-threaded
application so that you are using multiple code paths asynchronously in
a given request would not be recommended without placing code-locks for
various features.

 

Can someone please clarify for me what the thread-safety is in regards
to Mapserver and Mapscript C#, PHP and Java and perhaps clarify one
thing; If I am programming without implementing multiple threads in code
but plan to have multiple users accessing the site, will they bump into
any requests?

 

Sorry for the ignorance, and thank you..

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


RE: [mapserver-users] Mapserver Thread Safety

2008-11-19 Thread Nelson Soto
Sounds good. Thanks, Umberto!

-Original Message-
From: Umberto Nicoletti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2008 9:36 AM
To: Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver Thread Safety

On Wed, Nov 19, 2008 at 3:10 PM, Nelson Soto [EMAIL PROTECTED]
wrote:
 So I kind of feel stupid at the moment...

 I had one understanding of thread safety and now I think I have
another

that is the effect of learning, congrats!


 My first understanding was that if multiple users were accessing a
site
 programmed very basically (not with any type of multi-threading
code) but
 simply the fact that multiple users were making requests that they
could
 potentially bump into requests and not return the same result if only
one
 user were making requests.

 Now, I think it means specifically programming for a multi-threaded
 application so that you are using multiple code paths asynchronously
in a
 given request would not be recommended without placing code-locks for
 various features.

Depending on the platform you are using both statements can be true as
they are different cases of multi-threading.

In the case of mapserver the checklist is as follows:

If you are using mapserver as a CGI then thread safety is not an issue
for you because each request will be handled by a new process that
will die immedately after so basically there is no chance of 'bumping
into others' requests' as you call it.

Same if you're using python, because of a quirk in the python
interpreter called GIL (Global Interpreter Lock) which stops the whole
python interpreter when entering external code such as the C shared
library of mapcript.

If you are using fastcgi AND have compiled mapserver with thread
support also no need to worry, unless you use one of the unsafe
components listed in the thread safety FAQ on the mapserver web site.

If you are using Java/C#/PHP/Ruby AND have compiled mapserver with
thread support you don't have to worry that much actually because
mapserver will lock properly when entering the same thread-unsafe code
paths listed in the FAQ cited above.

So your question eventually boils down to: should I also place locks
in my C#/Java code?
In general I would say it is not (I don't in my java app) provided
that you don't share mapscript objects between requests: don't create
a mapObj at the beginning of the session and reuse it for all the
session. Create a new mapObj with every request instead.

HTH,
Umberto


 Can someone please clarify for me what the thread-safety is in regards
to
 Mapserver and Mapscript C#, PHP and Java and perhaps clarify one
thing; If I
 am programming without implementing multiple threads in code but plan
to
 have multiple users accessing the site, will they bump into any
requests?



 Sorry for the ignorance, and thank you..

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


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


[mapserver-users] Mapscript C# threadsafety issue?

2008-11-17 Thread Nelson Soto
Is this still an existing issue with Mapscript C#? Are there any other
limitations to this version of the Mapscript that I should be aware of?

 

Thank you,

Nelson 

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


[mapserver-users] Labelling

2008-10-31 Thread Nelson Soto
Is it possible to create a label and position it with given coordinates?
If I do not like the positioning of the labels, can I in any way specify
my own?

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


RE: [mapserver-users] Labelling

2008-10-31 Thread Nelson Soto
Thanks Dave and Dan,

 

Pretty much both of you are kind of getting at the same ideas I had. I
guess I asked in an ambiguous way because it doesn't pertain to a
specific situation. The point layer specific for labeling I think it the
way I'll have to go but David did touch on something interesting that I
wasn't sure you could do:

 

On your first suggestion, are you saying I could create a point feature
and label it using 'TEXT'? If so, can I do this without having the point
be visible? Then you mention I could use an annotation type layer
instead. Does the same apply as far as being able to specify x and y
cords and use a 'TEXT' clock to label? If so then that is an interesting
feature!

 



From: Fawcett, David [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 1:18 PM
To: Daniel Degasperi; Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Labelling

 

It isn't exactly clear to me what you are trying to accomplish Nelson.
I see two possibilities:

 

a.  If you want to create a label that is independent from the features
in your data set, you can create a class with an inline feature, setting
the x and y coords, and using 'text' to specify what the label text
should be.  You could even create this labeled feature on the fly by
passing this info in as a URL configuration.  If you just want to show
the label, you could do this in an annotation layer instead of a
point/poly/line layer.  

 

b.  If you want to specify label points for your a point/poly/line
layer, you could create a point dataset of your label points and then
use that as the basis of an annotation layer 

 

With either of these methods, you could either specify the label
position to a fixed location, like the center, or upper left position,
or you could use auto and let MapServer find the best position for it.

 

David.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Degasperi
Sent: Friday, October 31, 2008 11:07 AM
To: Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Labelling

Hi,

you can't give some coordinates to your label. I solved the
problem by creating a point layer.



Nelson Soto schrieb: 

Is it possible to create a label and position it with given
coordinates? If I do not like the positioning of the labels, can I in
any way specify my own?








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






-- 
  Daniel Degasperi
  Software Developer
  [EMAIL PROTECTED]
  
---
  R3 GIS Srl
  Via Johann Kravogl 2
  I-39010 Merano - Sinigo (BZ)
  Tel. +39 0473 494949
  Fax. +39 0473 069902
  Web  http://www.r3-gis.com
-

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


[mapserver-users] Using JOIN and FILTERITEM

2008-10-21 Thread Nelson Soto
Hello,

 

Can I use FILTERITEM after I have done a JOIN?

 

I keep getting an error stating it can not find the JOINed field when
FILTERITEM is used...

 

LAYER # Parcels Polygon Layer

  NAME 'ParcelsAvailableSearch'

  DATA 'parcels_tiles/parcels.shp'

  STATUS DEFAULT

  TYPE POLYGON

  METADATA

qstring_validation_pattern '.'

  END

  TEMPLATE 'parcels/itemquery_parcels_flag.html'

JOIN

NAME extend

TABLE 'parcels_tiles/joint.dbf'

FROM 'LOC_ID'

TO 'LOC_ID'

TYPE ONE-TO-ONE

END

 

  FILTERITEM 'FLD_INT'

  FILTER /%id4%/

  CLASS 

  SYMBOL 'plainline' 

  SIZE 3 

  COLOR -1 -1 -1 

  OUTLINECOLOR 255 255 0

END

 

  END

 

Joint.dbf consists of two fields, LOC_ID and FLD_INT. I need FLD_INT but
it is subject to change so I need it in a separate file. So, I want to
generate an item query of everything that matched the FLD_INT which is
set by another program before hand. Can this be done?

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


[mapserver-users] ArcSDE MSSQL Label Items displaying incorrectly.

2008-10-01 Thread Nelson Soto
Has anyone else run into an issue where trying to display a labelitem from SDE 
that it is displayed incorrectly. 

This is my map file, it is for highways...


MAP
NAME 'Highways 2'
SIZE 800 650
STATUS ON
EXTENT  34847.155991 780218.437305 329932.687407 959485.530395
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT TRUE
IMAGETYPE PNG

QUERYMAP
STATUS ON
END

LEGEND
LABEL 
TYPE TRUETYPE
FONT ARIAL
SIZE 10
COLOR 0 0 0
END
STATUS ON
END

LAYER
NAME major_roads-sde
CONNECTIONTYPE PLUGIN
CONNECTION GEOTS,port:5151,medway,sa,geosql1230
PLUGIN D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
DATA medway.DBO.fcMajRoads,SHAPE
STATUS DEFAULT
TYPE LINE
MAXSCALE 25
SYMBOLSCALE 90
CLASSITEM ADMIN_TYPE
CLASS
NAME State Highway
EXPRESSION 3
STYLE
COLOR 120 120 120
SYMBOL 'plainline'
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
SYMBOL 'plainline'
SIZE 1
MINSIZE 1
MAXSIZE 2
COLOR 227 159 2
END
END
CLASS
NAME U.S. Highway
EXPRESSION 2
STYLE
COLOR 120 120 120
SYMBOL plainline
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
COLOR 109 223 77
SYMBOL plainline
SIZE 1
MINSIZE 1
MAXSIZE 2
END
END
CLASS
NAME Interstate
EXPRESSION 1
STYLE
COLOR 120 120 120
SYMBOL plainline
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
COLOR 255 255 136
SYMBOL plainline
SIZE 1
MINSIZE 1
MAXSIZE 2
END
END
END

LAYER
NAME major_roadsanno-SDE
CONNECTIONTYPE PLUGIN
CONNECTION GEOTS,port:5151,medway,sa,geosql1230
PLUGIN D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
DATA medway.DBO.fcMajRoads,SHAPE
STATUS DEFAULT
TYPE annotation
MAXSCALE 200
LABELITEM 'RT_NUMBER'
LABELCACHE ON
CLASSITEM 'ADMIN_TYPE'
CLASS
EXPRESSION '1'
COLOR 0 0 0 # dummy color
SYMBOL '../symbols/interstate.png'
LABEL
MINFEATURESIZE 25
MINDISTANCE 250
SIZE TINY
COLOR 254 254 254
END
END
CLASS
EXPRESSION '3'
COLOR 0 0 0 # dummy color
SYMBOL '../symbols/USHWY.png'
LABEL
  MINFEATURESIZE 25
  MINDISTANCE 200
  SIZE TINY
  COLOR 0 0 0
END
END
CLASS
EXPRESSION '2'
COLOR 0 0 0 #dummy color
SYMBOL '../symbols/STHWY.png'
LABEL
MINFEATURESIZE 25
MINDISTANCE 150
SIZE TINY
COLOR 0 0 0
END
END
END
END

If I replace the RT_Number field for an integer field, it displays correctly. 
But if I use the RT_NUMBER (which the data exists as intended when checked) it 
looks like âê and so on.

-Original Message-
From: Andreas Albarello [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 4:25 PM
To: Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.


On 30 Sep 2008, at 21:56, Nelson Soto wrote:

 After tracing dependencies with Dependency Walker, I can see sde.dll  
 and
 libmap.dll aren't loading correctly when loading  
 'msplugin_sde_92.dll'.

 Any ideas on how to alleviate this?

Nelson,

dynamically loaded plugin dlls which in turn require other statically  
compiled libraries is where Windows dll hell starts to get really  
ugly. Windows tries to locate your sde libraries either in one of the  
directories contained in your %PATH% (probably set by setenv.bat but I  
don't use MS4W so I can't help you there) or, preferably, in the  
application's folder. By that, if I'm not mistaken, they mean the  
directory which the main executable image of your app is launched  
from, so probably the one containing mapserv.exe (or maybe the one  
where libmap.dll resides?). It's definitely not going to work if you  
place them

RE: [mapserver-users] ArcSDE MSSQL Label Items displaying incorrectly.

2008-10-01 Thread Nelson Soto
Thank You!!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Fincham
Sent: Wednesday, October 01, 2008 3:52 PM
To: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] ArcSDE MSSQL Label Items displaying incorrectly.

Hi Nelson,

Yeah, I had this problem a few months back, it all has to do with
Mapserver and Unicode, basically they don't like each other ;) .

What you need to do is unload your data, disable Unicode and then
reload it, for further reading on how to do this go here;-

http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Language_suppo
rt_in_the_geodatabase

Basically you need to set UNICODE_STRING FALSE using sdedbtune,
then when you load your data it will be just plain old text that mapserver
does not have a problem with.

Thanks

Neil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nelson Soto
Sent: Thursday, 2 October 2008 3:29 a.m.
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] ArcSDE MSSQL Label Items displaying incorrectly.

Has anyone else run into an issue where trying to display a labelitem from
SDE that it is displayed incorrectly. 

This is my map file, it is for highways...


MAP
NAME 'Highways 2'
SIZE 800 650
STATUS ON
EXTENT  34847.155991 780218.437305 329932.687407 959485.530395
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT TRUE
IMAGETYPE PNG

QUERYMAP
STATUS ON
END

LEGEND
LABEL 
TYPE TRUETYPE
FONT ARIAL
SIZE 10
COLOR 0 0 0
END
STATUS ON
END

LAYER
NAME major_roads-sde
CONNECTIONTYPE PLUGIN
CONNECTION GEOTS,port:5151,medway,sa,geosql1230
PLUGIN D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
DATA medway.DBO.fcMajRoads,SHAPE
STATUS DEFAULT
TYPE LINE
MAXSCALE 25
SYMBOLSCALE 90
CLASSITEM ADMIN_TYPE
CLASS
NAME State Highway
EXPRESSION 3
STYLE
COLOR 120 120 120
SYMBOL 'plainline'
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
SYMBOL 'plainline'
SIZE 1
MINSIZE 1
MAXSIZE 2
COLOR 227 159 2
END
END
CLASS
NAME U.S. Highway
EXPRESSION 2
STYLE
COLOR 120 120 120
SYMBOL plainline
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
COLOR 109 223 77
SYMBOL plainline
SIZE 1
MINSIZE 1
MAXSIZE 2
END
END
CLASS
NAME Interstate
EXPRESSION 1
STYLE
COLOR 120 120 120
SYMBOL plainline
SIZE 3
MINSIZE 1
MAXSIZE 4
END
STYLE
COLOR 255 255 136
SYMBOL plainline
SIZE 1
MINSIZE 1
MAXSIZE 2
END
END
END

LAYER
NAME major_roadsanno-SDE
CONNECTIONTYPE PLUGIN
CONNECTION GEOTS,port:5151,medway,sa,geosql1230
PLUGIN D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
DATA medway.DBO.fcMajRoads,SHAPE
STATUS DEFAULT
TYPE annotation
MAXSCALE 200
LABELITEM 'RT_NUMBER'
LABELCACHE ON
CLASSITEM 'ADMIN_TYPE'
CLASS
EXPRESSION '1'
COLOR 0 0 0 # dummy color
SYMBOL '../symbols/interstate.png'
LABEL
MINFEATURESIZE 25
MINDISTANCE 250
SIZE TINY
COLOR 254 254 254
END
END
CLASS
EXPRESSION '3'
COLOR 0 0 0 # dummy color
SYMBOL '../symbols/USHWY.png'
LABEL
  MINFEATURESIZE 25
  MINDISTANCE 200
  SIZE TINY
  COLOR 0 0 0
END
END
CLASS
EXPRESSION '2'
COLOR 0 0 0 #dummy color
SYMBOL '../symbols/STHWY.png'
LABEL
MINFEATURESIZE 25
MINDISTANCE 150
SIZE TINY
COLOR 0 0 0
END
END
END
END

If I replace the RT_Number field for an integer field, it displays
correctly. But if I use the RT_NUMBER (which the data exists as intended
when checked) it looks like âê and so

RE: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Nelson Soto
Unfortunately, I'm trying to get the msplugin_sde_92.dll to even load as
a plug in at all. I get the following error :

msDrawMap(): Image handling error. Failed to draw layer named
'parcels-sde'. loadCustomLayerDLL: General error message. Failed to load
dynamic Layer LIB: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
msGetSymbol(): General error message. Can't load requested dynamic
library: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll

The path is correct but is likely one of that dll's dependencies...

Ogrinfo and gdalinfo took some time to report 'SDE' in the formats list
and it was due to not being able to find the ArcGIS SDK dlls... I
couldn't figure out why (I did run SETENV.bat) so I just copied them
into the gdal-ogr folder and didn't overwrite any of the files that
perhaps may be shared but I'm sure this will lead to issues...

What steps did you follow to get this set up correctly? I have used ms4w
instructions for enabling and this doesn't seem to be effective... I
have the ArcSDE 9.3 C API SDK installed.

-Original Message-
From: Huey Brantley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 3:29 PM
To: Steve Lime
Cc: mapserver-users@lists.osgeo.org; Nelson Soto
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.

I use MapServer with ArcGIS 9.3 with no problems.

On Tue, 2008-09-30 at 13:34 -0500, Steve Lime wrote:
 My assumption is that if it is not specifically stated that something
WON'T work with a particular
 version then it probably will work. I'd say try it. I don't have that
version handy or I'd do it myself.
 
 Steve
 
  On 9/30/2008 at 12:06 PM, in message

[EMAIL PROTECTED],
Nelson
 Soto [EMAIL PROTECTED] wrote:
  I have seen this question asked but have not found any answers; Is
  Mapserver capable of displaying and working with SDE 9.3??? The last
  noted version I can see is 9.2 and am curious as it is not
explicitly
  labeled as not working on the MapServer website.
  
   
  
  Thanks,
  Nelson
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapserver CGI and IIS 6 or 7

2008-09-17 Thread Nelson Soto
The instructions for getting IIS and Mapserver CGi seem dated as they do not
seem to detail how to get this done in full. I have tried the steps to no
avail. Only by reaching the farthest of pages in Google did I finally figure
out that you have to add an entry into the Web Service Extensions section of
IIS and point it to mapserv.exe. I am able to do this but still I can not
generate a map or even an error, just a blank page as if I am generally not
being served.

I do have scripts and executables enabled for the entire web folder which I
know is unsafe but I am just trying to rule out possibilities.

Of note: If I allow all unknown CGI extensions, I DO generate the error. My
question is for starters, is there an up-to-date set of instructions for
doing this and if so where may I locate them. If not, what other Web Service
Extensions must I allow in order to get this to function? I am pretty
positive the last key is in enabling the correct Web Service Extensions but
I do not want to just brutishly add every one that I have in my Bin folder.
Any help is, as always, highly appreciated.

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


[mapserver-users] ArcSDE

2008-08-29 Thread Nelson Soto
Does ms4w come compiled with ArcSDE capability or do I need to compile a
version of Mapserver that incorporates this functionality?

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


[mapserver-users] MapServer and .NET?

2008-08-25 Thread Nelson Soto
Hi Guys,

I am following the tutorial on
http://www.paolocorti.net/2006/09/20/mapserver-tutorial-for-c-mapscript-asp-net/
regarding
getting started with MapServer on .Net. I eventually hit a snag where I run
into error The type initializer for 'OSGeo.MapServer.mapscriptPINVOKE'
threw an exception when trying to run the demo application. I have tried
several demo projects in Visual Studio and I receive the same errors.
Running down the stack, this seems to be the general exception:

 {Unable to load DLL 'mapscript': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)}

This happens even with projects that are coming with there own mapserver.dll
and all other necessary filesinthe bin folder. Does anyone have any
experience with dealing with MapServer on .Net and can anyone help me or
point me in the right direction. Right now I guess I am looking at
downloading Dependancy Walker to try to see if I can get further into this
exception, but I just want to know if anyone else has ever run into this
before.

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


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

2008-08-25 Thread Nelson Soto
I figured out my problem... the examples seem to not include all necessary
files and eventually i just became engulfed in dll hell. storm the bin
folder with the most up to date dll's seems to suffice, no matter how ugly
it is. Thanks for the help guys.

On Mon, Aug 25, 2008 at 2:19 PM, Nelson Soto [EMAIL PROTECTED] wrote:

 If I am missing Sun's Java, will this cause this... the only evident
 dependency I can see missing is MSJAVA.dll and I'd rather not locate an old
 MSJAVA.


 On Mon, Aug 25, 2008 at 12:35 PM, Nelson Soto [EMAIL PROTECTED]wrote:

  I didn't realize you may have been asking for the 
 VB.NEThttp://vb.net/application project example that I have. This file 
 contains a project that
 looks to me as though it would compile into a program but I receive the same
 errors regardless of the type of project. Here you go:



 On Mon, Aug 25, 2008 at 12:28 PM, Nelson Soto [EMAIL PROTECTED]wrote:

  When running ProcMon directly on the server as opposed to on the
 development machine, I am noticing it is looking in the wrong places for
 some files... I am pretty sure my PATH is set correctly though...

 Here is the original file I downloaded. This file contains, I assume, all
 the files necessary to run in its bin folder and ideally this type of setup
 would work for me to.

 I am starting fresh against with the same file I am sending you for the
 sake of making things less complicated.

 Edit: I tried to email the zip but it insists there is an executable and
 blocks the ability for me to send it to you. If you don't mind, I may have
 to send it to you from my work e-mail account: [EMAIL PROTECTED] I
 have renamed the file but it is a zip.
   On Mon, Aug 25, 2008 at 12:09 PM, Tamas Szekeres [EMAIL PROTECTED]wrote:

 If you send me your vb.net example then I could do a test with it.

 Best regards,

 Tamas



 2008/8/25 Nelson Soto [EMAIL PROTECTED]:
  I am using the ProcMon but unfortunately when I run up to the
 exception, I
  receive nothing useful at all... nothing that clearly point to any
 files not
  being loaded correctly. I am filtering for WebDev.WebServer.EXE
 because this
  seems to be the local ASP.NET http://asp.net/ process that runs
 when I run the page. Also, I
  tried running ProcMon against a compiled vb.net application and
 likewise am
  not seeing and inidcation of what can be wrong... Should the Resul I
 am
  looking for be 'NAME NOT FOUND'.
 
  I appreciate the help by the way and realize this is up to me to
 figure out.
  Thanks for your time.
 
  On Mon, Aug 25, 2008 at 11:16 AM, Tamas Szekeres [EMAIL PROTECTED]
 
  wrote:
 
  2008/8/25 Nelson Soto [EMAIL PROTECTED]:
   Tamas, I may very well be using your Mapserver vbproject as one of
 my
   references... at least, the Folder is labelled
 MapserverTestVB_Tamas...
   anyways,
  
   I've just read the supplied link and after compiling the vb project
 into
   an
   exe it crashes with the same error. The way I read the information,
 this
   leads me to believe it isn't necessarily a rights issue.
   Also, I would beleive the demo project would have been configured
   correctly
   if others are using it as an example. I have just downloaded
 dependancy
   walker but I'm sort of new to it. I opened the MapserverTestVB.exe
   program
   from dependancy walker.
  
   It opens up shlwapi.dll and ieframe.dll's with hour glasses and the
   error
   below says:
  
 
  You should start by examining the unmanaged dlls, 'mapscript.dll'
  would be a good candidate to choose. Since you've already copied all
  of the dll-s into the same folder you should see all of the
  dependencies available.
 
 
  
   Warning: At least one module has an unresolved import due to a
 missing
   export function in a delay-load dependent module.
  
   It's worth noting that whether I run a c#, vb.net, or asp.netproject
   example, I receive the same exception in Visual Studio:
  
{Unable to load DLL 'mapscript': The specified module could not
 be
   found. (Exception from HRESULT: 0x8007007E)}
  
 
 
  You should inspect the execution by using the SysInternals FileMon or
  ProcMon can be downloaded from here:
  http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
 
  By setting up and exclude filter by excluding all of the processes
  (except for yours) in the debug output would help to reduce the
 amount
  of rows appearing in the list. (For the ASP.NET 
  http://asp.net/applications your app
  is probably running under the context of the aspnet_wp.exe or
 w3wp.exe
  depending on your platform.) Then make sure about which dll-s
 couldn't
  be loaded at run-time.
 
 
 
  Best regards,
 
  Tamas
 
 





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


[mapserver-users] Scaling Labels

2008-05-20 Thread Nelson Soto
This is a pretty dumb question but:

Is there an easy way to make label sizes scale with respect to the
view? Or must I create a bunch of MAXSCALE MINSCALE LABELSIZE entries?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] FastCGI ms4w

2008-05-20 Thread Nelson Soto
Has anyone had any success getting fastcgi to run on MS4W? Can I be
pointed to any references I need to get this started?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] using GDAL to display a PNG Raster.

2008-05-16 Thread Nelson Soto
Hello,

I have a PNG that I would like to use as an overlay for a 2x6 set of
aerial tiles. I just want to use MINSCALE and MAXSCALE to turn one and
the other off and on.

That isn't the problem I'm having.

I can't get the PNG to display. The file itself is fine, but I can not
make a mapfile display the PNG.

I have made a new mapfile that I want to just display the PNG first
before possibly integrating it into the same mapfile as my tileindex.
I know that the PNG is supposed to be georeferenced but I don't know
how to create those files so I would like to use GDAL to output the
PNG as I hear It will simply apply the extents.

Here is what I have:

MAP
NAME 'overlay'
SIZE 800 650
STATUS ON
EXTENT  201000.00 874000.00 213000.00 882000.00
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT OFF
IMAGETYPE PNG

OUTPUTFORMAT
NAME png
DRIVER GDAL/PNG
MIMETYPE image/png
FORMATOPTION TARGET=95
IMAGEMODE PC256
END

QUERYMAP
STATUS ON
STYLE SELECTED
END

WEB
INCLUDE /ms4w/apps/GeoMOOSE/maps_test/web_config.map
END

LEGEND
STATUS OFF
END

LAYER
NAME overlay
STATUS DEFAULT
TYPE RASTER
DATA overlay.png
#MINSCALE 14000
END


END ## end Map

Also, the PNG is color. I would like my overlay to certainly be in color.

The mapfile and png are in the same dir.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Transparencies and IE6

2008-05-08 Thread Nelson Soto
I am having trouble getting cross-browser uniformity with MapServer.
None of my transparent-enabled layers appear to draw at all under IE6
and in Firefox 2 The layers draw, but without transparency enabled.
They work as expected with IE7 however. Is there a known issue with
this?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Tile Indexing Shape files.

2008-05-08 Thread Nelson Soto
I'm trying to split up and index my parcel layer and perhaps other
layers to address performance concerns. I have used the shp2tile
program to split my files, but now where do I go from here? I have
used gdaltindex before to utilize orthos that were already tiled, so I
understand the concept but this is slightly different. What do I do
from here?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users