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
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
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
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
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
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
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,
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
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
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
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(
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
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.
>
>
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
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
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
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)
{
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)
{
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
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
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?
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
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
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
>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
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
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
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
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
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
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
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
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
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
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
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".
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
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
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
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.
>&
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
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
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
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,
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
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
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
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
_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
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
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
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
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
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.
___
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
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
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 &
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
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
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
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
61 matches
Mail list logo