Author Archive for Gordon Luckett

24
May
12

Google Popup from OpenLayers and MapGuide/AIMS – gone!

Like many people yesterday, I noticed all my MapGuide/AIMS sites suddenly had a “Map Data” popup in the middle of my map.

Why is this here today?

So how to fix it?
Opent the file:
C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\OpenLayers\theme\default\style.css

and add the following around line 30:

.olLayerGoogleV3.olLayerGooglePoweredBy {  
    visibility:hidden !important;
    bottom: 15px !important; 
}
.olLayerGooglePoweredBy.olLayerGoogleV3.gmnoprint {
visibility:hidden !important;
}

02
Feb
12

Groundhog Day – Arrow Geomatics Inc 13th Year

Wiarton Willie does not see his shadow, thus 6 more weeks of winter.

Where is Wiarton?  Click this link to see it in OpenStreetMap.

30
Jan
12

Flow Arrows and Custom Linetypes in AIMS 2012 (aka MapGuide)

So a lot of people want to recreate the look and feel of the maps they created in AutoCAD, even though precise engineering drawings are not cartographically accurate.

That being said there is definely a way to recreate the flow arrows and Leaders from AutoCAD in AIMS.

If you have a line layer in AutoCAD you will either have to export it to SDF, SHP, Oracle Spatial, SQL Server Spatial, or any other “FDO” type data.

Connect to that data in AIMS and modify the layer style in AIMS 2012 Studio.

In the Style Lne dialog:

  1. Ensure to use “Map” units
  2. Chose your units (feet or meters typically)
  3. Under Symbol and Style, click Add Symbol.

 4. Under Select Symbol, choose Triangle.

5.  For height, type your height in feet or if you have it as a column in your data, choose that.

6. For width, do the same as step 5.

7. Click Advanced.

8. If you want to put an arrow at the beginning of the line, enter 0 for Offset from Start, do not type anything for “from end” and set the Repeat interval to 0.

9. For Rotation, enter: 90

If you change the Offset for the End to be 0 and the beginning empty, the arrow will appear at the other end of the line.
This is very effective for AutoCAD Leaders and Flow Arrows.  Also, you can use text instead of triangle, to get a custom line.
For example: Choosing Text instead of Triangle, you can repeat the text along the line to create a custom line time
The cool thing is you can do this in Map 3D 2012 as well, for any FDO based layer.
 Also, you can save as a .LAYER file, load back into AutoCAD Map 2011 and use the Publish to MapGuide to retro your advanced layer definition into MapGuide 2011.
 Normally you would have to hack around in XML to get this to work with MapGuide 2011.
 If you have Map 3D 2012 you can now create .LAYER files with all this neat stylization and use the .LAYER retroactively.
28
Nov
11

Instantly Publish your DWG from AutoCAD Map 3D to AIMS (MapGuide) but why would you?

Alright, I love the ability to push my DWG from AutoCAD Map 3D into MapGuide – I almost never need to open MapGuide/AIMS Studio.

So what is the issue?

AutoCAD Map 3D has had a great tool for creating custom properties for every object in your AutoCAD drawing: it’s called “Object Data”.   For example, if you have a polyline, text or block that you want to add your own information to, such as diameter or data installed.

So what happens to this amazing custom Property called Object Data when you publish it to MapGuide aka Autodesk Infrastruture Map Server 2012?

Watch this video to find out:

16
Nov
11

Introduction to MapGuide OpenSource – from FOSS4G in Denver

It looks like my technical tutorial from FOSS4G last September is now posted.

MapGuide 2.2 Tutorial (Part 1 of 2)

MapGuide 2.2 Tutorial (Part 2 of 2)

This is where I actually use the Youtube videos seen at http://youtube.com/mapguideguy/

 

11
Nov
11

Dongjin Xing’s – Introduction to MapGuide Enterprise (circa MapGuide 2007) Programming

