Re: [mapguide-users] Opensource C# mwf reader

2012-05-31 Thread Carl Von Stetten
m you need. You can make changes to the MWX file also, but you will need to open in in MapGuide Author and save it back to MWF format before MapGuide Server can use it. HTH, Carl Von Stetten On 5/31/2012 8:46 AM, Ali Ahmadi wrote: Hi all i have a mwf file and need to use it in C# is ther

Re: [mapguide-users] Silverlight/Moonlight Viewer

2009-02-23 Thread Carl Jokl
There have been some potential improvements in the performance of the AJAX viewer in MapGuide 2010. One issue that has been a problem though as I have heared reported from others in the company is the matter of image compression. This hits performance on both the AJAX and DWF viewer simply because

RE: [mapguide-users] Silverlight/Moonlight Viewer

2009-02-20 Thread Carl Jokl
The viewer and the performence of it has continued to be an issue for us. We were backed into a situation where we had to continue using the DWF viewer because it was the only viewer capable of delivering the application we develop at a usable level of performance on MapGuide 2009. I myself am not

RE: [mapguide-users] Silverlight/Moonlight Viewer

2009-02-20 Thread Carl Jokl
to do. Any updates? Regards Carl Jokl -- View this message in context: http://n2.nabble.com/Silverlight-Moonlight-Viewer-tp1812471p2357857.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide

Re: [mapguide-users] MapGuide SQL2008 Provider: can't support geometry method?

2008-10-20 Thread Carl
AFAIK, that is not possible to do with a layer filter. > > Instead, you can create a view in the database with the appropriate > filter, and then use that view as your datasource. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > Carl skrev: >&g

[mapguide-users] Services API: 'SelectFeatures' can't accept null properties?

2008-10-19 Thread Carl
I tried Services API 'SelectFeatures' of 'Feature' on http://localhost/MapGuide/mapagent/index.html. fill the Resource id with a MS SQL Server 2008 feature source the Class name with a table name and left other field as default. the return is as follows: Value for Prj_SpatialData property i

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-19 Thread Carl
MS SQL Server 2008. Thank you! http://www.nabble.com/MapGuide-SQL2008-Provider%3A-can%27t-support-geometry-method--td20056020.html Kenneth Skovhede, GEOGRAF A/S wrote: > > Hi Carl. > > Thank you for finding this problem. > There were another problem with the multiple schemas,

Re: [mapguide-users] MapGuide SQL2008 Provider: can't support geometry method?

2008-10-19 Thread Carl
e to add a bool tag to denote how to parse the filter? by the provider or by MG OS Server? Carl wrote: > > I just had a post about SQL 2008 Provider and got many effective answers, > and had my problem partially resolved. > > Now I can add a layer referencing to a feature

Re: [mapguide-users] MapGuide SQL2008 Provider: can't support geometry method?

2008-10-19 Thread Carl
osed' is not the intrinsic function. Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp . It seems the problem of FDO. If Filter doesn't accept the geometry

[mapguide-users] Maestro: How to add spatial filter to a runtimemaplayer?

2008-10-19 Thread Carl
I need add a spatial filter to a layer of MS SQL server 2008. I just set the filter string of this layer as: Prj_Geometry.STIsClosed()=1 but it doesn't work. and then I have a question: How to add spatial filter to a runtimemaplayer? Thank for help! There is a relative post: http://www.nab

[mapguide-users] MapGuide SQL2008 Provider: can't support geometry method?

