SV: [mapguide-users] Error: Failed to stylize layer: An exception occurred in FDO component. Connect failed

2011-10-27 Thread Hans Milling
Hans Milling -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Failed-to-stylize-layer-An-exception-occurred-in-FDO-component-Connect-failed-tp6935422p6935422.html Sent from the MapGuide Users mailing list archive at Nabble.com

SV: [mapguide-users] Error: Failed to stylize layer: An exception occurred in FDO component. Connect failed

2011-10-27 Thread Hans Milling
? If you need any more information I will be happy to share it. Best Regards Hans Milling -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Failed-to-stylize-layer-An-exception-occurred-in-FDO-component-Connect-failed-tp6935422p6935422.html Sent from the MapGuide

SV: [mapguide-users] Re: Does MaestroAPI v2.1 work with MapServer 2012?

2011-11-14 Thread Hans Milling
Guess I have no option but to upgrade my source to the latest version. Hans... -Oprindelig meddelelse- Fra: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] På vegne af Jackie Ng Sendt: 14. november 2011 14:40 Til: mapguide-users@lists.osgeo.org

[mapguide-users] MaestroAPI v3.5 - GetFullPath substitute!

2011-11-15 Thread Hans Milling
Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-v3-5-GetFullPath-substitute-tp6995830p6995830.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide

[mapguide-users] Re: MaestroAPI v3.5 - GetFullPath substitute!

2011-11-15 Thread Hans Milling
Hi Jackie I did not write this code. I've just been assigned the task to upgrade to the latest API. This code is used to generate a legend image, this is what I interpret the code does. The code traverses all the layers in the map and finds the associated layer groups all the way to the top to

[mapguide-users] Re: MaestroAPI v3.5 - GetFullPath substitute!

2011-11-15 Thread Hans Milling
Hi Jackie I will work on a solution with a Dictionary object as you suggest. The IsVisibleAtScale would be a great implementation, as I cannot see how the get this information from the API at the moment. Hans... -- View this message in context:

[mapguide-users] Re: Upgrading MaestroAPI

2011-11-22 Thread Hans Milling
Hi Gunter Last monday I began the conversion of an application from Maestro 2.x to 4.x and I ran into lots of problems. I've been bombarding Jackie with questions and I have this table of changes that is not complete but might help you on the way. In the near future I can put a page on the OSGeo

[mapguide-users] Re: Upgrading MaestroAPI

2011-11-22 Thread Hans Milling
Hi Jackie I don't think anyone is angry at you for making the API more flexible to new versions and easier to generate the code. Even though the later versions of the API have been out for some time, I think it's like when a new version of Windows is launched. You wait some time to have others

[mapguide-users] Re: MG Maestro 4.0 HOW TO...

2011-11-22 Thread Hans Milling
I have put the v2.x - v4.x conversion table here for a reference. Feel free to update the table if you find any errors or missing things: http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/Maestro4ApiComparisons http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/Maestro4ApiComparisons

[mapguide-users] Re: FDO SQL SERVER SPATIAL - Polygon ring less than 3 points?

2011-11-23 Thread Hans Milling
Can you show the actual query sent to the SQL server (using a trace or the like )? It seems that either you have too few points (even though you write there should be many) or they are at the same x/y lat/lng (perhaps value 0 in all of them?). Best regards Hans Milling... -- View this message

[mapguide-users] Re: Upgrading MaestroAPI

2011-11-24 Thread Hans Milling
Hi Hunter/Jackie Is is not just the LayerDefinitionId that is ReadOnly on the RuntimMapLayer. Also: QualifiedClassName GeometryPropertyName FeatureSourceID SchemaName I think (I have not tested) that you need to create a new ILayerDefinition object and then set these properties in that

[mapguide-users] Re: Upgrading MaestroAPI

2011-11-24 Thread Hans Milling
I haven’t testet any of my code either, so I cannot help you there. I have corrected more than 2500 compiler errors and now I have a little more than 300 left to fix before the application will even compile. Then there is going to be a big task in finding all the things that are now broken because

