Jump to content

 
Photo

SHP to AI to SWF

- - - - -

  • Please log in to reply
4 replies to this topic

#1
benbakelaar

benbakelaar

    Ultimate Contributor

  • Associate Admin
  • PipPipPipPipPipPip
  • 658 posts
  • Gender:Male
  • Location:North Brunswick, NJ
  • Interests:maps, information, technology, scripting, computers
  • United States

I am working with the WorldKit open-source Flash/GIS kit.

Attached File  4carto3c.jpg   93.33KB   392 downloads

It requires a basemap image as a JPEG, which I've exported from ArcView at 89dpi to get an image of 700x509 pixels. (Texas, filled gray, no border)

I am then trying to load county/state boundaries as an SWF file in order to preserve that layer as a vector. In order to get the layer to SWF, I have to export from ArcGIS to AI. When I load it in AI, it is actually a different size "on screen", regardless of what resolution I choose to export at. Note that I am viewing in AI at 100%.

Attached File  4carto3.jpg   118.06KB   395 downloads

So, as you can see, it does not overlay exactly over the JPEG image. It doesn't seem to be a "display" problem with WorldKit, since I've set the extent and pixel size of the SWF layer to exactly the same as the JPEG basemap layer.

Attached File  4carto3b.jpg   112.65KB   384 downloads

Has anyone encountered this problem before? Do I need to give more explanation?

#2
benbakelaar

benbakelaar

    Ultimate Contributor

  • Associate Admin
  • PipPipPipPipPipPip
  • 658 posts
  • Gender:Male
  • Location:North Brunswick, NJ
  • Interests:maps, information, technology, scripting, computers
  • United States

I've determined that the _exact_ different in scale is 100% in ArcView, 66.6666% in Illustrator. So if I scale up the layers in AI by 133%, I get an exact overlay/match. Can anyone explain?

#3
peanut

peanut

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 138 posts
  • Location:Austin, TX
  • United States

Looking at your screenshots it looks like you are exporting your maps from data view. I would export from layout view and set the document size to the exact size you want the map. I think this might fix your problem.

Rich

#4
benbakelaar

benbakelaar

    Ultimate Contributor

  • Associate Admin
  • PipPipPipPipPipPip
  • 658 posts
  • Gender:Male
  • Location:North Brunswick, NJ
  • Interests:maps, information, technology, scripting, computers
  • United States

Looking at your screenshots it looks like you are exporting your maps from data view. I would export from layout view and set the document size to the exact size you want the map. I think this might fix your problem.

Rich


A very very astute eye! Thanks, that was it. Gets me every time.

#5
peanut

peanut

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 138 posts
  • Location:Austin, TX
  • United States

A very very astute eye! Thanks, that was it. Gets me every time.


It helps to get lucky sometimes!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->