I'm using MapBuilder to display a shapefile I loaded into GeoServer1.4.0-RC5. I used the WAR in Tomcat for both MapBuilder and GeoServer. All the directions for GeoServer were straightforward and very easy to follow. I've struggled a lot figuring out MapBuilder though, so I took the files that were created in GeoServer for the Preview demo - topp_<shapefile>.html, topp_<shapefile>.xml, and topp_<shapefile>config.xml - and moved them into a directory under MapBuilder. I changed pathnames, copied necessary gifs, etc., and it all comes up fine except it doesn't draw a box around the main map image like it does under GeoServer, and I get a series of errors under Tomcat:
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Romanjava.io.FileNotFoundException: Times New Roman (The system cannot find the files specified)
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - null input stream
37283 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Roman
Any ideas what it might be? Obviously something to do with the SLD I made, which uses Times New Roman, but what? Do I need to locate it differently? I left it in GeoServer.
Regards,
Amy
Hi Amy,
Don't worry about the font error, it is just saying that it can't find it, but it still defaults to a regular font. To correct that error you just need to tell Java about the Times New Roman font.
As for the main surrounding box not appearing, my only guess is that not all the relative links have been changed in the mapbuilder file. Also note that the map preview demos are using old mapbuilder styles and there are *much* nicer ones available, such as in the WFS-T demo.
Brent Owens
(The Open Planning Project)
Amy Johnson wrote:
I'm using MapBuilder to display a shapefile I loaded into GeoServer1.4.0-RC5. I used the WAR in Tomcat for both MapBuilder and GeoServer. All the directions for GeoServer were straightforward and very easy to follow. I've struggled a lot figuring out MapBuilder though, so I took the files that were created in GeoServer for the Preview demo - topp_<shapefile>.html, topp_<shapefile>.xml, and topp_<shapefile>config.xml - and moved them into a directory under MapBuilder. I changed pathnames, copied necessary gifs, etc., and it all comes up fine except it doesn't draw a box around the main map image like it does under GeoServer, and I get a series of errors under Tomcat:
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Romanjava.io.FileNotFoundException: Times New Roman (The system cannot find the files specified)
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - null input stream
37283 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Roman
Any ideas what it might be? Obviously something to do with the SLD I made, which uses Times New Roman, but what? Do I need to locate it differently? I left it in GeoServer.
Regards,
Amy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks Brent. It sounds like I should just move on to look at something else since I got it more or less working. I'll check out WFS-T next.
Best Regards,
Amy
Brent Owens wrote:
Hi Amy,
Don't worry about the font error, it is just saying that it can't find it, but it still defaults to a regular font. To correct that error you just need to tell Java about the Times New Roman font.
As for the main surrounding box not appearing, my only guess is that not all the relative links have been changed in the mapbuilder file. Also note that the map preview demos are using old mapbuilder styles and there are *much* nicer ones available, such as in the WFS-T demo.
Brent Owens
(The Open Planning Project)
Amy Johnson wrote:
I'm using MapBuilder to display a shapefile I loaded into GeoServer1.4.0-RC5. I used the WAR in Tomcat for both MapBuilder and GeoServer. All the directions for GeoServer were straightforward and very easy to follow. I've struggled a lot figuring out MapBuilder though, so I took the files that were created in GeoServer for the Preview demo - topp_<shapefile>.html, topp_<shapefile>.xml, and topp_<shapefile>config.xml - and moved them into a directory under MapBuilder. I changed pathnames, copied necessary gifs, etc., and it all comes up fine except it doesn't draw a box around the main map image like it does under GeoServer, and I get a series of errors under Tomcat:
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Romanjava.io.FileNotFoundException: Times New Roman (The system cannot find the files specified)
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - null input stream
37283 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Roman
Any ideas what it might be? Obviously something to do with the SLD I made, which uses Times New Roman, but what? Do I need to locate it differently? I left it in GeoServer.
Regards,
Amy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks Brent. It sounds like I should just move on to look at something else since I got it more or less working. I'll check out WFS-T next.
Best Regards,
Amy
Brent Owens wrote:
Hi Amy,
Don't worry about the font error, it is just saying that it can't find it, but it still defaults to a regular font. To correct that error you just need to tell Java about the Times New Roman font.
As for the main surrounding box not appearing, my only guess is that not all the relative links have been changed in the mapbuilder file. Also note that the map preview demos are using old mapbuilder styles and there are *much* nicer ones available, such as in the WFS-T demo.
Brent Owens
(The Open Planning Project)
Amy Johnson wrote:
I'm using MapBuilder to display a shapefile I loaded into GeoServer1.4.0-RC5. I used the WAR in Tomcat for both MapBuilder and GeoServer. All the directions for GeoServer were straightforward and very easy to follow. I've struggled a lot figuring out MapBuilder though, so I took the files that were created in GeoServer for the Preview demo - topp_<shapefile>.html, topp_<shapefile>.xml, and topp_<shapefile>config.xml - and moved them into a directory under MapBuilder. I changed pathnames, copied necessary gifs, etc., and it all comes up fine except it doesn't draw a box around the main map image like it does under GeoServer, and I get a series of errors under Tomcat:
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Romanjava.io.FileNotFoundException: Times New Roman (The system cannot find the files specified)
37263 [INFO] org.geotools.renderer.style.SLDStyleFactory - null input stream
37283 [INFO] org.geotools.renderer.style.SLDStyleFactory - Bad file name in SLDStyleFactoryTimes New Roman
Any ideas what it might be? Obviously something to do with the SLD I made, which uses Times New Roman, but what? Do I need to locate it differently? I left it in GeoServer.
Regards,
Amy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users