[mapguide-users] SetSelectionXml missing in MaestroAPI

2011-11-25 Thread Hans Milling
the Selection Xml with the later API? I can see on the RuntimeMap it has a function SaveSelectionXml but this requires a resource id. If this is how to do it, how do i create a new Xml resource and get it's id to parse to the method? Regards Hans Milling... -- View this message in context: http

[mapguide-users] Legend icons hardcoded to 16x16 pixels?

2011-11-29 Thread Hans Milling
, scale.ToString(), layerdefinition, themeIndex.ToString(), type.ToString()); return bmp; } Best regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Legend-icons-hardcoded-to-16x16-pixels-tp7042355p7042355.html Sent from the MapGuide

[mapguide-users] Re: Legend icons hardcoded to 16x16 pixels?

2011-11-29 Thread Hans Milling
Here is an example where the API 16x16 has been changes to 160x16. So it works (using MapGuide 2009): http://osgeo-org.1803224.n2.nabble.com/file/n7042538/example.png example.png Hans... -- View this message in context:

[mapguide-users] Re: Legend icons hardcoded to 16x16 pixels?

2011-11-29 Thread Hans Milling
Perhaps the hard coded PNG could be an option too? I don't know if anyone would want a JPG or something else, but now that you are at it. Hans... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Legend-icons-hardcoded-to-16x16-pixels-tp7042355p7042685.html Sent from the

[mapguide-users] Re: Is anyone able to develop MG using Visual Studio 2010?

2011-11-30 Thread Hans Milling
This sounds like a 64 bit/32 bit problem. That you are using MaestroAPI 32 bit DLL files and your application is running 64 bit (or the other way around). That is what the incorrect format refers to. Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com

[mapguide-users] Compile Maestro API in Visual Studio 2010 and .NET Framework 3.5

2011-11-30 Thread Hans Milling
with success tried this? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compile-Maestro-API-in-Visual-Studio-2010-and-NET-Framework-3-5-tp7046741p7046741.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] MaestroAPI 4 and MGOS 2.2 - empty/blank/transparent map

2011-12-02 Thread Hans Milling
); nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; fs.Write(buf, 0, read); nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; } while (read gt; 0); nbsp; nbsp; nbsp; nbsp; nbsp; } nbsp; nbsp; nbsp; nbsp; } Regards Hans Milling... -- View

[mapguide-users] Re: MaestroAPI 4 and MGOS 2.2 - empty/blank/transparent map

2011-12-02 Thread Hans Milling
No, that did not help. How does the RenderDynamicOverlay method know what part of the map to render? Can this somehow be specified? (map center and scale or something). Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-4-and-MGOS-2-2

[mapguide-users] Re: MaestroAPI 4 and MGOS 2.2 - empty/blank/transparent map

2011-12-02 Thread Hans Milling
Setting the ViewScale did the trick, thanks. Hans... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-4-and-MGOS-2-2-empty-blank-transparent-map-tp7054607p7054914.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] RE: SQL Server 2005

2011-12-06 Thread Hans Milling
the datasource I think by telling which columns in the table has the lat/lng or x/y. Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/SQL-Server-2005-tp1806520p7069618.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Maestro API 4 - On new versions, there should be no layer data in map

2011-12-07 Thread Hans Milling
Using Maestro API 4, when trying to use the IMappingService.OpenMap I get an Exception On new versions, there should be no layer data in map. Am I not allowed to put any layers on a runtime map that I am going to use/open later, or what does this mean? Regards Hans Milling... -- View

[mapguide-users] Re: Maestro API 4 - On new versions, there should be no layer data in map

