Hi all.
Please I want to know if it is possible to draw lines with CSPro 7.7 on a map?
Actually I am able to draw polygons, but I want to draw lines on the map, this will be helpful to draw roads.
Thanks.
draw lines with geometry
Re: draw lines with geometry
Hello,
It's impossible to draw geometries on CSEntry Windows OS. I don't see any way for tracing a line on CSEntry Android...
It's why, I implemented something to overcome some CSPro map limitations. It's a "quasi ready to use CSPro user defined package" able to improve CSPro Map features by using Leaflet draw and modifying the CSPro logic-map file.
But, to release it for CSProusers (who's one of my goal), I need a CSPro able to support:
Here's a basic presentation about: .
It's focusing on polygons. But, we can easily activate tracing, saving, modifying and displaying lines.
Maybe, I will post a link to a Github public repository with a first beta after the release of CSPro 8.
Best,
It's impossible to draw geometries on CSEntry Windows OS. I don't see any way for tracing a line on CSEntry Android...
It's why, I implemented something to overcome some CSPro map limitations. It's a "quasi ready to use CSPro user defined package" able to improve CSPro Map features by using Leaflet draw and modifying the CSPro logic-map file.
But, to release it for CSProusers (who's one of my goal), I need a CSPro able to support:
- Dictionary symbols that are unknow until the runtime;
- A way to bypass the complete html repository located in C:\Program Files (x86)\CSPro X.0\html on Windows OS and specific repository on Android with modified versions. Right now, we already have this for HtmlDialogs=.\MyDialogsDirectory but we also need Html=.\MyHtmlDirectory.
Here's a basic presentation about: .
It's focusing on polygons. But, we can easily activate tracing, saving, modifying and displaying lines.
Maybe, I will post a link to a Github public repository with a first beta after the release of CSPro 8.
Best,
G.VOLNY, a CSProuser from Haiti, since 2004
Re: draw lines with geometry
Hello thierryt,
I put an open version of the demo application here: https://github.com/gregvolny/CSPro-Demo ... /CSMapTest
There's a CSPro 7.7 version who worked well (except a bug detected with CSPro map features). This version was implemented for working with the legacy .dat file (Please see source code here: https://github.com/gregvolny/CSPro-Demo ... ersion/src) The actualCSPro 8.0 Github version is working with CSDB.
Because of some issues in actual 8.0 beta, until today, it's not working as expected and finalized. I'm also waiting for:
My final goal with this demo is to give CSProuser all over the world :
i) A way for using the same Map engine, Leaflet , on Windows and Android;
ii) Dynamic geofencing on any CSPro Designed applications by releasing an "Easy and ready to use" library for this purpose. I discussed this with Josh years ago here: viewtopic.php?p=10497
iii) And more. Please see: https://github.com/gregvolny/CSPro-Demos/issues.
Best,
I put an open version of the demo application here: https://github.com/gregvolny/CSPro-Demo ... /CSMapTest
There's a CSPro 7.7 version who worked well (except a bug detected with CSPro map features). This version was implemented for working with the legacy .dat file (Please see source code here: https://github.com/gregvolny/CSPro-Demo ... ersion/src) The actualCSPro 8.0 Github version is working with CSDB.
Because of some issues in actual 8.0 beta, until today, it's not working as expected and finalized. I'm also waiting for:
for implementing a lot of changes.a) A CSPro 8.0 beta able to run Javascript side by side with CSPro logic (or Import ESM module that can be used in CSPro logic, Thanks Again to the CSPro Developer Team, mainly Greg who worked very very hard to open CSPro to JS by integrating QuickJS in CSPro logic);
b) Leaflet 2.0 with full support of ESM (https://github.com/Leaflet/Leaflet/issues/7055, https://github.com/Leaflet/Leaflet/releases/tag/v1.9.2)
c) Support from CSPro for dictionary symbol that are unknow until the runtime (even if CSPro 8.0 Dictionary Json format already gave me some ideas for an eventual work around to overcome this limitation);
My final goal with this demo is to give CSProuser all over the world :
i) A way for using the same Map engine, Leaflet , on Windows and Android;
ii) Dynamic geofencing on any CSPro Designed applications by releasing an "Easy and ready to use" library for this purpose. I discussed this with Josh years ago here: viewtopic.php?p=10497
iii) And more. Please see: https://github.com/gregvolny/CSPro-Demos/issues.
Best,
G.VOLNY, a CSProuser from Haiti, since 2004