It's hard to understand what you're trying to do as what you say does
not really make sense.
Working with Oracle DB is pretty straight forward.
1 - Create a feature source and select the Oracle Provider
2 - Enter the connection parameters
3 - Save
When you want to use data from your Oracle database, you just have to
create a new Vector Layer Definition from the Feature Source and select
the table containig the spatial data you want to display.
So packages are definitely not needed to work with an Oracle DB.
Moreover, packages do not store spatial data but the parameters entered
To make it simple, consider mgp files as ZIP archives with all the
parameters of the resources packaged in XML format.
So if you create a mgp of your Oracle feature source, it will be a 2ko
file, no matter how big your Oracle schema is.
I hope this will help.
Post by open_saucer
I don't intend to move data from one server to another. I shouldn't have to,
if there is an Oracle DB that have spatial table right? I can just let any
MapGuide Server access the Oracle DB, read the spatial table and
serve/publish that spatial table as an layers/maps/etcs.
So really there is no need to create an .mgp package right? If I do decide
to create .mgp package of the Oracle DB, then could I just choose one
spatial table to create a package, just for that table? Or do I have to
create a package of the whole Oracle DB with all the spatial tables in it?
that wouldn't be good if the Oracle DB instance is really big, like more
than 30gb with all those spatial tables in it.
View this message in context: http://osgeo-org.1560.x6.nabble.com/mgp-with-Feature-Source-Oracle-tp5319793p5319803.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
mapguide-users mailing list
473 route des Dolines
Phone : +33 4 92 96 96 01
Mobile : +33 6 27 84 04 30
Fax : +33 4 92 96 96 02