Subscribe to this thread
Home - General / All posts - IMS town svg test
lionel

519 post(s)
online
#25-Nov-18 13:56

I test the script available in IMS town svg with area that use gps coordinnate manually create by mouse in mfd8 because need to make visible 30 cm accuracy.The IMS demo use a matrix transform to reproject all the layer inside a specific bounding box after some transformation . The transformation occur after load the page in the client side by running transform matrix include inside svg on path ( polygons points polylines) define inside svg .

I think since the coordinate has many digit before and after the virgule number are high so that browsers ( i test IE firefox chrome) have problems ( see above) to compute matrix on coordinate ( some rounded appear ? ) before rendering items inside area. Here i cut an area in small area with 30 cm border and no browser can render it except inkscape and manifold !! i paste the coordinnate of the top left small area to show the raw value .

So such drawing should be transform inside manifold to avoid the use of matrix transform in browser . The whole drawing could be include in a square of 200 meter border and i need to render it inside an area of 397 pixel or 14 cm ( 72 dpi) . I want that coordinate in manifold are locate on an interval beetween number 0 to 397pixel .

I think D3.js ll do this easely but wanted to to it in manifold so which tool i have to use to achieve this result in manifold ?

regard's

Attachments:
gps_to_orthogonalpixel.map
IMS svg Town.png
town_pointCordinate.png


join image "Because my dad promised me" interstellar from Manifold: Time by Stephen Baxter. power Math destruction

rk
282 post(s)
#25-Nov-18 15:20

I played with Manifold SQL functions and vectors (FLOAT64xN types). This is mostly hobby project.

I have AffineTransform and PerspectiveTransform functions for single vectors (points).

I have not lifted these to Geoms. I may sometime.

Attachments:
m9_PerspectiveTransform.png
m9_vectors.mxb

lionel

519 post(s)
online
#25-Nov-18 22:15

thank's a lot i ll have to study before understand all the code .... D3.js have a good tutorial about this ( use most of the caseusa data like Responsive TopoJSON Sizing with d3.js . i ll try to search in the manifold documentation some fine article ! here aSVG documentation that show that IMS Town svg use svg tag polygon and polyline that use for trace shape The list of vertices (corner-points) that are two numbers, representing the x and y positions of the point in user coordinates; No concept of use of path data relative of absolute use by attribut d=" " . I do'nt know wich way is more efficient and really don't know why the svg rendering is wrong in the browser compare to manifold or inkscape !!!

Attachments:
SVG_POINt.png


join image "Because my dad promised me" interstellar from Manifold: Time by Stephen Baxter. power Math destruction

lionel

519 post(s)
online
#25-Nov-18 22:46

IMS Svg Town sub article is locate at http://www.manifold.net/info/ims_examples.shtml

The IIS IMS realtime demo on line is viewable at http://atsql.com/Svg/default.asp

IIS ASP http://www.georeference.org/doc/creating_a_web_site.htm

I don't know if all browsers can in november 2018 rendering the svg content since specifcation of svg can change with time ... . Hope this post ll help end user understand all the technologies ( data protocol api language ) use by one example !!

regard's


join image "Because my dad promised me" interstellar from Manifold: Time by Stephen Baxter. power Math destruction

Manifold User Community Use Agreement Copyright (C) 2007-2017 Manifold Software Limited. All rights reserved.