2011-12-07 Thread Hans Milling
Hi Jackie Yes it is the AIMS 2012. If I cut the bits and pieces from my application that involves the map, these are the steps that produces the error: Uri host = new Uri(http://msvm/mapserver2012/mapagent/mapagent.fcgi;); IServerConnection conn =

[mapguide-users] Re: Mapagent FCGI Not Found

2011-12-07 Thread Hans Milling
application pool does not have Enable32BitAppOnWin64 enabled (forcing the pool to run 32 bit making IIS unable to load 64 bit dll files). Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapagent-FCGI-Not-Found-tp1804128p7073495.html Sent from

[mapguide-users] Re: One final breaking API change for Maestro 4.0

2011-12-08 Thread Hans Milling
Even though it involves more work for me, I think it's a good thing to streamline the API like that. What about the ResourceID vs. ResourceId, will you fix that also while you are at it ;-) Best regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/One

[mapguide-users] MaestroAPI 3 or 4 - How do I get corner coordinates of a RuntimeMap

2011-12-14 Thread Hans Milling
= Image.FromStream(stream); } Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-3-or-4-How-do-I-get-corner-coordinates-of-a-RuntimeMap-tp7093318p7093318.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Re: MaestroAPI 3 or 4 - How do I get corner coordinates of a RuntimeMap

2011-12-15 Thread Hans Milling
Thank you both for your help. It is for a simple test application. I made this MouseMove event on a PictureBox that holds the map image. This is how my solution looks then: private void pictureBox1_MouseMove(object sender, MouseEventArgs e) { nbsp;nbsp;int centerx = pictureBox1.Width / 2;

[mapguide-users] How to save copy of runtime map?

2011-12-16 Thread Hans Milling
Hi All If I need to save a copy of a runtime map as a new resource id? How do I do that? The old API v2.x had a method ServerConnectionI.SaveRuntimeMap(newid, map); I think, with the new API, I could do this, but is this correct? map.ResourceID = newid; map.Save(); best regards Hans Milling

[mapguide-users] RE: Compile Error: An attempt was made to load a program with an incorrect format.

2011-12-20 Thread Hans Milling
=MapGuideDotNetApi publicKeyToken=f526c48929fda856 / bindingRedirect oldVersion=1.0.0.0-10.10.10.10 newVersion=1.0.0.1 / /dependentAssembly /assemblyBinding /runtime Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compile-Error-An-attempt

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2012-01-02 Thread Hans Milling
with the .publickeytoken or run the application as Jackie writes. I wrote that to avoid making these mistakes when manually signing the files. Regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-tp5622823p7143324.html

[mapguide-users] Re: 64-bit woes

2012-01-11 Thread Hans Milling
on the 64 bit machine. You can perhaps use dependency walker to detect the DLL unable to be loaded and replace it by a 64 bit version? Dependency walker will also tell the bitness of each dll (x86 or x64). You should be able to see a mismatch somewhere then. Best regards Hans Milling... -- View

[mapguide-users] Inspect a session

2012-01-16 Thread Hans Milling
to debug when this happens. I need to inspect the runtime map on the server (get the xml or just the object in code to write the properties on the screen) at various times when the runtime map is created, modified etc to find the exact time where the extents are messed up. Regards Hans Milling

[mapguide-users] Re: Inspect a session

2012-01-16 Thread Hans Milling
Thanks, I actually found that my issue is a bug in the MaestroAPI. I have filed a ticket: http://trac.osgeo.org/mapguide/ticket/1916 Ticket #1916 Hans... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Inspect-a-session-tp7192093p7192337.html Sent from the MapGuide

[mapguide-users] Re: DLL Errors on a 64 Bit OSGeo Implementation

2012-01-20 Thread Hans Milling
and the maestroapi.key file and run it. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/DLL-Errors-on-a-64-Bit-OSGeo-Implementation-tp7205633p7206983.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Re: Questions for Maestro users on Linux/Mac

2012-01-27 Thread Hans Milling
Hi Jackie Are you going to transform the code to use Linq and all the new stuff introduced after .Net 2.0?? Because then there might be problems with Mono. But if you are only changing the target framework, and keep the source .Net 2.0 compatible, I don't see why a more recent version of Mono

[mapguide-users] Missing File - Open from Maestro

2012-01-31 Thread Hans Milling
. In most cases when adding a layer i just added a feature source or when adding a layer to a map it is a layer that i just created. Should I make some tickets for this or are these just bad ideas? Best Regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com

[mapguide-users] Re: Missing File - Open from Maestro

2012-01-31 Thread Hans Milling
I've added 5 new tickets :-) -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Missing-File-Open-from-Maestro-tp4352874p4352991.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list

[mapguide-users] FDO OGR provider stops working with many layers

2012-02-02 Thread Hans Milling
description than just: An exception occurred in FDO component. I know perhaps this should go in the FDO forum, but since I can only reproduce using MapGuide OpenSource 2.2, I created the message in this forum. Best regards hans Milling... -- View this message in context: http://osgeo-org.1560

[mapguide-users] Re: FDO OGR provider stops working with many layers

2012-02-03 Thread Hans Milling
These are all MapInfo TAB files Hans... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/FDO-OGR-provider-stops-working-with-many-layers-tp4358864p4361824.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] Darn DLL files again

