Point Problems

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
weatherguy08
Member
Posts: 26
Joined: Mon Aug 08, 2005 8:58 pm
Location: Baton Rouge, LA
Contact:

Point Problems

Post by weatherguy08 »

My custom points do not seem to be entering in the correct place. In the .pls file, I entered "37.7597N 100.0183W Dodge City" but on the map, it is being plotted around 38.6192N, 101.3831W. Does anyone know what the problem may be? I'm lost. :(
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

Did you recompile the table? That is under "file" click on that and then plot and it should work!
weatherguy08
Member
Posts: 26
Joined: Mon Aug 08, 2005 8:58 pm
Location: Baton Rouge, LA
Contact:

Forgot

Post by weatherguy08 »

Sorry. I totally forgot that I had posted this. The points I am referring to are custom geography points (e.g. Home), not the station plots. It almost seems that the lat/long grid is off or something.
edwoodza
Member
Posts: 34
Joined: Mon Apr 07, 2008 11:42 am

Post by edwoodza »

Each time i compile the charts i get the following error:
DA encoutered an error: Access violation at address 0058b081 in module "digatmos.exe" Read address 00000000

wxforecaster wrote:Did you recompile the table? That is under "file" click on that and then plot and it should work!
Shannon Key
Member
Posts: 72
Joined: Fri Nov 28, 2003 9:32 pm
Location: Norman, OK
Contact:

Post by Shannon Key »

edwoodza wrote:Each time i compile the charts i get the following error:
DA encoutered an error: Access violation at address 0058b081 in module "digatmos.exe" Read address 00000000
Have you downloaded the latest patch? There is a fix for this problem in v1.40b, which was just released on 19 November. Please download "Digital Atmosphere Equinox - Standard Patch (V1.40b - 19 Nov 08)" from here:

http://www.weathergraphics.com/dl/

If you still have problems compiling the charts after applying the patch, please let me know.

Shannon
weatherguy08
Member
Posts: 26
Joined: Mon Aug 08, 2005 8:58 pm
Location: Baton Rouge, LA
Contact:

Post by weatherguy08 »