This Video was put on the Autodesk Developer Network (ADN) for MapGuide 2007 – it is a few years old, but it is a great introduction to programming with MapGuide in .NET.

29
Oct
11

ArcGIS 10 and AutoCAD Map 3D 2012: drop ArcSDE and all the dll dependancies!

Another big topic: accessing ArcGIS Server 10 with AutoCAD Map 3D. Usually you will see demos and blog posts on how to move the dlls of the ArcGIS Runtime or Map install into the FDO folder of AutoCAD Map 3D so you can use ArcSDE.

What if you usually connect ArcMap with Direct Connect and don’t even want to use SDE?
What if you only have Map 3D and don’t want to buy the ArcGIS runtime?

In this video, I show the traditional ArcSDE way of connecting to ArcGIS 10 server, and then I show how you can set up your ArcGIS data so that it can be viewed AND edited by 3rd party products such as AutoCAD Map 3D 2012.

19
Oct
11

DWG to FDO: Moving Blocks to SDF (with Attributes)

I have had a lot of questions lately on how to move complex DWG files with Rotated Blocks with Attributes to FDO.

(Feature Data Objects include storage such as Oracle Spatial, SQL Server Spatial, SHP, SDF, mySQL, etc.)

Moving from DWG to Universal Spatial Storage (USS) is key for any organization wanting to share data or maintain a “Truth” to their assets.

I have created a video that shows how to take Blocks with 3 Attributes and export them to a SDF file – which can then be put in the SQL Server or Oracle etc.

I use the existing block as a symbol with FDO, so please keep your individual DWG block libraries on your system.  For example, I have a folder with all my utility blocks – each block exploded in an individual DWG file.

04
Oct
11

MapGuide and Oracle OpenWorld/JavaOne Conference

This year the “navigate” application for finding your session, demo kiosk or company booth is being hosted by Arrow Geomatics Inc.  The servers, which are provided by our partners as Technique Microsystems, are supplied with MapGuide OpenSource and Oracle 11G.

I have teamed up with Andrea Bell to build a very powerful application with of all the floorplans representing 11 hotels around San Francisco that have the Sessions, Demos and Company Kiosks.

You can find your session etc for OpenWorld at http://www.navigate2011.com/openworld and JavaOne at http://www.navigate2011.com/javaone

The site was rapidly built using MapGuide OpenSource and Oracle 11G.  The Web API is FUSION mainly because of the beautiful URL API &theme=on the Web Layout URL.

Another way to find the site is by to Oracle’s site: http://www.oracle.com/openworld/index.html and click Tools>Navigate

Or for JavaOne:

site: http://www.oracle.com/javaone/index.html and Click Tools>Navigate

Next stop, Autodesk University?

22
Sep
11

Best Observation at Denver FOSS4G 2011

One of the biggest items that struck me while attending FOSS4G last week was how robust openstreetmap.org is and how it compares to other online web mapping systems.

One of my favourite comparisons is how google maps (maps.google.com) and OpenStreetMaps show Kabul, Afghanistan.

Google:

Google shows very little detail, but the crowd sourcing approach of openstreetmaps shows a lot more detail.

Since anyone can edit and upload GIS data to OpenStreetMaps, if your town is “off” in Google or Bing, why not upload your information to OpenStreetMaps? 

OpenLayers.org can connect to OpenStreetMaps.  Because of that, MapGuide and Autodesk Infrastructure Map Server 2012 can utilize OpenStreetMaps. 

Autodesk Infrastructure Map Server Studio 2012 supports the OpenStreetMap as an OpenLayers base layer.

QGIS, http://www.qgis.org, not only can consume OpenStreetMap data but can be used to edit it as well.




Gordon Luckett

Arrow Geomatics Inc's Gordon Luckett

Contact

gordon dot luckett at arrowgeo dot com 1-519-837-9500 (Arrow Geomatics Inc.)

Checkout MapGuide Guy’s Youtube Channel

gordonluckett@twitter


Follow

Get every new post delivered to your Inbox.