2012-02-10 Thread Hans Milling
\mapguidecommon\Services/SiteConnection.cpp Looks like some reference/DLL mismatch This is where I am stuck? What am I doing wrong? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Darn-DLL-files-again-tp4383375p4383375.html Sent from the MapGuide

[mapguide-users] Re: Darn DLL files again

2012-02-10 Thread Hans Milling
Hi Jackie I checked out the Maestro 4 branch to build the r6494 version with your latest changes. Does this version reference the MapGuideDotnetApi.dll file? I have now tried to download the 'official' Dll files: http://download.osgeo.org/mapguide/maestro/MaestroSDK_4.0.0.zip (it actually

[mapguide-users] RE: Darn DLL files again

2012-02-10 Thread Hans Milling
Hi Dennis If you have problems with DLL files, please create a new thread and we will help you. I myself had so many problems with these DLL files before and now again, and I got a lot of help. Good thing is that Jackie is working on a better(or more easy) solution with the next release of the

[mapguide-users] How to create new/empty vector layer definition?

2012-02-13 Thread Hans Milling
); con.ResourceService.SaveResourceAs(ldef, resId); --- end code --- Regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-create-new-empty-vector-layer-definition-tp4465014p4465014.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Re: Darn DLL files again

2012-02-13 Thread Hans Milling
Thanks jackie I've removed the Reference from the project and rebuild it. That solved the error messages when opening a localnative connection. I have another error now, but I don't think it's the MaestroAPI this time :) Hans... -- View this message in context:

[mapguide-users] Re: How to create new/empty vector layer definition?

2012-02-14 Thread Hans Milling
-852a-554d04d012ce.LayerDefinition) I am using AIMS2012. I remember you previously changed some code to support the AIMS2012 'watermarks' tag. I guess this also requires some modification? Do you want me to create a ticket? Best regards Hans Milling... -- View this message in context: http

[mapguide-users] Re: How to create new/empty vector layer definition?

2012-02-14 Thread Hans Milling
Just to be sure, this is the code that I am using: ILayerDefinition ldef = ObjectFactory.CreateDefaultLayer(con, LayerType.Vector); string resId = new ResourceIdentifier(Guid.NewGuid().ToString(), ResourceTypes.LayerDefinition, con.SessionID); con.ResourceService.SaveResourceAs(ldef, resId);

[mapguide-users] Re: error on the map

2012-02-14 Thread Hans Milling
Hi Wendy, that does not look like an error message but more as a result of a QueryMapFeatures (like a debug output). What application are you using on top of AIMS2012, or what are you doing when you see this message? Best Regards Hans Milling... -- View this message in context: http://osgeo

[mapguide-users] Re: How to create new/empty vector layer definition?

2012-02-14 Thread Hans Milling
prefer this line instead :-) ILayerDefinition ldef = ObjectFactory.CreateDefaultLayer(con, LayerType.Vector); Thank you very much for your help. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-create-new-empty-vector-layer-definition

[mapguide-users] ECW - Fail to get image information

2012-02-17 Thread Hans Milling
. The ECW file works in MGOS2.0 and AIMS2012. The rest of the layers in the map are show as always (also tried with just one ECW layer). Does anyone have a clue what the problem might be? Best regards Hans Milling... 2012-02-17T14:02:59 2912Ajax Viewer ::1 Administrator Error

