SHP support

This forum is for eXpress++ general support.
Post Reply
Message
Author
Victorio
Posts: 631
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

SHP support

#1 Post by Victorio »

Hi, I am searching some shp - shape viewer support for Alaska Xbase. Exist some one ?
I need implement digital maps viewer to my app.
I have 2 options,
one using digital maps in vector format (vector coordinaters)
two convert vector format to shape format (need convert special txt formatted format to shp) and use some viewer.

first options I mean will be slow with using gra functions, because maps is large and have many objects, and moving, zooming windows may be slow. for this will be some C++ app better

I know, better will be implement database system in Xbase to robust graphics system, but important for client is price, and I need only simple viewer with zoom, move, search function

User avatar
Auge_Ohr
Posts: 1414
Joined: Wed Feb 24, 2010 3:44 pm

Re: SHP support

#2 Post by Auge_Ohr »

hi,

Xbase++ is "just" a Compiler / Linker using DBF Files.
Xbase++ does not support GIS (Geographic Information System)
Xbase++ GRA Function, using GDI, are very slow.

i do use Mappoint activeX but M$ will not support it any more so i have to change to PostGIS*** / PostgreSQL using OSM ( Open Street Map ) ***http://www.postgis.org/

while i need "routing" i try to use http://www.pgrouting.org/

if you want to testdrive PostGIS look here http://live.osgeo.org/de/download.html for ISO or Virtual Disk .VMDK.
greetings by OHR
Jimmy

Victorio
Posts: 631
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: SHP support

#3 Post by Victorio »

thank you for info.

I have third option, using external map viewer (price about 100€) , but need controlling it with dde channel.
External viewer have option run as /server app, and then can controlling with commands via dde
Now I must study Controlling external DLL and DDE :( . Some examples is in eXpress samples.

User avatar
Auge_Ohr
Posts: 1414
Joined: Wed Feb 24, 2010 3:44 pm

Re: SHP support

#4 Post by Auge_Ohr »

Victorio wrote:I have third option, using external map viewer (price about 100€) , but need controlling it with dde channel.
External viewer have option run as /server app, and then can controlling with commands via dde
Now I must study Controlling external DLL and DDE :( . Some examples is in eXpress samples.
did you have a Link what you want to use ?
did you have a Sample how to use DDE or OLE with Xbase++ :o
greetings by OHR
Jimmy

Victorio
Posts: 631
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: SHP support

#5 Post by Victorio »

I want use Misys view, link : http://www.gepro.cz/produkty/misys-view/ (Czech product )
Exist two versions, commercial, and free with some restrictions and blocked functions.
Download need registration, but for non commercional use is free.
But this is special viewer for digital cadastral maps, ortophoto maps, dgn,... many formats...

If application run with parameter /server, it can be controlling by dde channel.
Manual is in czech language ;)

About examples, in eXpress is some examples for using DLL libraries , some is exp19\Samples\Static\MsgBoxCustom.prg, where is DLLLoad GDI32.DLL, or USER32.DLL
and DLLCall. DDE channel and DLL calling is maybe other things ? do not know, it is new for me.

I do not know, if it is possible way for me for controlling graphics viewer... now I am finishing first beta/demo version of my application but only for databases .
Graphics function I want implement later.

User avatar
Auge_Ohr
Posts: 1414
Joined: Wed Feb 24, 2010 3:44 pm

Re: SHP support

#6 Post by Auge_Ohr »

Victorio wrote:I want use Misys view, link : http://www.gepro.cz/produkty/misys-view/ (Czech product )
Exist two versions, commercial, and free with some restrictions and blocked functions.
Download need registration, but for non commercional use is free.
But this is special viewer for digital cadastral maps, ortophoto maps, dgn,... many formats...

If application run with parameter /server, it can be controlling by dde channel.
Manual is in czech language ;)
it seem to be a GIS System using Oracle Database.
Victorio wrote:About examples, in eXpress is some examples for using DLL libraries , some is exp19\Samples\Static\MsgBoxCustom.prg, where is DLLLoad GDI32.DLL, or USER32.DLL and DLLCall. DDE channel and DLL calling is maybe other things ? do not know, it is new for me.
these Sample just "load" DLL and call "some" Function with simple Parameter.

if you got a activeX or DLL you have to write a "Wrapper" for all Function.
have a look what Roger wrote as ADS Wrapper Functions c:\exp19\Source\Dclipx\_dcads.prg
Victorio wrote:now I am finishing first beta/demo version of my application but only for databases .
what does your Database include ? GPS Koordinate ?
greetings by OHR
Jimmy

Victorio
Posts: 631
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: SHP support

#7 Post by Victorio »

Gepro MiSys view I am using for open and view digital cadastral maps. For me is important VGI format, it is not VGI, but special interchange text based format like CSV.
In this is vector objects writed in JTSK coordinates.(used in Slovak republic and Czech republic for cadastral maps)
Coordinates can transform to GPS too, also back from GPS to JTSK with some tools.
VGI text format maps (have structure so as Autocad DXF in readable format), and using also VYK format (as DWG AUtocad format).
Both formats can open in viewer, but VYK have coded format.
Exist too convertor VGI to SHP and other formats like DGN,DXF,...
Some have but do not know how to using because it is in Python...

My database application include informations about persons, cadastral parcels, buildings,...and many cadastral informations in DBF databases . Graphics informations/databases will be in "VGI" vector format, or converted to SHP format.
Both informations must be linked.

Post Reply