2008-10-19 Thread Carl
I just had a post about SQL 2008 Provider and got many effective answers, and had my problem partially resolved. Now I can add a layer referencing to a feature datasource of ms sql 2008. Further more, I need to give a filter to the layer to select part of features. if I give a common condition(

RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-16 Thread Carl
erent. > > If you get a chance to try this out, please let me know if it fixes the > problem. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Carl > Sent: Wednesday, October 15, 2008 10:28 AM > To: mapguide-users@lists

RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-16 Thread Carl
Program Files\Autodesk\MapGuideStudio2009\FDO (if present) > > I'd recommend saving copies of your current versions of these DLL's before > extracting, just in case. > > I have MG enterprise on my machine so your directories might look a bit > different. > >

RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-15 Thread Carl
yes Brent Robinson-5 wrote: > > Hi Carl, > > Do any of your tables have a varchar(max) column? > > Brent. > > > -- View this message in context: http://www.nabble.com/Maestro%3A-can%27t-find-the-table-containing-the-geometry-field-with-SQLServerSpatial-tp

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-15 Thread Carl
Yes, I tried http://localhost/mapguide/mapagent/index.html. the returned xml covers only fewer tables of database. Then I create a new database, add table one by one, and try 'describeschema' from above web page. I couldn't find the rule the FDO/MapGuide used to enum the tables. all the tables

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-15 Thread Carl
Maestro, and > include the resulting xml in the ticket. > > If the tables are missing (which I suspect), it could be a problem with > permissions. > Could it be that the provider only shows tables which are owned by the > login user? > > Regards, Kenneth Skovhede, GEOGRAF

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
yes, the exception is exactly fired because of the lost the type map. Then I tried to comment the follow bold line: / public class FeatureSetColumn { internal FeatureSetColumn(string name, int type) {

Re: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
I traced into the code further more, and found the exception occurs while creating a featuresetcolumn with field type of 'varbinary': (as bold line of follow code) public FeatureSourceSchema(XmlNode node, XmlDocument doc, XmlNamespaceManager mgr) {

[mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial

2008-10-14 Thread Carl
I don't know whether it is the issue of Maestro, or MGOS server, or even the FDO provider for SQL server 2008. I have a SQL server 2008 Database with more than 200 tables. some tables has the name with the max length of 64 alpha-beta letters. there is only one table, with name length of 35 letter

RE: [mapguide-users] How to use Java (JSP) development with IIS

2008-09-08 Thread Carl Jokl
Maksim Sestic wrote: > > > Carl > > .NET did include J#, actually - VS2005 shipped with J# support. However, > as > far as I know, VS2008 doesn't ship with J# support. IMHO, J# made porting > native Java code to .NET quite easy. > > I have not used it

Re: [mapguide-users] How to use Java (JSP) development with IIS

2008-09-08 Thread Carl Jokl
inspiron2 wrote: > > For MapGuide, I want to use IIS server v6.0 (Windows 2003), but instead of > using PHP or .NET, I want to use Java (JSP) as my development language. I > noticed that for IIS, the "default" languages are only PHP or .NET. How do > I enable it for Java (tomcat, etc) as well?

RE: [mapguide-users] Google Chrome

2008-09-03 Thread Carl Jokl
I heartily agree. Stupid IE..*kicks IE* -- View this message in context: http://www.nabble.com/Google-Chrome-tp19278372p19285899.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users

[mapguide-users] Finding the data file path i.e. the value of "%MG_DATA_FILE_PATH%"

2008-08-05 Thread Carl Jokl
I am writing some code whereby data manipulation of features is happening through FDO rather than mapguide. The problem I have is that when it comes to working with any auto generated temporary feature sources the file will be stored in the location defined by %MG_DATA_FILE_PATH%. What I would lik

Re: [mapguide-users] Same Issue with phpadmin login PHP not enabling MapGuideApi using PHPINFO - not shown in list

2008-07-28 Thread Carl
I faced similar problem for several months. Today I open the error trace by set: 'display_errors = On' of php.ini and found it is because I haven't the enough access right to write the C:\Windows\Temp. I reset and give the write right to Users. It becomes ok. I run MGOS 2 on Vista SP1. Maybe I

Re: Re[mapguide-users] dlining error

2008-07-18 Thread Carl Jokl
>From what I can quickly read about JScript .Net it seems a bit more JavaScript 2.0 like and so the following may be possible: var featureService: MgFeatureService = MgFeatureService(siteConnection.CreateService(MgServiceType.FeatureService)); featureService..CreateFeatureSource(resourceIdentifi

Re: Re[mapguide-users] dlining error

2008-07-18 Thread Carl Jokl
I will assume this must be JScript .Net because what you are doing could not work at all otherwise but I see the problem in the code: var featureService = new MgFeatureService(); //You explicity create a new feature service. This is wrong //This method call retrieves the feature service from the

Re: Re[mapguide-users] dlining error

2008-07-18 Thread Carl Jokl
When you say ASP.Net with JavaScript, where are you trying to create the feature source, on the client or the server? MapGuide API has the web server API which can be invoked only from the server side which would handle such things as creating a new feature source and such. There is also a viewe

RE: [mapguide-users] Adding a new feature class to an already existing feature schema

2008-07-15 Thread Carl Jokl
Thanks I did suspect that might turn out to be the case. I am going to have to include some FDO code to solve some other problems in the mapguide system I am working on anyway so it is not a huge problem. -- View this message in context: http://www.nabble.com/Adding-a-new-feature-class-to-an-al

Re: [mapguide-users] Adding a new feature class to an already existing feature schema

2008-07-15 Thread Carl Jokl
While I am at it I might as well also ask about adding a new schema to an already existing feature source. Does anyone know about this also? does a new schema have to contain at least one class definition at the time of creation or can the class definitions be added later retrospectively? -- View

[mapguide-users] Adding a new feature class to an already existing feature schema

2008-07-15 Thread Carl Jokl
I wondered if anyone knows how to programatically add a new feature class definition to an existing feature schema. All the example code I have goes on the basis of creating the new class and the schema together in one step but I don't have any examples of how to go about retrospectively adding a

[mapguide-users] Updating viewer state of layer activation

2008-07-01 Thread Carl Jokl
I was hoping to get some guidence as to how to change the layers which are visible/enabled on the client side Ajax viewer. I have code which works already on the server side updating the layer visibility in the server side .Net MgLayer objects and then having the client refresh. This changes the

Re: [mapguide-users] Silverlight/Moonlight Viewer

2008-06-26 Thread Carl Jokl
Perhaps I am missing something here but my understanding of the latest versions of MapGuide was that it still supports the ActiveX based viewer as well as the new AJAX viewer, is this correct? If this is correct then I would ask the question of how the ActiveX viewer works when interacting with t

Re: [mapguide-users] Silverlight/Moonlight Viewer

2008-06-26 Thread Carl Jokl
I think that there could potentially be a number of alternatives to using an Active X based viewer. I could see potential also for both Flash or Java to create a viewer too. One problem with the Active X viewer in relation to the clients of the company I work for is the security / administrative p

Re: [mapguide-users] Zooming / Moving to a point on the map using the Server Side API

2008-06-26 Thread Carl Jokl
Thanks for the information. At least I know now it cannot be done from the server directly. I have implemented and tested a mechanism which feeds back a call to the client to perform the required action on the client side. -- View this message in context: http://www.nabble.com/Zooming---Moving-t

[mapguide-users] Zooming / Moving to a point on the map using the Server Side API

2008-06-24 Thread Carl Jokl
I wanted to ask about the process which you have to go through in order to use the MapGuide server side API to move the map position and zoom. The simple functionality seems to exist on the client side via the JavaScript libraries to move the map to a given x, y, position via just a just a functi

RE: [mapguide-users] how to create data connection based on SQLspatial 2008 with ADSK MGStudio 2007?

2008-04-06 Thread Carl
2007? > > AFAIK, the datastore is not used, and service parameter is the server > name. > Actually the Service is inserted in a string like: > ConnectionString="DRIVER={SQL Server}; SERVER=" + service. > So, service can probably also be: "localhost; Database=mydb".

[mapguide-users] how to create data connection based on SQL spatial 2008 with ADSK MGStudio 2007?

2008-04-06 Thread Carl
I am trying to use the FDO for MS SQL 2008. the FDO library for SQL 2008 has been added to bin/fdo and the providers.xml is updated accordingly. When the tabpage of new featuresource is shown, how to fill following parameters: username, password, service, and the datastore. It seems that username

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-25 Thread Carl
cat. You could find a second party .Net > class that works with zip files or use the windows API to work with them > or take the easy way out as I did and unzip them all to a second directory > and work with it that way. Whatever route you choose the information you > need is contained i

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-24 Thread Carl
gt; Session:SessionID//mydwf.DrawingSource > com.autodesk.dwf.ePlot_94A374353C9B4FBB02843AF1AC24E437 > > > > Where the ResourceID references the above drawingsource and the sheet is > the same as the Sheet->Name above. > > As I said, I add these resources

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-23 Thread Carl
Sorry, I haven't. btenbroeck wrote: > > Carl, did you ever find/get a solution to this? > > > Carl wrote: >> >> It is ok to publish the unmanaged SDF file. but how to prepare unmanaged >> DWF Drawingsource? It seems more complicated than SDF. >&

[mapguide-users] Is the buffering result of many geometries a MgPolygon or MgMultiPolygon?

2007-10-08 Thread Carl
I selected many geometries, including points, lines and polygons, from 3 layers. and then I make a MgMultiGeometry based on the MgGeometryCollection of these selected geometries, and then I make a buffer of the MgMultiGeometry. Theorectically, if these selected geometried are very close, the buffe

[mapguide-users] strange mark on the printed page of DWF Viewer

2007-10-08 Thread Carl
There is a strange mark on the printed page when using the DWF viewer. the mark can also be viewed within the preview page of DWF print dialog. Whether does it happen to everyone? If so, how to remove the mark? Please help me! Thanks. -- View this message in context: http://www.nabble.com/stra

[mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-09-27 Thread Carl
It is ok to publish the unmanaged SDF file. but how to prepare unmanaged DWF Drawingsource? It seems more complicated than SDF. -- View this message in context: http://www.nabble.com/How-to-prepare-unmanaged-DWF-Drawingsource--tf4529186s16610.html#a12923896 Sent from the MapGuide Users mailing l

Re: [mapguide-users] How to prepare the unmanaged feature source?

2007-09-20 Thread Carl
OK. It works. Thank everybody. Kenneth, GEOGRAF A/S wrote: > > That won't work. > The filename "[CADFiles]PrjLines.sdf" is not valid. > > Try something like C:\CadFiles\PrjLines.sdf", and adjust to the actual > location. > > Regards, Kenneth,

Re: [mapguide-users] NULL value of DateTime property

2007-09-13 Thread Carl
I face the same problem. Have you found the solution? vaidasvel wrote: > > > Hi, i have SDF where feature class has DateTime property which can be > NULL. > There is some objectswith that property set to NULL. When i try add this > feature source to the map i get this error when dispaying the

Re: [mapguide-users] Help on Saving my Finished MAP

2007-09-11 Thread Carl
d file listed out bottom. 3) choose the copied file and click 'load package'. ok. sweetGemini wrote: > > thanks for the reply carl, but how can i make a package as a file? sorry > for the simple question im only a newbie here, please help me, thank yo

Re: [mapguide-users] Help on Saving my Finished MAP

2007-09-11 Thread Carl
you can package your design with http://localhost/mapguide/mapadmin/packagemanagement.php -->Manage Packages 1. Make Package as a file 2. copy the file to the package directory of your destination installation of MG OS /Server/Packages 3. http://destination-localhost/mapguide/mapadm

Re: [mapguide-users] How to prepare the unmanaged feature source?

2007-09-11 Thread Carl
Who could post an example? I hope a successful case. Regards Carl wrote: > > Where I can find the template of unmanaged featuresource, or layer? > -- View this message in context: http://www.nabble.com/How-to-prepare-the-unmanaged-feature-source--tf4408812s16610.html#a12610745

Re: [mapguide-users] cannot insert feature,give a favor

2007-09-10 Thread Carl
_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\ServerUpdateFeatures.cpp I think I maybe get the path to solve the problem. Carl wrote: > > I just faced the same problem. (I traced the process and found the same > problem). Could you please have a post when

Re: [mapguide-users] cannot insert feature,give a favor

2007-09-10 Thread Carl
I just faced the same problem. (I traced the process and found the same problem). Could you please have a post when you get a soultion? Can you share the code of set_ResourceWriteAble(resoureId, resourceService); I just set the xml of featuresource directly (Set READONLY to FALSE). Regards, S

Re: [mapguide-users] How to prepare the unmanaged feature source?

2007-09-10 Thread Carl
lue] >> >> >> >> >> [Name of the provider] is the name of the provider (eg. OSGeo.SDF, >> OSGeo.SHP, etc) >> >> To determine what parameters are required. invoke the >> GetConnectPropertyValues of the Feature Service in your mapag

Re: [mapguide-users] How to prepare the unmanaged feature source?

2007-09-09 Thread Carl
ll probably have to restart both the server and studio if you add > or remove an alias. > > If you don't want the alias option, but just reference data outside of > the repository, you can manually edit the FeatureSource xml, to point at > the correct data. > > R

Re: [mapguide-users] MG studio 2007 can't cooperate with MG opensource 1.2.0 ? Update of Autodesk.MapGuide.Studio.Site.dll is not enough?

2007-09-09 Thread Carl
can Autodesk directly. > > > Regards, Kenneth, GEOGRAF A/S > > > > Carl skrev: >> I found also the error copying the fdo files. I reinstalled the MG studio >> and >> patchit accordingly, and copy the client library of ArcSDE92 to FDO >> directory. >> Now

[mapguide-users] How to prepare the unmanaged feature source?

2007-09-09 Thread Carl
Where I can find the template of unmanaged featuresource, or layer? -- View this message in context: http://www.nabble.com/How-to-prepare-the-unmanaged-feature-source--tf4408812s16610.html#a12577747 Sent from the MapGuide Users mailing list archive at Nabble.com. ___

Re: [mapguide-users] MG studio 2007 can't cooperate with MG opensource 1.2.0 ? Update of Autodesk.MapGuide.Studio.Site.dll is not enough?

2007-09-09 Thread Carl
tudio caches the providers, so you must restart studio as well. > > In your case, I would recommend uninstalling Studio, and repeating the > install/patch procedure. > > Regards, Kenneth, GEOGRAF A/S > > > > > Carl skrev: >> I just had installed MG opensour

[mapguide-users] MG studio 2007 can't cooperate with MG opensource 1.2.0 ? Update of Autodesk.MapGuide.Studio.Site.dll is not enough?

2007-09-08 Thread Carl
I just had installed MG opensource 1.2, and patched autodesk mg studio 2007 accordingly (Initial Installation + SP1 + SP1a + Autodesk.MapGuide.Studio.Site.dll Patch). I also copied all files located in the bin/fdo of mg Opensource 1.2 server to FDO directory of studio 2007 and modified the provide

RE: [mapguide-users] programmatically add layer to initial map

2007-08-16 Thread Carl
studio and they also have an identical structure. So I have no idea why the Map Definition is invalid. Carl Grice Keynetix Ltd Tel. +44 (0) 1527 6 Fax. +44 (0) 1527 62880 Web Site: <http://www.keynetix.com/> http://www.keynetix.com IMPORTANT: Please address all support &

RE: [mapguide-users] programmatically add layer to initial map

2007-08-16 Thread Carl
apName + ".MapDefinition"); resService.SetResource(SessMapResId, byteSource.GetReader(), null); //This causes an invalid map error when the viewer loads Any pointers on why manipulating the map definition is causing problems would be great. Using the same techniques I am having no problems

RE: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl
relatively new to the MapGuide API this may take me a little while! I don't suppose you have any code examples that I could follow or modify? Thanks again for your feedback. Carl Grice Keynetix Ltd Tel. +44 (0) 1527 6 Fax. +44 (0) 1527 62880 Web Site: http://www.keynetix.com IMPO

RE: [mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl
tered layer to map'. But I need a way to automatically add the filtered layer when the map is initially displayed Hope that helps explain a little more. Carl Grice Keynetix Ltd Tel. +44 (0) 1527 6 Fax. +44 (0) 1527 62880 Web Site: http://www.keynetix.com IMPORTANT: Please address a

[mapguide-users] programmatically add layer to initial map

2007-08-13 Thread Carl Grice
Hi, I am trying to programmatically filter and add a layer to a map that exists in the repository before the map is initially loaded in the clients viewer. The steps i am performing are as follows; 1)Initialize the web teir and open site 2)Create a new session and open a site connection 3)Use ma