[Gvsig_english] Export to shapefile

Antonio Falciano afalciano at yahoo.it
Sat Apr 21 09:24:45 CEST 2007


Hi Chema,
your help was essential to my python script development.
Thank you very much again!
Learning how to do a particular task by script is surely another way
to appreciate the high potentialities of gvSIG.

Best Regards,
Antonio

Jose Manuel Vivó (Chema) ha scritto:
> Hi, Antonio:
>
> Try this:
>
>   
>>>> from com.iver.andami import PluginServices
>>>> ExportTo = 
>>>>         
> PluginServices.getPluginServices("com.iver.cit.gvsig.cad").getClassLoader().loadClass("com.iver.cit.gvsig.ExportTo")
>   
>>>> ExportTo
>>>>         
> <jclass com.iver.cit.gvsig.ExportTo at 27693712>
>   
>
>
>
> Regards,
>
> El Jueves 19 Abril 2007 17:35, Antonio Falciano escribió:
>   
>> Hi list,
>> I created a layer using ConcreteMemoryDriver class and so it's not
>> permanent.
>>
>> Now I want to export it to a shapefile. I tried to do this with:
>>  >>> from com.iver.cit.gvsig import ExportTo
>>
>> ImportError: No module named cit
>>
>>  >>> import com.iver.cit.gvsig.ExportTo
>>
>> ImportError: No module named cit
>>
>>  >>> exportTo=gvSIG.classForName("com.iver.cit.gvsig.ExportTo")
>>
>> java.lang.ClassNotFoundException: java.lang.ClassNotFoundException:
>> com.iver.cit.gvsig.ExportTo
>>
>> Any suggestions?
>>
>> Antonio
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at runas.cap.gva.es
>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>     
>
>   


More information about the Gvsig_internacional mailing list