Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - What's wrong with these JPR files?
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

What's wrong with these JPR files?

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Memory-Map
View previous topic :: View next topic  
Author Message
HDDC
Occasional Visitor


Joined: Jul 21, 2014
Posts: 7

PostPosted: Wed Jul 30, 2014 11:17 pm    Post subject: What's wrong with these JPR files? Reply with quote

Quote:
1.000000000000000
0.000000000000000
0.000000000000000
-1.000000000000000
445000.500000000000000
1209999.500000000000000
nm=hp40ne
it=png
sc=50000
pr=Transverse Mercator
pp=-2.000000000
p1=49.000000000
p2=0.9996012717
p3=-100000.00
p4=400000.00
zn=t
dm=Ord Surv of Gr Britain 1936 (Mean)


Quote:
1.000000000000000
0.000000000000000
0.000000000000000
-1.000000000000000
445000.500000000000000
1204999.500000000000000
nm=hp40se
it=png
sc=50000
pr=Transverse Mercator
pp=-2.000000000
p1=49.000000000
p2=0.9996012717
p3=-100000.00
p4=400000.00
zn=t
dm=Ord Surv of Gr Britain 1936 (Mean)


These two JPR files are for tiles from OS Open Data. When imported, neither is calibrated, despite TFW information being included in the first 6 lines of each file as per the JPR spec. Each requires manual calibration but I'm planning on importing a lot of these. Can anyone explain what's going on? I'm using Memory Map Navigator (Euro) 2004.

Thanks
Back to top
View user's profile Send private message
M8TJT
The Other Tired Old Man
The Other Tired Old Man


Joined: Apr 04, 2006
Posts: 10118
Location: Bexhill, South Sussex, UK

PostPosted: Wed Jul 30, 2014 11:34 pm    Post subject: Reply with quote

Why start a new topic rather than continue with your previous one? They are both about pretty much the same thing.
Back to top
View user's profile Send private message
HDDC
Occasional Visitor


Joined: Jul 21, 2014
Posts: 7

PostPosted: Thu Jul 31, 2014 7:49 am    Post subject: Reply with quote

I've changed this the files as follows, but still no luck:

Quote:
zn=30V


M8TJT, This forum puts a "new topic" button right next to the "reply" button :P
Back to top
View user's profile Send private message
M8TJT
The Other Tired Old Man
The Other Tired Old Man


Joined: Apr 04, 2006
Posts: 10118
Location: Bexhill, South Sussex, UK

PostPosted: Thu Jul 31, 2014 7:59 am    Post subject: Reply with quote

Very Happy But at least you found it rather that the 'Quote' button which a lot of people use, quoting a chain of posts from time immemorial Laughing
Back to top
View user's profile Send private message
HDDC
Occasional Visitor


Joined: Jul 21, 2014
Posts: 7

PostPosted: Thu Jul 31, 2014 8:11 am    Post subject: Reply with quote

I just found this sample file which works perfectly:

Quote:
nm=margate.
pr=equirectangular
it=png
sr=254
st=0.000000
sn=0.000000
dm=WGS84
rp1=51.399206,1.362305,0,0
rp2=51.399206,1.461182,2304,0
rp3=51.344339,1.461182,2304,2048
rp4=51.344339,1.362305,0,2048
vp1=0,0
vp2=2304,0
vp3=2304,2048
vp4=0,2048
vg1=51.399206,1.362305
vg2=51.399206,1.461182
vg3=51.344339,1.461182
vg4=51.344339,1.362305


It's somewhat different to mine, and different to the documentation I found, but it works Smile The file which goes with it is a TIFF at 2304 x 2048
Back to top
View user's profile Send private message
M8TJT
The Other Tired Old Man
The Other Tired Old Man


Joined: Apr 04, 2006
Posts: 10118
Location: Bexhill, South Sussex, UK

PostPosted: Thu Jul 31, 2014 8:16 am    Post subject: Reply with quote

Different projection, but that doesn't explain the first 6 lines without the '=' in your first post.
Back to top
View user's profile Send private message
HDDC
Occasional Visitor


Joined: Jul 21, 2014
Posts: 7

PostPosted: Thu Jul 31, 2014 11:50 am    Post subject: Reply with quote

This seems to work,. It it omits the TFW section entirely and requires a conversion to LAT/LONG. It imports fully scaled and calibrated, although I don't yet know if it's done correctly:

Quote:
nm=hp40se
it=png
pr=Transverse Mercator
dm=Ord Surv of Gr Britain 1936 (Mean)
un=meters
sc=50000
pp=-2.000000000
p1=49.000000000
p2=0.9996012717
p3=-100000.00
p4=400000.00
rp1=60.725606 -1.176947,0,0
rp2=60.725606 -1.084026,5000,0
rp3=60.769939 -1.084026,5000,5000
rp4=60.769939 -1.176947,0,5000
vp1=0,0
vp2=5000,0
vp3=5000,5000
vp4=0,5000
vg1=60.725606 -1.176947
vg2=60.725606 -1.084026
vg3=60.769939 -1.084026
vg4=60.769939 -1.176947
Back to top
View user's profile Send private message
dales
Frequent Visitor


Joined: May 04, 2008
Posts: 752
Location: Knaresborough, North Yorkshire.

PostPosted: Fri Aug 01, 2014 1:41 am    Post subject: Reply with quote

What data are you accessing (from OS open data)?

The Streetview files I downloaded were in tif format, so no problem for MM.

Dales.
_________________
nuvi 2599LMT-D, oregon 700, basecamp, memory-map.
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Memory-Map All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.034 (27 Mar 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping