This is Daniel Du's TypePad Profile.
Join TypePad and start following Daniel Du's activity
Join Now!
Already a member? Sign In
Daniel Du
Beijing
Daniel Du has been with Autodesk since 2008, focusing on providing programming support, consulting, training and evangelism to external developers. He is based in Autodesk Beijing, China office. He started from his career from an institute and gained more than 10 years’ experiences on software design and development domain. His expertise spreads across application development for Autodesk Infrastructure Map Server (former MapGuide), AutoCAD Map 3D, AutoCAD Civil 3D, Topobase and other Infrastructure Modeling Technologies from Autodesk. Daniel has a bachelor degree in Geography from Lanzhou University. At his spare time, he likes go out for hiking in the hills near Beijing.
Recent Activity
Image
By Daniel Du We talked about Ajax Viewer, Fusion Viewer, actually Mobile Viewer is another important viewer, especially for those who want to view map data on mobile devices. The Mobile Viewer framework is a set of JavaScript classes, CSS files, images and icons designed to provide a compelling and... Continue reading
Posted Apr 11, 2013 at Infrastructure Modeling DevBlog
Image
By Daniel Du This is second half of feature service, we will discuss updating, deleting and creating features with feature service. A feature class contains one or more features. Each feature has a geometry that defines the spatial representation of the feature.Features will also generally have one or more properties... Continue reading
Posted Apr 9, 2013 at Infrastructure Modeling DevBlog
Sorry I made a mistake, this feature has been there on AutoCAD 2013. Please see http://upandready.typepad.com/up_and_ready/2013/03/installing-language-packs-for-autocad.html. And there is no SP2 yet and I do not know the plan( when or whether it will be released) yet.
Sorry but I do not understand your requirement. But it is possible to embed a base layer like Google Maps/Bing Map, etc to AIMS with flexible web layout. Not sure whether it is what your want to do...
the URL is truncated due to the layout issue, it is: https://import.autodeskbutterfly.com/DevTools/inspector/devtools.html
By Daniel Du In this part, we will discuss displaying and plotting maps. After this class, you will have a better understanding layers, layer groups and map, and learn how to plot maps to plain images or DWF files. A layer in MapGuide is an overlay on a drawing composed... Continue reading
Posted Apr 4, 2013 at Infrastructure Modeling DevBlog
By Daniel Du In this post, we discuss site service and resource service. As we talked in part 2, there are 7 services in MapGuide Web Extension API. Before a page can use a service, it must open a site connection and create an instance of the necessary service type.... Continue reading
Posted Apr 3, 2013 at Infrastructure Modeling DevBlog
Thanks Norman for the comment, The code was in VB. To be clear, I changed it to VBA code and appended some C# code snippet for reference.
Toggle Commented Jan 6, 2013 on Purging anonymous blocks at AutoCAD DevBlog
You can select any AMI which satisfies the system requirement of MapGuide and install it when logging into the instance with remote control tool. Sorry but Autodesk cannot provide support about this.
Hi Badar, The sample code of solution 5/6, including all others, can be downloaded from the last link in the post.MapGuide Samples 2012(zip - 22.5 MB) Thanks, Daniel
Hi Arrianne, I did not do anything with config.json, just using the default one which is installed by installer. I don't think it is necessary to modify this file except you have particular needs.
Thanks David for pointing out this, it is fixed now.
Yes, I agree with you Zac, I have logged a wishlist about this, please free feel to issue a ticket from Open Source community as well :)
By Daniel Du I blogged about this topic on my personal blog in English, so I just leave a link here, if you are interested in this topic, please refer to this post. It was written based on MapGuide Enterprise 2011, but it applies to AIMS 2012/2013 as well with... Continue reading
Posted Aug 16, 2012 at Infrastructure Modeling DevBlog
By Daniel Du Q: I want to zoom a map to screen center without changing the scale, how can I do it? A: In Map 3D, if you have connected to FDO data sources and added them to map, you can call AcMapMap.ZoomToExtent() to set the new extent of map.... Continue reading
Posted Aug 16, 2012 at Infrastructure Modeling DevBlog
By Daniel Du I am asked how to get the list of maps from MapGuide repository. In this post, I will show you how to do it with code, actually it is possible to get a list of resource with specified type, it can be feature source, layer, map or... Continue reading
Posted Aug 12, 2012 at Infrastructure Modeling DevBlog
TypePad HTML Email Hi Alex, Sorry but I am clear about your meaning, are you trying to add a chart in AIMS? Would you please refer to this post to check whether it is helpful? http://adndevblog.typepad.com/infrastructure/2012/04/make-full-use-of-tooltip-in-autodesk-infrastructure-map-serveraims-or-mapguide-open-source.html Thanks, Daniel
I did a test, it works fine for Raster layer as well. A reminder is, please to make sure to refresh the map using viewer API.
Hi Mohammad, To make the blog more readable, we only answer questions related to the post itself. If you have any other questions, would you please ask through ADN site(if you are an ADN member) or ask in autodesk discussion group? Thank you for your understanding.
Thank you for the comment, the link is fixed now.
Sorry but I don't know who is maintaining this site. Many reason may cause this behavior, one of the them is that the Map Server is not running.
By Daniel Du You may find your .net project does not compile any more after installing Service Pack 1 or Service pack 2 for Map 3D 2012, the error message is similar like below: For SP1: ------------------------ Error 1 The project currently contains references to more than one version of... Continue reading
Posted Jun 13, 2012 at Infrastructure Modeling DevBlog
Hi Firexoulz, you can use this tool to convert C# code to VB.NET http://www.developerfusion.com/tools/convert/csharp-to-vb/ Thanks, Daniel
By Daniel Du In this post, I will introduce how to insert FDO Features to SQL Server Spatial, but it also applies to other data source with minor or no changes. Firstly, let’s look at some background knowledge. In Map 3D, There are two different modes for updates to features:... Continue reading
Posted May 29, 2012 at Infrastructure Modeling DevBlog
I am always asked questions like below: I am working with Autodesk Infrastructure Map Server 2012 64bit, but I always get a compile error “could not load file or assembly”, there is not problem when running. The error message could be: Could not load file or assembly 'OSGeo.MapGuide.Foundation, Version=2.3.0.4202, Culture=neutral,... Continue reading
Posted May 25, 2012 at Infrastructure Modeling DevBlog