[mapguide-users] Re: ECW - Fail to get image information

2012-02-17 Thread Hans Milling
Turning selection off on the layer in the map did not work :-/ I cannot preview just the layer, same errors in the log. Hans... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/ECW-Fail-to-get-image-information-tp4480118p4480220.html Sent from the MapGuide Users mailing list

[mapguide-users] Re: ECW - Fail to get image information

2012-02-17 Thread Hans Milling
I tried to follow this guide from the forum thread you send, and that did the trick. Now everything works. http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider Thanks a lot Zac. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/ECW-Fail

[mapguide-users] RE: Calculate the area of a polygon

2012-02-27 Thread Hans Milling
And translated into human readable c# code :-) Assuming that the first point of the array is the same as the last point of the array double area = 0; for (int i = 0; i points.Length; i++) { int next = i+1; if (next == points.length) next =

[mapguide-users] Re: MaestroAPI 4.0 - problem with ILayerDefinition

2012-02-29 Thread Hans Milling
What version (xml/schema) is the Layer definition? If it is above 1.0.0 make sure that you add a reference to the OSGeo.MapGuide.ExtendedObjectModels.dll. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MaestroAPI-4-0-problem

[mapguide-users] Maestro 4 - setting AllowOverpost and DisplayAsText

2012-02-29 Thread Hans Milling
definition xml schema but that did not reveal these options in the GUI. Am I missing something? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Maestro-4-setting-AllowOverpost-and-DisplayAsText-tp4531717p4531717.html Sent from the MapGuide Users mailing

[mapguide-users] MaestroAPI4 - Base layers have empty group property

2012-03-06 Thread Hans Milling
to get the group name of a base layer or is there a bug in the MaestroAPI v4? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MaestroAPI4-Base-layers-have-empty-group-property-tp4550773p4550773.html Sent from the MapGuide Users mailing list archive

[mapguide-users] Re: Getting started issue

2012-03-06 Thread Hans Milling
is that CGI is not enabled/installed in IIS or that the handler mappings are not set correctly. Try to follow this guide: http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 The latest version btw. is 2.2, you should be using that instead. The front page is a bit outdated. Best regards Hans Milling

[mapguide-users] Re: MapGuide and Windows Web Server 2008

2012-03-06 Thread Hans Milling
just fine, however if you have a server with thounsand of visitors each hour and memory heavy web applications a Datacenter edition that supports up to 2 TB of memory will perhaps be better. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com

[mapguide-users] Re: Ajax DHTML Conflict

2012-03-08 Thread Hans Milling
Hi Gordon It's a common problem with web pages. It only happens on web pages that contains frames. Most vendors get arround this by hiding the frames content (usually an iframe) or making a transparent div that sort of blurs the iframes and the whole page behind (that might also contain several

[mapguide-users] Re: FDO OGR provider stops working with many layers

2012-03-20 Thread Hans Milling
\mge2012\build_42.2\ent\os\server\src\services\resource\SessionRepository.cpp - MgRepository.VerifyAccess() line 87 file d:\build\mge2012\build_42.2\ent\os\server\src\services\resource\Repository.cpp Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6

[mapguide-users] Re: FDO OGR provider stops working with many layers

2012-03-21 Thread Hans Milling
That's the thing, the problem is both on MGOS2.2 and AIMS2012. perhaps the issue belongs in the FDO forum then. It seems that the ORG provider does not close files (perhaps to be able to access them quickly again), and that the ORG provider then have some build in maximum or Windows has some

[mapguide-users] Re: FDO OGR provider stops working with many layers

2012-03-21 Thread Hans Milling
Hi jackie How do I disable connection pooling for the OGR provider? The mapinfo files are already in a lot of different directories. I made a small FDO test application. This is what the application do: Loop trough all directories and files for each *.TAB file TRY Open the file using FDO

[mapguide-users] Re: Show a single Mapguide image in a web

