FloMAT library export - svg

I have discovered the floMAT library for determining the medial axis transform of 2D shapes. It looks realy great but I wonder if there is any simple way to export the MAT data in a text file. I only succeeded to get outputs as images. Thanks in advance for help.

Related

How to create Perth Metropolitan Area Map in SVG

I am working on a project where Users can interact with a Map via mouse click to see more details of an area. It is Perth Metropolitan Area Map. This Map is generated from PDF using online "PDF to SVG converter".
When I looked at generated SVG code it is so huge can't understand full of it. and did some research to see if i can find any simpler version of the Map, I see there are various options to construct SVG, detailed below.
Shapefiles : Creating maps based on real world data, I thought this is good option to go. but the problem I observed here is we need to depend on GIS tools and open databases where GIS data is available. It is too heavy for our requirement.
Geo JSON / Topo JSON : I see this is simple way to represent Maps in plain, but I could not figure out a way to generate required JSON files. After exploring more on this I understood these technologies are dependent on GIS / Shapefiles.
Inscape : UI editor to draw SVG - It is just generating lot of SVG code again.
After reviewing above all I kind of thinking may be I should learn to write own SVG map.
Can somebody advice whether I am in right direction or Are there any simple approaches to create a Map like this Perth Metropolitan Area Map ?
Thanks in advance.

Getting coordinates for geojson

I have a geotiff that I have been working with in tilemill and I would like to select portions (buildings) in the map and create new layers as geojson objects. My issue is I don't know how to get the coordinates to create the objects!
http://chimera.labs.oreilly.com/books/1230000000345/ch12.html#_choropleth
this is a link to what I'm trying to do with states I just need the step where the coordinates are gotten because it doesn't seem to be in this document, they just give a shout to the guy who defined them. If anyone has done something similar to this, please give me a shout!
Update
I am not looking for the coordinates to the US, I have a fictional map that I am working from.
TileMill is a tool for visualizing data and creating map tiles - it isn't designed for creating or digitizing tasks. You'll want to export your map to Mapbox (or another MBTiles-supporting server), and use a tool like Mapbox's map editor or geojson.io to create GeoJSON overlays on top of it.

Easiest and free way to transform bitmap image into geographical map

I have image that is the map of a country with districts. For example this image http://upload.wikimedia.org/wikipedia/commons/c/ca/POLSKA_mapa_powiaty2.png. I want to trace/convert it to svg format to have each district as separate shape (polygon) - and later I want to use it in http://kartograph.org/. What program I have to use? And how?
I tried so far inkscape/photoshp but those didnt work.
Is there maybe some special tool/program to trace/convert bitmap to vectors?

WGS84 buildings to Collada tile

I've got building "footprints" in WGS84. Based on a regular grid I've
got to produce Collada "tiles" containing 3D buildings (extruded
footprints). These collada files are finally referenced by KML files
to produce a kmz dataset.
Everything is working quite fine. However my first tests have shown
gaps in GE between the aerial photography layer and my Collada
buildings. What should be the best strategy to convert WGS84 polygon
coordinates to local Collada coordinates ? What is best way to take
into account the ellipsoidic shape of the earth for GE ?
Thanx in advance
Franck
One option would be to import them into Google SketchUp and use SketchUp to do final placement.

Can OpenCollada export cgfx shaders from Max?

We are using the OpenCollada plugin for Max 2011. Geometry and animation data is coming through fine but I don't see any shader or material data included in the DAE.
Do I need to modify the Max exporter or should it just work out-of-the-box?
Using MaxScript we can iterate through the materials and export the cgfx (or directx shaders) to a separate file. Exporting it as part of the Collada is possible if we write a Collada exporter and insert the shader params as extra data. We're going the MaxScript route.
Update/Edit: wow, were we wrong about using MaxScript! The correct solution was to use the Max SDK and the IGame interface to query the materials. Yannick Puech has the definitive article.

Resources