Thanks Jesse. I'll run with the operations idea and see how I go.

Roger

Quoting Jesse Eichar <[EMAIL PROTECTED]>:

 Sounds Interesting.  I think what you want to do depends on you 
 requirements.  Here's an possible design (remember that I don't know 
 exactly how you want it):
 
 You can create a org.eclipse.ui.ActionSet extension that opens a file 
 chooser dialog allowing a user to select a seismic navigation file.  The 
 operation will then create a shapefile from the file and maybe create a 
 new map with the shapefile layer.  Or it might just add the layer to the 
 open map.
 
 Another possibility is to make a net.refractions.udig.ui.operation 
 extension that is enabled when you select a map.  The operation would do 
 the same as above but would add the layer to the selected map.
 
 A final and rather more complex possibility is to create a
 1.  Datastore that can read the seismic file.
 2.  A catalog plugin so that udig can use the datastore
 3.  Create an operation that can operate on layers whose resources are 
 seismic files.  The operation would translate the layer to shapefile.
 This is obviously a lot of work and unless you want to be able to view 
 the seismic files without translating them to shapefiles I wouldn't 
 recommend it.
 
 Hope this helps,
 Jesse
 
 
 Roger Loweth wrote:
 > Hi everyone,
 >
 > I'm new to uDig but not to Eclipse or GIS. I want to build a translator
 which 
 > will pick attributes and posiitons out of a seismic navigation file and make
 a 
 > shapefile (multipoint Z, many attributes).
 >
 > Is the dataWizards extension point the best place to put this? And where can
 I 
 > find the source code for the existing wizards, so I can get a handle on what
 I'm 
 > doing?
 >
 > I have successfully downloaded the latest SDK and built the distanceTool -
 very 
 > straightforward thanks.
 >
 > If I can get this to work I would like to build a more generalized
 translator 
 > which I'd then submit to the community.
 >
 > Cheers, Roger
 >
 > _______________________________________________
 > User-friendly Desktop Internet GIS (uDig)
 > http://udig.refractions.net
 > http://lists.refractions.net/mailman/listinfo/udig-devel
 >   
 
 _______________________________________________
 User-friendly Desktop Internet GIS (uDig)
 http://udig.refractions.net
 http://lists.refractions.net/mailman/listinfo/udig-devel
 
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to