Now the geographic points are not even appearing on the map! :( Please help me.
Shannon Key
Member
Posts: 72
Joined: Fri Nov 28, 2003 9:32 pm
Location: Norman, OK
Contact:

Post by Shannon Key »

weatherguy08,

Did you apply the patch I mentioned above? Please let me know.

I wonder if your lat/lon problem might be a unit issue - that is, one of degrees vs. minutes?

I will talk with Tim about this and let you know what we come up with later this evening. Meanwhile, any more details you can provide will be helpful.

Shannon
Shannon Key
Member
Posts: 72
Joined: Fri Nov 28, 2003 9:32 pm
Location: Norman, OK
Contact:

Post by Shannon Key »

weatherguy08:

Tim suspects a format problem with your .pls file, and has just made the following documentation to help you ensure the format is correct.

******************
*** The following text is obsolete once you download Digital Atmosphere Equinox v1.40d, released 25 Nov. 2008 ***

DIGITAL ATMOSPHERE
Point Plotting Format
Prepared: 24 November 2008

Effective with Equinox V1.40, we are now using a highly flexible
format for plotting user-defined points rather than the rigid
version used in earlier versions of Digital Atmosphere.

The file must be stored with the extension "pls", for example
mypoints.pls and must be in a standard plain text file (so use
Notepad when possible).

Each row must be ONLY in this format:

type lat long text *width @type

where:
type = Element type (POINT, LINE, or +)
POINT = A single point to be plotted
LINE = Start of a line
+ = Continuation of a line
lat = An expression of latitude
long = An expression of longitude
text = Optional text (no spaces) identifying the point
#rrggbb = Optional color in 6-digit hex code
rr = Hexadecimal red value (00 to FF)
gg = Hexadecimal green value (00 to FF)
bb = Hexadecimal blue value (00 to FF)
*width = Optional pen line width (1, 2, or 3, e.g. *2)
@type = Optional point marker type (e.g. @24)
11 = Circle, unfilled, 1 pixel in diameter
12 = Circle, unfilled, 2 pixels in diameter
13 = Circle, unfilled, 3 pixels in diameter
14 = Circle, unfilled, 4 pixels in diameter
21 = Circle, filled, 1 pixel in diameter
22 = Circle, filled, 2 pixels in diameter
23 = Circle, filled, 3 pixels in diameter
24 = Circle, filled, 4 pixels in diameter
31 = Square, unfilled, 1 pixel in diameter
32 = Square, unfilled, 2 pixels in diameter
33 = Square, unfilled, 3 pixels in diameter
34 = Square, unfilled, 4 pixels in diameter
41 = Square, filled, 1 pixel in diameter (may not work, testing)
42 = Square, filled, 2 pixels in diameter (may not work, testing)
43 = Square, filled, 3 pixels in diameter (may not work, testing)
44 = Square, filled, 4 pixels in diameter (may not work, testing)

Each word is separated by spaces and/or tabs. The "type lat
long" is the only mandatory part of each row, and text, if used,
must follow the "type lat long" data, as shown, and not the
optional drawing commands.

Latitude and longitude formats are interpreted to give users
maximum flexibility, and may be expressed as follows (where s
is a mathematical sign or h is hemisphere N, S, E, or W):

LATITUDE
sD.DDDD Decimal degrees to any number of places (i.e. -37.5939)
hDDMM Degrees and arcminutes (i.e. N3603)
DDMMh Degrees and arcminutes (i.e. 3603N)
hDDMMSS Degrees, arcminutes, arcseconds (i.e. N360338)
DDMMSSh Degrees, arcminutes, arcseconds (i.e. 360338N)

DD, MM, and SS, when used for expressing degrees, arcminutes,
and arcseconds, MUST be in two digits with a leading zero if
needed, unless expressing degrees of longitude in which case
three digits is permitted (i.e. N4411 W09733).

Right now there is no provision for comment rows but this will
likely be added.

This is a little more complicated but it will give users maximum
flexibility for plotting out all kinds of ad hoc geographic work and
without having to create an ugly shapefile.


*** End of obsolete text ***

******************

If you still have a problem, please zip up your .pls file and email it to me at shannon.key@weathergraphics.com and I will look at it for you.

Tim is making a utility to convert old custom points files into this new format. Tim or I will make an announcement in this forum when it is ready. Meanwhile, hopefully the above documentation will help.

Shannon
Shannon Key
Member
Posts: 72
Joined: Fri Nov 28, 2003 9:32 pm
Location: Norman, OK
Contact:

Post by Shannon Key »

All,

Tim has released a patch to handle custom points better. You can get the patch from our main downloads page. Here is the documentation, which replaces the now obsolete documentation in my previous post:

Digital Atmosphere Equinox v1.40d has been released overnight.
This adds some code to handle the Map > Add Overlay >
Points algorithms.

A version called v1.40c was online for a few hours; if you
happened to obtain it, please replace it with v1.40d.

Please ignore the Plotting Format message sent Monday night;
there have been drastic and very significant revisions (see below).
Also note that Digital Atmosphere v1.40d will plot the older
PLS format; see below for more information.


----------------------------------------------
DIGITAL ATMOSPHERE
Point Plotting Format
Prepared: 25 November 2008 (significantly amended)

Effective with Equinox V1.40d, we are now using a highly flexible
format for plotting user-defined points rather than the rigid
version used in earlier versions of Digital Atmosphere.

The file must be stored with the extension "plt", for example
mypoints.plt and must be in a standard plain text file (so use
Notepad when possible). Digital Atmosphere will import the
older "pls" format, and if your File > Preferences > Maps >
Copy Viewed Point Files From PLS to PLT Format option
is checked, Digital Atmosphere will make a converted "PLT"
version of the selected file in the new format which can
be edited and used.

In a PLT file, each row is made up of several words, separated
by spaces or tabs, which must be in this format:

Full version:
type lat long text #rrggbb *width @shape :optionalcomments

Simplest version:
type lat long

where:
type = Element type (+ or .)
+ = A single point to be plotted
. = A line drawn from coordinate of preceding row to current row
lat = An expression of latitude (see below)
long = An expression of longitude (see below)
text = Optional text identifying the point. Prefix with
a period to prevent the label from plotting.
#rrggbb = Optional color in 6-digit hex code (e.g. #FFFFFF is white)
rr = Hexadecimal red value (00 to FF)
gg = Hexadecimal green value (00 to FF)
bb = Hexadecimal blue value (00 to FF)
*width = Optional pen line width (1, 2, or 3, e.g. *2)
@shape = Optional point marker type (e.g. @24)
11 = Circle, unfilled, 1 pixel in diameter
12 = Circle, unfilled, 2 pixels in diameter
13 = Circle, unfilled, 3 pixels in diameter
14 = Circle, unfilled, 4 pixels in diameter
21 = Circle, filled, 1 pixel in diameter
22 = Circle, filled, 2 pixels in diameter
23 = Circle, filled, 3 pixels in diameter
24 = Circle, filled, 4 pixels in diameter
31 = Square, unfilled, 1 pixel in diameter
32 = Square, unfilled, 2 pixels in diameter
33 = Square, unfilled, 3 pixels in diameter
34 = Square, unfilled, 4 pixels in diameter
41 = Square, filled, 1 pixel in diameter
42 = Square, filled, 2 pixels in diameter
43 = Square, filled, 3 pixels in diameter
44 = Square, filled, 4 pixels in diameter

Latitude and longitude formats are interpreted to give users
maximum flexibility, and may be expressed as follows (where s
is a mathematical sign or h is hemisphere N, S, E, or W):

sD.DDDD Decimal degrees to any number of places (i.e. -37.5939)
hDDMM Degrees and arcminutes (i.e. N3603)
DDMMh Degrees and arcminutes (i.e. 3603N)
hDDMMSS Degrees, arcminutes, arcseconds (i.e. N360338)
DDMMSSh Degrees, arcminutes, arcseconds (i.e. 360338N)

DD, MM, and SS, when used for expressing degrees, arcminutes,
and arcseconds, MUST be in two digits with a leading zero if
needed, unless expressing degrees of longitude in which case
three digits is permitted (i.e. N4411 W09733).

To encode 44 deg 1 minute north:
WRONG: 441
RIGHT: N4401

All text on a row starting at a colon (:) will be treated as a
comment, so start a row with a colon to make an entire row
a comment, or add it to the end of a row to add comments to
a row containing data.

This scheme is a little more complicated but it will give users maximum
flexibility for plotting out all kinds of ad hoc geographic work and
without having to create an ugly shapefile.

EXAMPLE OF A PLT FILE:
+ 321531N 932456W .Boundary
. 313232N 912421W
. 311123N 914210W .End
+ 242342N 805311W Airfield1 #FFAAFF *2 @14
+ 292356N 985344W Joe : This is joe's house
Post Reply