2012-03-21 Thread Hans Milling
Just to make sure that I understand your question. You need a single call to the MapGuide server that produces an image, like you can do with the Google Static MAP api? http://maps.googleapis.com/maps/api/staticmap?center=Berkeley,CAzoom=14size=400x400sensor=false I think you can expose a map

[mapguide-users] Should a RuntimeMapLayer created from a IBaseMapLayer have Type = 2?

2012-03-28 Thread Hans Milling
regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Should-a-RuntimeMapLayer-created-from-a-IBaseMapLayer-have-Type-2-tp4663529p4663529.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide

[mapguide-users] Re: Should a RuntimeMapLayer created from a IBaseMapLayer have Type = 2?

2012-03-28 Thread Hans Milling
Correction, the Type = 1 when creating the RuntimeMapLayer and I believe it should have Type = 2 Hans... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Should-a-RuntimeMapLayer-created-from-a-IBaseMapLayer-have-Type-2-tp4663529p4663546.html Sent from the MapGuide Users

[mapguide-users] Re: Date arithmetic

2012-03-28 Thread Hans Milling
If I understand your question right, do the following: 1. In your database create a view based on your table that has a new column expiresindays or whatever you want to name your column. Use a datediff or whatever function provided by your database server to calculate how many days until the lease

[mapguide-users] RE: Dumb question

2012-03-30 Thread Hans Milling
Please don't hijack other threads, create a new thread if you need to ask a question that is not related to this thread. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/FDO-OGR-provider-stops-working-with-many-layers-tp4358864p4670732.html Sent from the MapGuide Users

[mapguide-users] Re: FDO OGR provider stops working with many layers

2012-03-30 Thread Hans Milling
Hi jackie Adding to the exclude list, does solve the problem, but the benefits (I assume there must be) of having the connection pools are lost. What I did instead was to add to the: DataConnectionPoolSizeCustom = OSGeo.OGR:50 It seems that the somewhere in the system is an upper limit of open

[mapguide-users] Re: Refresh Default Layer States w/o Refresh Map

2012-04-01 Thread Hans Milling
regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Refresh-Default-Layer-States-w-o-Refresh-Map-tp4675693p4677927.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list

[mapguide-users] HttpServerConnection not serializable

2012-04-12 Thread Hans Milling
Hi all Using MaestroAPI 4 I save my HTTPServerConnection in a session object. This works fine but if I change the web.config to either use SQL Server or Session State Server instead of InProc, I get an error: [SerializationException: Type 'OSGeo.MapGuide.MaestroAPI.HttpServerConnection' in

[mapguide-users] Re: HttpServerConnection not serializable

2012-04-12 Thread Hans Milling
Hi Jackie I guess storing the connection paremeters is the solution to use now. Thanks for your reply. The connection object could be stored in some shared/global variable perhaps, creating my own virtual session, to still have the benefit of not needing to recreate the connection object every

[mapguide-users] Re: Dropping the open source from product name for 2.4 release?

2012-04-25 Thread Hans Milling
Zac, I think you just put your hand into a hornets nest, hehe. Hans... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Dropping-the-open-source-from-product-name-for-2-4-release-tp4913537p4916094.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] UntypedResource again

2012-04-25 Thread Hans Milling
regarding the ModelSetup.Initialize() but for some reason the Initialize command seems to not do the trick after the changes to the Maestro API! Does anyone have any experience with this or a clue why the Initialize does not work? Best regards Hans Milling... -- View this message in context: http

[mapguide-users] Re: UntypedResource again

2012-04-26 Thread Hans Milling
more. Best Regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/UntypedResource-again-tp4916110p4932914.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list

[mapguide-users] Re: MapGuide 2.2 does not login as Administrator

2012-04-27 Thread Hans Milling
. if not you will get an error of some kind. Best Regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapGuide-2-2-does-not-login-as-Administrator-tp4933468p4933520.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Re: UntypedResource again

2012-05-01 Thread Hans Milling
I've solved it now. I compiled both my own application and the maestro api with the 32 bit signed dll files. Then int worked on the 32 bit server. I have also removed the version information from all references to avoid any problems when running the application on MGOS2.2 Maestro DLL files

