Thanks for the steps to extracting text from the DXF Larry. I'm
acutally looking at the Kabeja library (suggested by Christopher) as a
way to improve DXF import. I'll keep you posted on my progress.

http://kabeja.sourceforge.net/

SS

On Thu, Apr 9, 2009 at 2:44 PM, Larry Becker <becker.la...@gmail.com> wrote:
> Hi SS,
>
>   We also have the need to transfer our labels from CAD to SkyJUMP.
>
> 1) Use Michael's DXF plugin to import the (simple) DXF.  It comes in with a
> Text attribute.
> 2) Use my "Extract Layer by Attribute" plugin, (which defaults to the
> attribute "Layer") to break the dxf-derived layer back out to the original
> layers.
> 3) Change the style on layers that have text to:
>   a. Enable Labeling on the "TEXT attribute"
>   b. Set the horizontal alignment to LEFT for layers with comment text.
>   c. Set the Height attribute to TEXT_HEIGHT.
>   d. Check Scale labels with the zoom level
>
> If you follow these steps, you should get reasonably good text in your OJ
> map from the CAD original.  I recommend exporting as an R12 dxf if
> possible.  You can use a free program like EveryDWG to do the conversion.
>
> regards,
> Larry
>
> On Thu, Apr 9, 2009 at 12:18 PM, Sunburned Surveyor
> <sunburned.surve...@gmail.com> wrote:
>>
>> Thanks for all of the responses. I'll get with Christopher on
>> implementing the external renderer.
>>
>> Larry asked some good questions. Let me try to answer them.
>>
>> Larry wrote: "The renderer is the lest of your problem with adding the
>> capability to do labels without a backing feature.  How are you
>> planning to persist the labels?"
>>
>> I planned on persisting them as a normal Feature object, which means
>> they could be stored in a Shapefile, or maybe a delimited text file.
>> I'll likley wrap these features in a Layerable implementation.
>>
>> Larry wrote: "How will this integrate with the Project (Task)?  How
>> will you keep this from making prior .jmp files incompatible?"
>>
>> I don't think any modifications to the project file will be needed at
>> this point. All of the attributes for locating and styling the text
>> can be stored in the feature attributes (I think).
>>
>> Larry wrote: "Why is it necessary to even do labels that don't have
>> features?  What is their use case?
>>
>> The use cases are centered more on cartographic map production than
>> traditional spatial analysis. For example: I want to be able to import
>> notes from the CAD drawings my company produces when I import a DXF.
>>
>> Larry wrote: "In SkyJUMP I added a stand alone Text tool, but it
>> basically uses a new style with standard Features."
>>
>> I want to do something similar. I'll take a look at the stand alone
>> text tool in SkyJUMP. It would probably make a good starting point.
>>
>> Thanks for all of the help.
>>
>> SS
>>
>> On Thu, Apr 9, 2009 at 9:59 AM, Giuseppe Aruta <giuseppe_ar...@yahoo.it>
>> wrote:
>> >
>> > Hi Stefan,
>> >
>> >> (somewehere on the
>> >> wiki there
>> >> was a tip on how to use html tags for displaying images?
>> >
>> > Here: http://openjump.org/wiki/show/View  nder "Map tooltip".
>> >
>> > Peppe
>> >
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by:
>> > High Quality Requirements in a Collaborative Environment.
>> > Download a free trial of Rational Requirements Composer Now!
>> > http://p.sf.net/sfu/www-ibm-com
>> > _______________________________________________
>> > Jump-pilot-devel mailing list
>> > Jump-pilot-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
> --
> http://amusingprogrammer.blogspot.com/
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to