Re: [mapserver-users] Drawing a Line From A Set Start Point to End Point
Hi Lena, if tried this code and it works. $mypoints=array( array(1,1), // 1. point array(40,1), // 1. point array(40,80), // 1. point array(1,80), // 1. point array(1,1), // 1. point ) $myline=ms_newLineObj(); foreach ($mypoints as $key = $value) { $myline-addXY($value[0],$value[1]); } //Create the shape object that will be added to the layer $shape=ms_newShapeObj(MS_SHAPE_LINE); $shape-add($myline); $this_layer_tornado-addFeature($shape); Erik Hello, I am trying to draw tornado paths on my map that I am creating, but I am having a little bit of trouble because now it won't even plot the initial point on my map. The following is my code for attempting to draw a line from start to finish. If anyone has any helpful information, it would be greatly appreciated while($row=mysql_fetch_assoc($result)){ $mypoint=ms_newPointObj(); $mypoint-setXY($row['lon_td'],$row['lat_td']); $myline=ms_newLineObj(); $myline-add($mypoint); $endpoint=ms_newPointObj(); $endpoint-setXY($row['lon_lift'],$row['lat_lift']); $myline-add($endpoint); $mypoint-draw($map,$this_layer_tornado,$image,0,''); } //Create the shape object that will be added to the layer $shape=ms_newShapeObj(MS_SHAPE_LINE); $shape-add($myline); $this_layer_tornado-addFeature($shape); Thank you, Lena -- *Lena Olympio* ___ 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
RE: [MAPSERVER-USERS] Connection parameter errors while using Postgres DB Schema
Dear Carlos, Never thought that it will be such easy. Thanks a ton! It worked :) Regards, Ritesh Ambastha Carlos Ruiz-5 wrote: Ritesh, There's a way to stablish the default schema to a postgres user when it connects, maybe this can help you to pull the data from postgres. To check what's the current default user's schema, you need to execute this: SHOW search_path It must throw $user, public So, to set the default user's schema, you execute this: ALTER USER user_name SET search_path TO schema_name I suggest you to create a new role to connect to the database via map file, and then change its default schema. Another thing (maybe this was the first step) is to check if the user postgres is the owner of the schema, and if it's not, then check if it haves the USAGE privilege on it. Hope this information helps IC Carlos Ruiz --- On Wed, 7/16/08, Ritesh Ambastha [EMAIL PROTECTED] wrote: From: Ritesh Ambastha [EMAIL PROTECTED] Subject: RE: [MAPSERVER-USERS] Connection parameter errors while using Postgres DB Schema To: mapserver-users@lists.osgeo.org Date: Wednesday, July 16, 2008, 4:37 AM Hey Venkat, Thanks for the details. I understand the standard way to write a connection parameter. I am sure that this table rgp_gis_gmm_100_metros is stored in public schema of your database. My question is, what will you write if you keep this table in some other schema? Regards, Venkatrao wrote: Hi, Here is my Example .I think it helps you. Layer # Layer starts here Name GMM 100 #name of the layer ConnectionType POSTGIS #connection type Connection host=192.168.1.158 dbname=GIS password=administrator user=postgres port=5432 #connection type. Data the_geom from rgp_gis_gmm_100_metros #table name Thanks and Regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ritesh Ambastha Sent: Wednesday, July 16, 2008 2:44 PM To: mapserver-users@lists.osgeo.org Subject: [MAPSERVER-USERS] Connection parameter errors while using Postgres DB Schema Hello Readers, I am facing a problem in defining the DATA path in mapserver while using PostGIS. I have two schemas, lets say 'a' and 'b' in a database 'd' Now, I want to access tables of schema 'a' in the mapserver layer. I define DATA path like this: DATA the_geom FROM a.table_name USING UNIQUE id SRID -1 Please pour in your thoughts for defining schema in the connection/data parameters. Thanks, Ritesh Ambastha -- View this message in context: http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Sc hema-tp18483547p18483547.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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Schema-tp18483547p18483876.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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://www.nabble.com/Connection-parameter-errors-while-using-Postgres-DB-Schema-tp18483547p18505303.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
[mapserver-users] mapserver with sde support child process crash
Hi, Does anyone have experience with mapserver in combination with SDE from esri? I have a problem when i compile mapserver with GCC 4.1 because sde libs are compiled in GCC 3.2 and when compiling i get warnings and no errors Then when I configure mapserver everyting goes well, I see a map, move, zoom etc. But the apache child process who handled a mapserver request is infected and in a next request when I parse a php file with the function exec() (but also other filesystem functions) the apache child process crash. I don't now if this done by the sdelib, but when i compile mapserver without sde everything works with no problems. Have someone seen this before? Greetings, R. ter Haar ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Trouble with a Share Point Portal.
Tamas, the error happens when I try to invoke an instance of mapserver: string v += OSGeo.MapServer.mapscript.msGetVersion(); In the c# project the mapscript_csharp.dll is referenced, and it is also registred in the GAC regards . pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Mer, Luglio 16, 2008 21:46, Tamas Szekeres wrote: Pietro, Could you provide a code sample to investigate the problem in more detail? Best regards, Tamas 2008/7/16 Pietro Giannini [EMAIL PROTECTED]: Hi all, I'm in serious trouble with the ambitious project of a web mapping app in a Windows SharePoint Services 3.0 environment; in detail, the application is embedded in a web part. Obviously, I'm developing in c#, that is not my preferred... I've recompiled myself mapserver and the mapscript_csharp assembly. In a debug environment all works fine but when I deploy the web part on the server I allways receive the same error: - Exception of type: System.TypeInitializationException; - with the message: The type initializer for 'OSGeo.MapServer.mapscript' threw an exception; - the source: mapscript_csharp; - the InnerException.StackTrace is: -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() -- at OSGeo.MapServer.mapscript..cctor() If anyone has experienced the same or a similar problem, or has more experience than me, can please help me? thanks in advance. ..pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E ___ 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
RE: [mapserver-users] Trouble with a Share Point Portal.
Hi, Have you replaced all dll(like libmap.dll etc..) into bin folder? Thanks and Regard Venkat. -Original Message- From: Pietro Giannini [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 5:25 PM To: mapserver-users@lists.osgeo.org Cc: Venkat Rao Tammineni Subject: RE: [mapserver-users] Trouble with a Share Point Portal. Venkat, this is the first I tried, don't work... In Visual Studio I can reference only the mapscript_csharp.dll, how can I reference a non-assembly .dll? regards ... pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 06:17, Venkat Rao Tammineni wrote: Hi, Take latest version of mapserver (Ms4W 2.7.7) and update all the dlls form the cgi-bin to Visual Studio add the reference from visual studio.It will work.There is only problem with version.Because I did the same.I think it will help you. Thanks and Regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietro Giannini Sent: Wednesday, July 16, 2008 10:05 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Trouble with a Share Point Portal. Hi all, I'm in serious trouble with the ambitious project of a web mapping app in a Windows SharePoint Services 3.0 environment; in detail, the application is embedded in a web part. Obviously, I'm developing in c#, that is not my preferred... I've recompiled myself mapserver and the mapscript_csharp assembly. In a debug environment all works fine but when I deploy the web part on the server I allways receive the same error: - Exception of type: System.TypeInitializationException; - with the message: The type initializer for 'OSGeo.MapServer.mapscript' threw an exception; - the source: mapscript_csharp; - the InnerException.StackTrace is: -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() -- at OSGeo.MapServer.mapscript..cctor() If anyone has experienced the same or a similar problem, or has more experience than me, can please help me? thanks in advance. ..pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E ___ 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
RE: [mapserver-users] Trouble with a Share Point Portal.
Yes. The strange is that another application, in a non SharePoint IIS, run well with the precompiled binaries shipping in the ms4w package. A Share Point portal (this is Share Point Services 3.0) however has a more restrictive policy for the customized assemblies to deploy in, and an assembly must to be registrered in the Global Assembly Cach and described as safe control in the web.config of the site collection (the virtual directory of site). This is the reason I must to recompile the entire project: to have a mapscript_csharp.dll strong-named to add it to GAC. any idea? many thanks .. p -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 14:04, Venkat Rao Tammineni wrote: Hi, Have you replaced all dll(like libmap.dll etc..) into bin folder? Thanks and Regard Venkat. -Original Message- From: Pietro Giannini [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 5:25 PM To: mapserver-users@lists.osgeo.org Cc: Venkat Rao Tammineni Subject: RE: [mapserver-users] Trouble with a Share Point Portal. Venkat, this is the first I tried, don't work... In Visual Studio I can reference only the mapscript_csharp.dll, how can I reference a non-assembly .dll? regards ... pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 06:17, Venkat Rao Tammineni wrote: Hi, Take latest version of mapserver (Ms4W 2.7.7) and update all the dlls form the cgi-bin to Visual Studio add the reference from visual studio.It will work.There is only problem with version.Because I did the same.I think it will help you. Thanks and Regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietro Giannini Sent: Wednesday, July 16, 2008 10:05 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Trouble with a Share Point Portal. Hi all, I'm in serious trouble with the ambitious project of a web mapping app in a Windows SharePoint Services 3.0 environment; in detail, the application is embedded in a web part. Obviously, I'm developing in c#, that is not my preferred... I've recompiled myself mapserver and the mapscript_csharp assembly. In a debug environment all works fine but when I deploy the web part on the server I allways receive the same error: - Exception of type: System.TypeInitializationException; - with the message: The type initializer for 'OSGeo.MapServer.mapscript' threw an exception; - the source: mapscript_csharp; - the InnerException.StackTrace is: -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() -- at OSGeo.MapServer.mapscript..cctor() If anyone has experienced the same or a similar problem, or has more experience than me, can please help me? thanks in advance. ..pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E ___ 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
Re: [mapserver-users] Trouble with a Share Point Portal.
2008/7/17 Pietro Giannini [EMAIL PROTECTED]: Yes. The strange is that another application, in a non SharePoint IIS, run well with the precompiled binaries shipping in the ms4w package. A Share Point portal (this is Share Point Services 3.0) however has a more restrictive policy for the customized assemblies to deploy in, and an assembly must to be registrered in the Global Assembly Cach and described as safe control in the web.config of the site collection (the virtual directory of site). This is the reason I must to recompile the entire project: to have a mapscript_csharp.dll strong-named to add it to GAC. I'm not sure how the sharepoint process and security model is looking like. But what you've described shows as if the dependent unmanaged dll-s (eg. mapscript.dll) couldn't be accessed at run-time. You can use the dependency walker to inspect how the dll-s are linked to each other and use SysInternals filemon to see which dll cannot be accessed at run-time. You should find out the name of the host process running your application (eg. aspnet_wp.exe or w3wp.exe) and set up a filter to it in filemon. You might anyway have to try copying all of the dependent dll-s into the same directory where the host process is running. As far as I remember as of the 5-0 version the mapscript_csharp.dll is 'strong-named' by default. Best regards, Tamas any idea? many thanks .. p -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 14:04, Venkat Rao Tammineni wrote: Hi, Have you replaced all dll(like libmap.dll etc..) into bin folder? Thanks and Regard Venkat. -Original Message- From: Pietro Giannini [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 5:25 PM To: mapserver-users@lists.osgeo.org Cc: Venkat Rao Tammineni Subject: RE: [mapserver-users] Trouble with a Share Point Portal. Venkat, this is the first I tried, don't work... In Visual Studio I can reference only the mapscript_csharp.dll, how can I reference a non-assembly .dll? regards ... pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 06:17, Venkat Rao Tammineni wrote: Hi, Take latest version of mapserver (Ms4W 2.7.7) and update all the dlls form the cgi-bin to Visual Studio add the reference from visual studio.It will work.There is only problem with version.Because I did the same.I think it will help you. Thanks and Regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietro Giannini Sent: Wednesday, July 16, 2008 10:05 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Trouble with a Share Point Portal. Hi all, I'm in serious trouble with the ambitious project of a web mapping app in a Windows SharePoint Services 3.0 environment; in detail, the application is embedded in a web part. Obviously, I'm developing in c#, that is not my preferred... I've recompiled myself mapserver and the mapscript_csharp assembly. In a debug environment all works fine but when I deploy the web part on the server I allways receive the same error: - Exception of type: System.TypeInitializationException; - with the message: The type initializer for 'OSGeo.MapServer.mapscript' threw an exception; - the source: mapscript_csharp; - the InnerException.StackTrace is: -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() -- at OSGeo.MapServer.mapscript..cctor() If anyone has experienced the same or a similar problem, or has more experience than me, can please help me? thanks in advance. ..pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Changing Point style on-the-fly
If you are using MapServer 5.0 or the brand new 5.2 then you can probably use attribute binding, which allows you to specify an attribute in your data as the source for various parameters in the map file. For instance, if you have a field in your database called point_size that has a size value then you can do this: SIZE [point_size] You can also bind to COLOR and most other attributes inside STYLE and LABEL. I just went to look for documentation on attribute binding and I can't seem to find anything beyond the original rfc (http://mapserver.gis.umn.edu/development/rfc/ms-rfc-19 ) so if you are running into trouble, don't hesitate to ask the developers :) Cheers Paul On 17-Jul-08, at 7:52 AM, George A. Dubin wrote: Hi all! I'm firing up a mapserver for our company these days. Mapserver successfully connects to Postgres, and draws points from my database. But I need to change some parameters, such as colour and size of points on-the-fly, depending on the duration of their existence. Is there a way to make Mapserver to pick size and colour of points from Postgres, too? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users __ Paul Spencer Chief Technology Officer DM Solutions Group Inc http://www.dmsolutions.ca/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer Version 5.2.0 Source Released
Is there a built-in facility to turn off anti-aliasing for certain layers when using AGG in this build? I had a patch given to me by someone else on the list that worked with MS 5.0, that patch doesn't work on this build. Thanks. - Tim Timothy J Nolte - [EMAIL PROTECTED] Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS:616-706-2438 Fax:616-554-6484 Web: www.ipcswirelessinc.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Lime Sent: Wednesday, July 16, 2008 9:52 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; mapserver-users@lists.osgeo.org Subject: [mapserver-users] MapServer Version 5.2.0 Source Released Hi all: The MapServer PSC is proud to announce the release of MapServer version 5.2. The source code is available for download at: http://mapserver.gis.umn.edu/download/current Binary distributions will follow shortly. This is a significant release and users are encouraged to upgrade if possible. Nearly 200 tickets were closed as part of this effort. Major feature additions include: * MS RFC 36: Simplified Template Support for Query Output * MS RFC 37: Spatial Reference Improvements and Additions * MS RFC 38: Native Microsoft SQL Server 2008 Support * MS RFC 41: WCS 1.1.x Support * MS RFC 42: Support for Cookie Forwarding * MS RFC 43: Direct Tile Generation for Google Maps API Full RFC text can be found at: http://mapserver.gis.umn.edu/development/rfc Notable enhancements include: * performance enhancements for large shapefile handling * performance enhancements for AGG rendering (an order of magnitude faster in some cases) * fuzzy label outlines for AGG * style-level opacity for AGG * quantization and palette support for PNGs and RGBA modes * SOS 1.0.0 support * WFS 1.1.0 support * proxy and http authentication support for cascaded WMS requests * pre-clip label point computation (helps in tile generation) * extent (e.g. shpext, mapext) template tag attribute handling The full 5.2.0 change log can be found at: http://trac.osgeo.org/mapserver/browser/tags/rel-5-2-0/mapserv er/HISTORY.TXT I would like to thank all the folks that worked hard on this release, your efforts are greatly appreciated! Steve ___ 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] Convert Geo Points to Image Points
I'm trying to convert a geopoint into an image coordinate so I can place images on a floating div over a map. I know how to go from image points to geo points and figured that just reversing the process was the way to go back. Apparently it is not. Here is what I was trying: ?php $minx_geo = 2422041.973271; $miny_geo = 654245.367973; $maxx_geo = 2565405; $maxy_geo = 781169.610946; $minx_img = 0; $miny_img = 0; $maxy_img = 200; $maxx_img = 300; $mapwidth = 300; $mapheight = 200; $xdelta_geo = $maxx_geo - $minx_geo; $ydelta_geo = $maxy_geo - $miny_geo; $xdelta_img = $maxx_img - $minx_img; $ydelta_img = $maxy_img - $miny_img; $x_pix = 150; $y_pix = 100; // Calculate the image coords to map extents $x_geo = $minx_geo + (($x_pix/$mapwidth) * $xdelta_geo); $y_geo = $maxy_geo - (($y_pix/$mapheight) * $ydelta_geo); // Calculate map points to image coords $x_img = $minx_img + (($x_geo/$mapwidth) * $xdelta_img); $y_img = $maxy_img - (($y_geo/$mapheight) * $ydelta_img); print $x_geo $y_geo\n; print $x_img $y_img\n; I'm math challenged so this probably is easier than it seems but I'm not groking it. Thanks very much for any assistance. Gail ? -- Things are only difficult while you don't understand them. _ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Trouble with a Share Point Portal.
Tamas thanks, you are right! 1: the ms4w's mapscript_csharp.dll is strong-named (I tried to add a old version to GAC); 2: with filemon I found the unlinked dll - mapscript, of course. now all works best regards pietro -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 14:43, Tamas Szekeres wrote: 2008/7/17 Pietro Giannini [EMAIL PROTECTED]: Yes. The strange is that another application, in a non SharePoint IIS, run well with the precompiled binaries shipping in the ms4w package. A Share Point portal (this is Share Point Services 3.0) however has a more restrictive policy for the customized assemblies to deploy in, and an assembly must to be registrered in the Global Assembly Cach and described as safe control in the web.config of the site collection (the virtual directory of site). This is the reason I must to recompile the entire project: to have a mapscript_csharp.dll strong-named to add it to GAC. I'm not sure how the sharepoint process and security model is looking like. But what you've described shows as if the dependent unmanaged dll-s (eg. mapscript.dll) couldn't be accessed at run-time. You can use the dependency walker to inspect how the dll-s are linked to each other and use SysInternals filemon to see which dll cannot be accessed at run-time. You should find out the name of the host process running your application (eg. aspnet_wp.exe or w3wp.exe) and set up a filter to it in filemon. You might anyway have to try copying all of the dependent dll-s into the same directory where the host process is running. As far as I remember as of the 5-0 version the mapscript_csharp.dll is 'strong-named' by default. Best regards, Tamas any idea? many thanks .. p -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 14:04, Venkat Rao Tammineni wrote: Hi, Have you replaced all dll(like libmap.dll etc..) into bin folder? Thanks and Regard Venkat. -Original Message- From: Pietro Giannini [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 5:25 PM To: mapserver-users@lists.osgeo.org Cc: Venkat Rao Tammineni Subject: RE: [mapserver-users] Trouble with a Share Point Portal. Venkat, this is the first I tried, don't work... In Visual Studio I can reference only the mapscript_csharp.dll, how can I reference a non-assembly .dll? regards ... pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E On Gio, Luglio 17, 2008 06:17, Venkat Rao Tammineni wrote: Hi, Take latest version of mapserver (Ms4W 2.7.7) and update all the dlls form the cgi-bin to Visual Studio add the reference from visual studio.It will work.There is only problem with version.Because I did the same.I think it will help you. Thanks and Regards Venkat. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietro Giannini Sent: Wednesday, July 16, 2008 10:05 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Trouble with a Share Point Portal. Hi all, I'm in serious trouble with the ambitious project of a web mapping app in a Windows SharePoint Services 3.0 environment; in detail, the application is embedded in a web part. Obviously, I'm developing in c#, that is not my preferred... I've recompiled myself mapserver and the mapscript_csharp assembly. In a debug environment all works fine but when I deploy the web part on the server I allways receive the same error: - Exception of type: System.TypeInitializationException; - with the message: The type initializer for 'OSGeo.MapServer.mapscript' threw an exception; - the source: mapscript_csharp; - the InnerException.StackTrace is: -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() -- at OSGeo.MapServer.mapscript..cctor() If anyone has experienced the same or a similar problem, or has more experience than me, can please help me? thanks in advance. ..pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58N 12°29'13.39E ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Error compiling mapserver 5.2 with agg
Hi list, i tried compile mapserver 5.2 with agg 2.4-2.1 (x86_64) and i am getting this error message: mapagg.h:37: error: ISO C++ forbids declaration of 'const_row_info' with no type mapagg.h:37: error: typedef name may not be a nested-name-specifier mapagg.h:37: error: expected ';' before '' token mapagg.h:96: error: 'row_data' does not name a type and error go on to mapagg.cpp. Anyone knows how to fix it? Thanks -- Luigi Castro Cardeles ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ruby MapScript on Mac OS X?
I haven't given any thought to ruby yet, but I can look into it. Which OSX version? I believe Leopard has Ruby, but not Tiger. I would prefer to start with the system Ruby. A possibility that I haven't worked out fully yet is to use my MapServer framework + MapServer source to build just the Ruby MapScript. On Jul 17, 2008, at 12:43 PM, Tom Huras wrote: I'm running the pre-built binaries for MapServer on Mac OS X from Kyng Chaos. Does anyone know how to get Ruby MapScript going on this platform? I understand that if I build MapServer from source I can also build Ruby MapScript. However, I was hoping for an easier path. Thanks /tom -- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ All generalizations are dangerous, even this one. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Compiling Issues: Ubuntu 8.04
Hi, I am compiling MapServer from source because I want to include fastcgi... anyway, I've fixed most of the compile issues, but I can't get past the following: configure: checking whether we should include PROJ.4 support... configure: error: Could not find proj_api.h or libproj.a/libproj.so in /usr/include/. However, I verified that /usr/include/proj_api.h does exist, so I'm a bit confused... any suggestions? Thanks, Matt -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users