[mapguide-users] CUDA?

2012-05-10 Thread Hans Milling
some zip utilities has started to use CUDA to speed up things. Perhaps in the future tile caches will not be needed any more because tiles can be rendered just as fast on the fly? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/CUDA-tp4965248

[mapguide-users] Re: CUDA?

2012-05-10 Thread Hans Milling
The reason I ask is because I have a simple map with 23 layers. All MapInfo TAB files. If I open all the 23 layers in a single map in MapInfo, zooping etc is quite fast. Also when reacing zoom level 1:250 it is extreamly fast (as one would expect). But with the MapGuide server tile generation I

[mapguide-users] Unable to find MgXXX functions with the signed MapGuide 2.4 DLL files

2012-05-11 Thread Hans Milling
AIMS 2013 is the same problem. Dll files from MapGuide 2.2, 2.0 and AIMS 2012 has not this problem. What changed in the new version 2.4, what am I missing? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Unable-to-find-MgXXX-functions

[mapguide-users] Re: The type initializer for 'OSGeo.MapGuide.MapGuideApiPINVOKE' threw an exception.

2012-05-23 Thread Hans Milling
As far as I know, you get this error if: 1. You have mixed DLL files. E.g. MaestroAPI dll files from different version that the MGOS Server. 2. You have mixed 64 and 32 bit environment. E.g. if you installed 64 bit MapGuide in 32 bit app pool. Best regards Hans Milling... -- View this message

Re: [mapguide-users] Import Package made by Infrastructure Map Server 2012

2012-05-29 Thread Hans Milling
. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Import-Package-made-by-Infrastructure-Map-Server-2012-tp4977700p4977714.html Sent from the MapGuide Users mailing list archive at Nabble.com

Re: [mapguide-users] SDFComponentToolkit.dll on 64Bit

2012-05-30 Thread Hans Milling
Just set your Visual Studio to compile your application as x86, then on 64 bit windows the application will run in 32 bit mode and will be able to load/run the 32 bit dll file. Hans... -- View this message in context:

Re: [mapguide-users] SDFComponentToolkit.dll on 64Bit

2012-05-30 Thread Hans Milling
Then you have Jackies option to find a replacement for the SDFComponentToolkit.dll file, or you can use the 32 bit version of AutoCAD. But I guess that is not a desired solution. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com

Re: [mapguide-users] IdentityProperties empty!

2012-06-27 Thread Hans Milling
Hi Jackie, thanks for your reply. So what you say is that there is a problem with the Oracle setup, and not the setup in MapGuide/Maestro? I think Crispins problem was the connection parameters or some schema/owner setup that was wrong. Thanks for the input. If everything fails I know I can find

Re: [mapguide-users] You should probably read this (if you use Maestro)

2012-07-11 Thread Hans Milling
with a user given password (should be an option I think). Only the person with the correct password could then open/read/import the MGP file. Anyone else have any thoughts about this? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/You-should-probably

Re: [mapguide-users] InvalidFormat: Server reported: Parameter 'time' has no valid format: current

2012-07-11 Thread Hans Milling
Hi Jackie My fiddler does not show any http traffic for the MapGuide service. I guess I need to change some settings to make that work. Anyway I just looked in the Advanced button, and whenever I change something there, it does not seem to be saved. If I look at the raw XML there is no changes at

Re: [mapguide-users] layer problem in feature source, maestro 3.5 until 5.0

2012-07-17 Thread Hans Milling
If you are using Maestro 5 beta then the error might be related to this ticket: http://trac.osgeo.org/mapguide/ticket/2033 The source has been fixed but you need to wait for the next release or use Maestro 4 that does not have this bug. Best regards Hans Milling... -- View this message

Re: [mapguide-users] MGOS 2.4 RC1: Quick Plot Scaling Issue

2012-07-18 Thread Hans Milling
Before you can generate the image, you need to set the map.DisplayWith and DisplayHeight first. They seem to be 0/empty. I had the same error when I tried to select features from a map, and setting those solved the issue. Best regards Hans Milling... -- View this message in context: http

[mapguide-users] MGOS 2.2 problems with WMS when layer name contains a slash

2012-07-19 Thread Hans Milling
the provider Question is if this is a problem with MapGuide, Maestro or the FDO provider? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MGOS-2-2-problems-with-WMS-when-layer-name-contains-a-slash-tp4989284.html Sent from the MapGuide Users

Re: [mapguide-users] MapGuide User/Developer survey

2012-08-22 Thread Hans Milling
How many responses did you get? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapGuide-User-Developer-survey-tp4995381p4996940.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing

[mapguide-users] Maestro 4 and 5 shows name for WMS layers and not title

2012-09-11 Thread Hans Milling
Maestro 4 and 5 have the same problem. When adding a WMS layer the list of Feature Classes show the name attribute (if you look inside the xml) for WMS layers and not the title. If the name is missing from a layer the title i shown instead. I think it should be the title that is shown as default

Re: [mapguide-users] Maestro 4 and 5 shows name for WMS layers and not title

2012-09-11 Thread Hans Milling
Hi jackie I am not sure if someone can create duplicates. I just find it difficult to select the right layer in a WMS service using Maestro when all I see is GUID names like 50BFD728-FC15-11E1-A7C1-3BE96088709B and not the title of the layer Orthophoto Spring 2010 Hans... -- View this message

Re: [mapguide-users] Refresh Layer Properties in Maestro

2012-09-27 Thread Hans Milling
Hi Gabriele Purging the cache did not help. The two new fields in my table does not appear. If I add the layer over again they do. I am using MapGuide OpenSource 2.2 and KingOracle provider. Hans... -- View this message in context:

Re: [mapguide-users] Refresh Layer Properties in Maestro

2012-09-27 Thread Hans Milling
So perhaps the purge command should also refresh the columns in the xml? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Refresh-Layer-Properties-in-Maestro-tp5004864p5004893.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] Refresh Layer Properties in Maestro

2012-09-27 Thread Hans Milling
I don't know if this is only the King Oracle provider, but after purging and opening the layer I see no change in the xml. E.g. if I delete two columns, they disappear from the list (I guess the list in Maestro GUI is matched to the feature class?), but they still iappear in the xml. If I manually

[mapguide-users] How to troubleshoot The specified class was not found?

2012-09-28 Thread Hans Milling
,MgGeometry,4,,-1,1) Failure Running mgserver with the cpl_debug=on only shows the same short error message: The specified class was not found. Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-troubleshoot-The-specified-class-was-not-found

Re: [mapguide-users] How to troubleshoot The specified class was not found?

2012-10-01 Thread Hans Milling
Hi Jackie All i get in MGOS2.4 RC2 is: Command line output: (4980) The specified class was not found. error.log file: 2012-10-01T11:36:44 4980Ajax Viewer ::1 Administrator Error: The specified class was not found. StackTrace: - MgRenderingServiceHandler.ProcessOperation() line

Re: [mapguide-users] Problem with ODBC on 64-Bit-machine after Update to MG2.4 Final

2012-10-16 Thread Hans Milling
bit Office 2010 or newer you do not need to install the driver. However if you have 32 bit M$ Office installed you need to uninstall Office before installing this driver. You can install the 32 bit office again if you like but I will recommend to install the 64 bit version. Best regards Hans

[mapguide-users] Change map coordinate system without regenerating tiles

2012-10-17 Thread Hans Milling
and change the coordinate system without having the tiles deleted making them regenerate all over? Best regards Hans Milling... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Change-map-coordinate-system-without-regenerating-tiles-tp5009234.html Sent from the MapGuide

Re: [mapguide-users] Problem with ODBC on 64-Bit-machine after Update to MG2.4 Final

2012-10-18 Thread Hans Milling
Hi David Microsoft designed these drivers, so why on earth they decided that it has to be this difficult to install, don't ask me. Anyway I guess they never could imagine anyone would install a 32 bit version of Office on a 64 bit Windows. But just as they invented the C:\Windows\SysWOW64 that

  1   2   3   >