[mapguide-users] Layer creation

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue May 19 03:25:57 EDT 2009


You can either use the MgInsertFeatures method:
http://mapguide.osgeo.net/files/mapguide/docs/webapi/d4/d63/class_mg_insert_features.html

Or just write the data directly to Oracle using an SQL insert statement.

Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:
> Hi Kenneth,
> i just want to draw a line, point and polygon and want to save it in oracle
> table............
>
> Regards,
> Padmini.
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> Do you want to create lines based on points and links?
>> If so, I know no good way to do it.
>> The "brute force" method would be to just loop through the table
>> and create the actual polylines, and insert them into a temporary storage
>> (oracle table or SDF file), and then display the table as normal.
>>
>> I don't have any code to send.
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> padmini godavarthi skrev:
>>     
>>> Hi Kenneth,
>>> can u plz tell me ur suggestion....................
>>>
>>> i have a shape file and i have created this shape files into nodes and
>>> links
>>> tables in database
>>>
>>>   Now i have a 2  tables (aaa_nodes,aaa_links) in oracle 10 g database
>>>
>>> Now i want to display it in the ajax viewer (programmetically)
>>>
>>> i know the way of creating packages and display it in viewer but i want
>>> to
>>> display it programmentically.
>>>
>>>
>>>
>>> My user interface should be like this
>>>
>>>  In  the check box  i want to display all the gis tables in database
>>> while checking  it should display the table data (layers) on the ajax
>>> viewer.........................
>>>
>>>
>>> can u plz tell me the approach(actually iam confused in this situation)
>>> and send me the code for this...............................
>>>
>>> Regards,
>>> Padmini.
>>>
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090519/3d32d00f/attachment.html


More information about the mapguide-users mailing list